mirror of
https://github.com/azaion/ai-training.git
synced 2026-04-22 22:46:35 +00:00
Binary file not shown.
Binary file not shown.
@@ -5,19 +5,23 @@ import train
|
|||||||
import preprocessing
|
import preprocessing
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
start_file = False
|
p = False
|
||||||
while True:
|
while True:
|
||||||
for foldername, subfolders, filenames in os.walk(os.path.join('datasets', 'zombobase-current')):
|
for foldername, subfolders, filenames in os.walk(os.path.join('datasets', 'zombobase-current')):
|
||||||
start_file = True
|
p = True
|
||||||
for filename in filenames:
|
for filename in filenames:
|
||||||
if start_file == True:
|
if p == True:
|
||||||
time.sleep(5)
|
time.sleep(3)
|
||||||
|
print('8' * 8)
|
||||||
preprocessing.main(os.path.join('datasets', 'zombobase-current'),'labels', 'images')
|
preprocessing.main(os.path.join('datasets', 'zombobase-current'),'labels', 'images')
|
||||||
|
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
train.main()
|
train.main()
|
||||||
|
|
||||||
time.sleep(3)
|
time.sleep(3)
|
||||||
|
|
||||||
shutil.rmtree(os.path.join('datasets', 'zombobase-current', 'images'))
|
shutil.rmtree(os.path.join('datasets', 'zombobase-current', 'images'))
|
||||||
shutil.rmtree(os.path.join('datasets', 'zombobase-current', 'labels'))
|
shutil.rmtree(os.path.join('datasets', 'zombobase-current', 'labels'))
|
||||||
|
|
||||||
start_file = False
|
p = False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user