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 : 330268 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 : 6512>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/330268/ 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.2561168670654297 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 Aug 1 05:52: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/1754020349_330268_1374712311_28edb2f276ab3c7650fc582d4adfc331.jpg resize: (1080, 1632) 1374712311 -3.4933576984729027 treat image : temp/1754020349_330268_1374712310_842959ad5a5541fcd4062070afd789c4.jpg resize: (1080, 1632) 1374712310 -5.470730119867347 treat image : temp/1754020349_330268_1374712308_662971c46497f3488a80d42046791a72.jpg resize: (1080, 1632) 1374712308 -5.568304742070795 treat image : temp/1754020349_330268_1374712306_a7df9325bb44df26b6386c01be1b4166.jpg resize: (1080, 1632) 1374712306 -5.621957301432631 treat image : temp/1754020349_330268_1374712304_41aba017d5d2ca2d967c0b6b46ae0306.jpg resize: (1080, 1632) 1374712304 -2.7897836249990866 treat image : temp/1754020349_330268_1374712302_77f268f96498a3151728a368dfacf2d9.jpg resize: (1080, 1632) 1374712302 -3.691830654538489 treat image : temp/1754020349_330268_1374712209_e4d62702d7f01b975bafb0f263dbee40.jpg resize: (1080, 1632) 1374712209 -4.813819811981442 treat image : temp/1754020349_330268_1374712208_484e9261cc70dd25023b80f305250367.jpg resize: (1080, 1632) 1374712208 -5.540695068073162 treat image : temp/1754020349_330268_1374712205_c7ae0c97a1a4c3cbf3c23fed57ec2824.jpg resize: (1080, 1632) 1374712205 -3.435012463619346 treat image : temp/1754020349_330268_1374712203_e970ea16949c11d06df99e075b016c5d.jpg resize: (1080, 1632) 1374712203 -4.571541148852386 treat image : temp/1754020349_330268_1374712197_0dcb7653dc7c582052f1d5e76f37be43.jpg resize: (1080, 1632) 1374712197 -1.3301942046341588 treat image : temp/1754020349_330268_1374712196_5f8072d3c711921c0c64e0077b7e5e0a.jpg resize: (1080, 1632) 1374712196 -4.3527058700087835 treat image : temp/1754020349_330268_1374712194_67e4b16e9fb668711695e927d4c4c2d9.jpg resize: (1080, 1632) 1374712194 -4.648014341993344 treat image : temp/1754020349_330268_1374712192_7c47b5993887fc6b373b2faa5119c796.jpg resize: (1080, 1632) 1374712192 -5.531309986650472 treat image : temp/1754020349_330268_1374712190_c1b9cbd42e5b2b3c3c7afa025681e2c3.jpg resize: (1080, 1632) 1374712190 -5.322908050987115 treat image : temp/1754020349_330268_1374712189_3f0fd17477aa8ceeb652416e1feb4586.jpg resize: (1080, 1632) 1374712189 -5.525585620427912 treat image : temp/1754020349_330268_1374712185_568734d841b8540c0d3e6f4b648a8b42.jpg resize: (1080, 1632) 1374712185 -4.811045404062539 treat image : temp/1754020349_330268_1374712183_9102d6d71891754082ca3e859ed050dc.jpg resize: (1080, 1632) 1374712183 -5.704516889136236 treat image : temp/1754020349_330268_1374712181_0439147d2a8eec2b75a918232ffb5c91.jpg resize: (1080, 1632) 1374712181 -2.1277381009010616 treat image : temp/1754020349_330268_1374712180_adf91402f57b0a0daa34eaebc3a3b37b.jpg resize: (1080, 1632) 1374712180 -1.3969630081327098 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.015773296356201172 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.23495793342590332 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.2427356243133545 save missing photos in datou_result : time spend for datou_step_exec : 15.328022241592407 time spend to save output : 0.49816346168518066 total time spend for step 1 : 15.826185703277588 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.43user 3.53system 0:22.03elapsed 81%CPU (0avgtext+0avgdata 139292maxresident)k 0inputs+9432outputs (3major+251451minor)pagefaults 0swaps