Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
inovisao
pynovisao
Commits
d424033a
Commit
d424033a
authored
Nov 22, 2018
by
Hemerson Pistori
Browse files
Retirei o comando que removia o conteúdo da pasta de destino...muito perigoso
parent
552f5c3a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
src/util/split_data.sh
src/util/split_data.sh
+5
-3
No files found.
src/util/split_data.sh
View file @
d424033a
...
...
@@ -85,9 +85,11 @@ echo "Resulting training dataset path = ${dir_train}"
echo
"Resulting validation dataset path =
${
dir_validation
}
"
echo
"Resulting test dataset path =
${
dir_test
}
"
echo
""
echo
"Removing all data inside "
${
split_dataset_path
}
rm
-rf
$split_dataset_path
/
*
#Retirei este comando pois é MUITO perigoso...pode apagar todos os
#arquivos do usuário se ele errar a pasta
#echo ""
#echo "Removing all data inside "${split_dataset_path}
#rm -rf $split_dataset_path/*
mkdir
$dir_train
mkdir
$dir_validation
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment