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 : 2711256 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 : 6713>100 please execute split_portfolio.py -i 25155834 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3316381'] with mtr_portfolio_ids : ['25155834'] and first list_photo_ids : [] new path : /proc/2711256/ 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.436619281768799 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 Sat Aug 2 04:27:31 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/1754101648_2711256_1374862511_a66169ce38df01e43890fd3d81ccdb40.jpg resize: (1080, 1632) 1374862511 -5.373468227897608 treat image : temp/1754101648_2711256_1374862510_c6a3d1bcee38cbbd2d8a63be7f451664.jpg resize: (1080, 1632) 1374862510 -6.0290583307617815 treat image : temp/1754101648_2711256_1374862507_3051c84fb3634bdc0a941ddfd09d0f92.jpg resize: (1080, 1632) 1374862507 -5.995039471727134 treat image : temp/1754101648_2711256_1374862504_7c0b8e8bb27da696e934f626e26e64c3.jpg resize: (1080, 1632) 1374862504 -2.2525312080551707 treat image : temp/1754101648_2711256_1374862500_d0ba0413be665278840a9227b9cf40eb.jpg resize: (1080, 1632) 1374862500 -4.6879527995700885 treat image : temp/1754101648_2711256_1374862497_727c40d2d5d9d45bbd7707adde8b7519.jpg resize: (1080, 1632) 1374862497 -3.144903267376726 treat image : temp/1754101648_2711256_1374862475_5531224c6e00dcfc2e6002598847089c.jpg resize: (1080, 1632) 1374862475 -4.4823606491068695 treat image : temp/1754101648_2711256_1374862472_084d3cd05e4aa480c09a623cc172dda7.jpg resize: (1080, 1632) 1374862472 -2.2748243703173636 treat image : temp/1754101648_2711256_1374862468_77ab2073d21d6a2f36b094c32e36d8ff.jpg resize: (1080, 1632) 1374862468 -3.625017785227556 treat image : temp/1754101648_2711256_1374862464_a6bd3ae26409ee86060da268ab6b8cf0.jpg resize: (1080, 1632) 1374862464 -4.908147849969027 treat image : temp/1754101648_2711256_1374862462_1ab32819ca529851f04ea151d9ef8fe9.jpg resize: (1080, 1632) 1374862462 -2.716874646387306 treat image : temp/1754101648_2711256_1374862459_4d9729b57d3feb7a7c60d5a45d8cfc57.jpg resize: (1080, 1632) 1374862459 -4.985466674461369 treat image : temp/1754101648_2711256_1374862255_4d901de64731282834d60dc817e035d2.jpg resize: (1080, 1632) 1374862255 -4.55431734264883 treat image : temp/1754101648_2711256_1374862251_b8e412c553ec5ebff7513f124422d324.jpg resize: (1080, 1632) 1374862251 -4.807950984970136 treat image : temp/1754101648_2711256_1374862235_9a8f58790a2dc7a4ce3602f62d3cc0c6.jpg resize: (1080, 1632) 1374862235 -5.809530034100836 treat image : temp/1754101648_2711256_1374862209_553a05b9945e1fa322cc8520f9bc8a77.jpg resize: (1080, 1632) 1374862209 -4.463001053034434 treat image : temp/1754101648_2711256_1374862181_22324413e384163f780b3ae8293c7b89.jpg resize: (1080, 1632) 1374862181 -5.777368515489279 treat image : temp/1754101648_2711256_1374862152_3227f70f097497441af4924f89078531.jpg resize: (1080, 1632) 1374862152 -4.2711296436571455 treat image : temp/1754101648_2711256_1374860948_47394c903b43ada65ba3796b5b8ab9df.jpg resize: (1080, 1632) 1374860948 -5.514758132251114 treat image : temp/1754101648_2711256_1374860944_9afd2dd5c7ac52ff586ff7b04e7dfb20.jpg resize: (1080, 1632) 1374860944 -4.857962244325112 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.01663970947265625 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.018079757690429688 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021896839141845703 save missing photos in datou_result : time spend for datou_step_exec : 15.860105991363525 time spend to save output : 0.06129145622253418 total time spend for step 1 : 15.92139744758606 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.47user 4.31system 0:21.34elapsed 88%CPU (0avgtext+0avgdata 137480maxresident)k 8inputs+9560outputs (12major+248497minor)pagefaults 0swaps