python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 8 -a ' -a 4871 -l 100 ' -s datou_current_4871 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] process id : 1565634 load datou : 4871 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! Unexpected type for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : chemin de la photo was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? load thcls load pdts Running datou job : batch_current TODO datou_current to load to do maybe to take outside batchDatouExec no input labels no input values updating current state to 1 we have a portfolio with more photos than limit : 516>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1565634/ Inside batchDatouExec : verbose : 0 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) DONE and to test : checkNoCycle ! We are managing only one step so we do not consider checkConsistencyNbInputNbOutput ! We are managing only one step so we do not consider checkConsistencyTypeOutputInput ! List Step Type Loaded in datou : blur_detection over limit max, limiting to limit_max 20 list_input_json : {} origin We have 1 , WARNING: data may be incomplete, need to offset and complete ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 20 ; length of list_pids : 20 ; length of list_args : 20 time to download the photos : 2.1719095706939697 About to test input to load we should then remove the video here, and this would fix the bug of datou_current ! Calling datou_exec Inside datou_exec : verbose : 0 number of steps : 1 step1:blur_detection Thu May 22 07:02:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec inside step blur_detection methode: ratio et variance treat image : temp/1747890148_1565634_1360419880_647285277cb0a3030532ec6bf933cc3a.jpg resize: (1080, 1632) 1360419880 -3.6246345775423734 treat image : temp/1747890148_1565634_1360419849_47d531e8c2786c9787e426d6728f7461.jpg resize: (1080, 1632) 1360419849 -5.622991362205434 treat image : temp/1747890148_1565634_1360419836_f95309c0989463977c21b3251f59109f.jpg resize: (1080, 1632) 1360419836 -5.20715327157704 treat image : temp/1747890148_1565634_1360419835_e58f80b0d5d763021ad67b06b7b9a32f.jpg resize: (1080, 1632) 1360419835 -2.787555439377871 treat image : temp/1747890148_1565634_1360419591_7189934f9797fcd3e91b6dfaa42949bb.jpg resize: (1080, 1632) 1360419591 -2.123491578244913 treat image : temp/1747890148_1565634_1360419553_e5ffdf73a906911cd4e3d0a48776badb.jpg resize: (1080, 1632) 1360419553 -5.25310165576172 treat image : temp/1747890148_1565634_1360419505_3b6ce320a0366b4666d84f58e0b9055d.jpg resize: (1080, 1632) 1360419505 -5.119892190103133 treat image : temp/1747890148_1565634_1360419472_0ee82a482b96ee0d5f0fe9b848795440.jpg resize: (1080, 1632) 1360419472 -3.1403855867387325 treat image : temp/1747890148_1565634_1360419445_1d9274f250ac1aecacf98342dd32a4fd.jpg resize: (1080, 1632) 1360419445 -5.766015103993947 treat image : temp/1747890148_1565634_1360419116_9e73fc3d4b879901d04783cd5da58d51.jpg resize: (1080, 1632) 1360419116 -5.745667730418194 treat image : temp/1747890148_1565634_1360419064_26a13642b4b466156e46f7aa0e5ac428.jpg resize: (1080, 1632) 1360419064 -3.4706164613789805 treat image : temp/1747890148_1565634_1360419006_69c3f39cae1845deb160eb91ef7e46bf.jpg resize: (1080, 1632) 1360419006 -5.731085896851786 treat image : temp/1747890148_1565634_1360418930_4536471eed6f9d8b73e1af57bf14ad74.jpg resize: (1080, 1632) 1360418930 -5.676513054012241 treat image : temp/1747890148_1565634_1360418547_46d1a16b62fb53e129b471d97b5fbb70.jpg resize: (1080, 1632) 1360418547 -5.439202982459032 treat image : temp/1747890148_1565634_1360418450_26ab8421edc07e997fc3aa2038112352.jpg resize: (1080, 1632) 1360418450 -0.8600866488828661 treat image : temp/1747890148_1565634_1360417327_dd5dab93d4a17f6f43ffe5ac97503d09.jpg resize: (1080, 1632) 1360417327 -5.896808964729003 treat image : temp/1747890148_1565634_1360417276_610484094370cb39dce3fa49aa0c613f.jpg resize: (1080, 1632) 1360417276 -4.26407963111215 treat image : temp/1747890148_1565634_1360417198_ecbb565d77628e7eb7fc9166595395c7.jpg resize: (1080, 1632) 1360417198 -6.182315375810083 treat image : temp/1747890148_1565634_1360417152_7b3734dfc727e82c7fcbc4a6447d6bf8.jpg resize: (1080, 1632) 1360417152 -5.6383990729731215 treat image : temp/1747890148_1565634_1360417092_337cf58513579e3ae861267a7ead1ac5.jpg resize: (1080, 1632) 1360417092 -5.748052498624669 Inside saveOutput : final : True verbose : 0 begin to insert list_values into class_photo_scores : length of list_valuse in save_photo_hashtag_id_thcl_score : 20 time used for this insertion : 0.01246500015258789 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 20 time used for this insertion : 0.07200908660888672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.09096479415893555 save missing photos in datou_result : time spend for datou_step_exec : 16.21221375465393 time spend to save output : 0.1803748607635498 total time spend for step 1 : 16.39258861541748 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 3.89system 0:21.70elapsed 84%CPU (0avgtext+0avgdata 139808maxresident)k 56inputs+10096outputs (27major+252784minor)pagefaults 0swaps