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 : 131481 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 : 6552>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/131481/ 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.352877378463745 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 Wed Jul 9 23: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/1752097948_131481_1371450263_358e90c8df9e007c734616c4f24adc1a.jpg resize: (1080, 1632) 1371450263 -5.359514041892215 treat image : temp/1752097948_131481_1371450259_a7ad0169b5263435dfa0894b717e3605.jpg resize: (1080, 1632) 1371450259 -4.4313192783533975 treat image : temp/1752097948_131481_1371450257_938e163fd68415a5f303074c4558d948.jpg resize: (1080, 1632) 1371450257 -5.475613042743251 treat image : temp/1752097948_131481_1371450253_5b04442e74c57b254d0795bd81366fd3.jpg resize: (1080, 1632) 1371450253 -5.907187134299351 treat image : temp/1752097948_131481_1371450246_d9656d903b0d50e04141035a9e1df8ea.jpg resize: (1080, 1632) 1371450246 -5.890215593970107 treat image : temp/1752097948_131481_1371450242_c0173d77f2e4edf30bd54e5e7497cf92.jpg resize: (1080, 1632) 1371450242 -5.863599569933247 treat image : temp/1752097948_131481_1371450230_fda7d1f31e680b4c65fcd76ec65081e0.jpg resize: (1080, 1632) 1371450230 -1.813534179452673 treat image : temp/1752097948_131481_1371450227_8cc8c8a8b1cfc0b78d71e657915a59cc.jpg resize: (1080, 1632) 1371450227 -2.936954962382475 treat image : temp/1752097948_131481_1371450224_1b2dfa6bbea88d65dd47d91fb6d0705d.jpg resize: (1080, 1632) 1371450224 -2.9346562321049183 treat image : temp/1752097948_131481_1371450222_87c2d0a9d94f037159425e3f23702d90.jpg resize: (1080, 1632) 1371450222 -4.693163467643307 treat image : temp/1752097948_131481_1371450217_17c3611da8d7ea035187d15b73395312.jpg resize: (1080, 1632) 1371450217 -4.690264334517973 treat image : temp/1752097948_131481_1371450210_aae16b6973f3a0c643791cb82e52300b.jpg resize: (1080, 1632) 1371450210 -4.653712031858913 treat image : temp/1752097948_131481_1371441924_dfd9f4f57937dafb9f8529017438820e.jpg resize: (1080, 1632) 1371441924 -3.114205383588339 treat image : temp/1752097948_131481_1371441923_83f9799e3ab9879e9675b28058bf3bd1.jpg resize: (1080, 1632) 1371441923 -2.944100734303529 treat image : temp/1752097948_131481_1371434761_3efaf93523e100403ab012d0ea510ac1.jpg resize: (1080, 1632) 1371434761 -5.123165386357248 treat image : temp/1752097948_131481_1371434759_5bada54257138d72fa1afcf5c2074f28.jpg resize: (1080, 1632) 1371434759 -5.037411236944992 treat image : temp/1752097948_131481_1371434757_0daf864e4821647fcbd8a0ff6bb81423.jpg resize: (1080, 1632) 1371434757 -3.608865700260318 treat image : temp/1752097948_131481_1371434756_3ca257f83da9843b8539b044bc6b9b1d.jpg resize: (1080, 1632) 1371434756 -5.599896578063045 treat image : temp/1752097948_131481_1371434754_baf8f0ccca162dbca2fc8d1c25fca525.jpg resize: (1080, 1632) 1371434754 -5.787909839003767 treat image : temp/1752097948_131481_1371434753_45f207b9e2050bdab1981982fadbe165.jpg resize: (1080, 1632) 1371434753 -5.779827146520731 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.01585984230041504 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.012948751449584961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015744924545288086 save missing photos in datou_result : time spend for datou_step_exec : 16.549478769302368 time spend to save output : 0.049117326736450195 total time spend for step 1 : 16.59859609603882 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.89user 5.02system 0:22.64elapsed 83%CPU (0avgtext+0avgdata 139684maxresident)k 72inputs+9320outputs (9major+202468minor)pagefaults 0swaps