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 : 649436 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 : 9659>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/649436/ 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.2628984451293945 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 Fri Jul 11 23:17:29 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/1752268647_649436_1371731469_8fb5adb675ee7a3aca48ead7edaa6263.jpg resize: (1080, 1632) 1371731469 -0.4993983104779827 treat image : temp/1752268647_649436_1371731421_5d86729933cd9be64994b728b8908162.jpg resize: (1080, 1632) 1371731421 -2.1438914740064625 treat image : temp/1752268647_649436_1371731361_6bb8ba06b3560beba712db8585e07567.jpg resize: (1080, 1632) 1371731361 -2.7341686266968486 treat image : temp/1752268647_649436_1371731311_a9937cc83d386263afee5dc732f9a0ff.jpg resize: (1080, 1632) 1371731311 -1.8796720037580115 treat image : temp/1752268647_649436_1371731257_f478159c89ac2805bd85c2ea8e1b411d.jpg resize: (1080, 1632) 1371731257 -0.7127106415843862 treat image : temp/1752268647_649436_1371731182_31ee9ce95a645569931f93f6be9653ef.jpg resize: (1080, 1632) 1371731182 -4.303888186057058 treat image : temp/1752268647_649436_1371730916_e75c71836a4f7894b706f1fcb505fdfa.jpg resize: (1080, 1632) 1371730916 -5.308227430066089 treat image : temp/1752268647_649436_1371730863_2069408598e69c7034d94a39ee959936.jpg resize: (1080, 1632) 1371730863 -5.31147101911304 treat image : temp/1752268647_649436_1371730811_f1511b897bac2a94f500940acb0a5194.jpg resize: (1080, 1632) 1371730811 -5.308509706707777 treat image : temp/1752268647_649436_1371730761_5d50bc6d08c0ce75f9e0abc2c999d3a1.jpg resize: (1080, 1632) 1371730761 -5.319074806551425 treat image : temp/1752268647_649436_1371730702_efb44df4d30b1b6e34f531a6aa78d490.jpg resize: (1080, 1632) 1371730702 -5.296734140868779 treat image : temp/1752268647_649436_1371730612_562217e0aec4887d05f5333761515019.jpg resize: (1080, 1632) 1371730612 -5.307711071167988 treat image : temp/1752268647_649436_1371730374_de08a868c2e71a1139c84ec29783a176.jpg resize: (1080, 1632) 1371730374 -4.593695059935528 treat image : temp/1752268647_649436_1371730335_b9bfef65c36d565930d11d51456cee9d.jpg resize: (1080, 1632) 1371730335 -4.592916535517839 treat image : temp/1752268647_649436_1371730310_0386a4aca24df3d26cc909129525c4c4.jpg resize: (1080, 1632) 1371730310 -4.824147951697299 treat image : temp/1752268647_649436_1371730273_a74f9f417c6ad169bc585a5aa59edb83.jpg resize: (1080, 1632) 1371730273 -5.13886220044799 treat image : temp/1752268647_649436_1371730219_a2037916fa431b6369ea0b4ef9632226.jpg resize: (1080, 1632) 1371730219 -5.110641304311727 treat image : temp/1752268647_649436_1371730110_50bc3d51c1d2bc2f84bef3c11968d792.jpg resize: (1080, 1632) 1371730110 -2.732847829950519 treat image : temp/1752268647_649436_1371727592_f9654919643a93a4ef06623a3680fdbd.jpg resize: (1080, 1632) 1371727592 -4.5950674430890475 treat image : temp/1752268647_649436_1371727547_81ce504f4e919be3780e45346686c8aa.jpg resize: (1080, 1632) 1371727547 -2.642786638920447 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.012651920318603516 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.011896848678588867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01987171173095703 save missing photos in datou_result : time spend for datou_step_exec : 16.541873455047607 time spend to save output : 0.04969620704650879 total time spend for step 1 : 16.591569662094116 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.39user 4.61system 0:20.95elapsed 90%CPU (0avgtext+0avgdata 137708maxresident)k 8inputs+8512outputs (5major+257419minor)pagefaults 0swaps