Spaces:
Running
on
Zero
Running
on
Zero
Commit
·
ea1e5ba
1
Parent(s):
f6521a5
Update app.py
Browse files
app.py
CHANGED
|
@@ -294,6 +294,7 @@ def start_training(
|
|
| 294 |
shutil.copy(image, class_folder)
|
| 295 |
commands.append(f"class_data_dir={class_folder}")
|
| 296 |
shutil.copytree(class_folder, f"{spacerunner_folder}/{class_folder}")
|
|
|
|
| 297 |
# Joining the commands with ';' separator for spacerunner format
|
| 298 |
spacerunner_args = ';'.join(commands)
|
| 299 |
if not os.path.exists(spacerunner_folder):
|
|
|
|
| 294 |
shutil.copy(image, class_folder)
|
| 295 |
commands.append(f"class_data_dir={class_folder}")
|
| 296 |
shutil.copytree(class_folder, f"{spacerunner_folder}/{class_folder}")
|
| 297 |
+
print(commands)
|
| 298 |
# Joining the commands with ';' separator for spacerunner format
|
| 299 |
spacerunner_args = ';'.join(commands)
|
| 300 |
if not os.path.exists(spacerunner_folder):
|