python /home/admin/mtr/script_for_cron.py -j default -m 20 -a 'python3 ~/workarea/git/Velours/python/mtr/yolov5/train_yolo.py --name test_373 --classes retroviseur --hashtag_type 840 --score_min 0.7 --limit 10 --max_pixel 15000000 --val_ratio 0.2 --random_seed 1567 --clear --training_args --img 640 --batch 1 --epochs 1 --weights yolov5n.pt' -s train_yolo_v5 -M 0 -S 0 -U 100,80,95 0.7 CLASSES : ['background', 'retroviseur'] import MySQLdb succeeded Import error (python version) error in the initialization of context [Errno 2] No such file or directory: 'for_data_augmentation.json' pht : 840 SELECT ph.photo_id, ph.url, FROM_UNIXTIME(ph.uploaded_at) FROM MTRBack.photos ph WHERE ph.photo_id in (SELECT photo_id from MTRPhoto.crop_hashtag_ids where `type` = 840 AND score >= 0.7 AND hashtag_id in (492844413)) ORDER BY ph.photo_id DESC LIMIT 0, 10 number of photos used to train the model : 10 number of crops used to train the model : 12 ..........DONE Conversion VOC vers YOLO: 0%| | 0/10 [00:00 main() File "/home/admin/workarea/git/Velours/python/mtr/yolov5/train_yolo.py", line 159, in main thcl_id, photo_desc_type, photo_hashtag_id=create_detect_thcl(args.name,",".join(args.classes),gq,verbose=True,type="yolov5",BACKGROUND=False) File "/home/admin/workarea/git/Velours/python/mtr/faster_rcnn_utils/create_detect_thcl.py", line 77, in create_detect_thcl thcl_id = gq.insert_id_retrieve(query) File "/home/admin/workarea/git/Velours/python/mtr/database_queries/general_queries.py", line 141, in insert_id_retrieve cursor.execute(query, args) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 179, in execute res = self._query(mogrified_query) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/cursors.py", line 330, in _query db.query(q) File "/home/admin/.local/lib/python3.8/site-packages/MySQLdb/connections.py", line 280, in query _mysql.connection.query(self, query) MySQLdb.IntegrityError: (1062, "Duplicate entry 'test_373' for key 'classification_theme.unique_name'") Command exited with non-zero status 1 20.28user 10.47system 0:28.01elapsed 109%CPU (0avgtext+0avgdata 3370216maxresident)k 64inputs+111352outputs (3062major+1159818minor)pagefaults 0swaps