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 : 3683249 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 : 5369>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/3683249/ 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.1672751903533936 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 16:17: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/1752243449_3683249_1371604421_1ea9e650903c7b5971f899fa28490804.jpg resize: (1080, 1632) 1371604421 -5.14718507032759 treat image : temp/1752243449_3683249_1371604418_6c1ae5fe441e751def471cb43645b1df.jpg resize: (1080, 1632) 1371604418 -5.156281004088616 treat image : temp/1752243449_3683249_1371604412_f0eda24d296b6925090407f56fc836b3.jpg resize: (1080, 1632) 1371604412 -5.154255957092703 treat image : temp/1752243449_3683249_1371604403_7f9f507e625226b83f517d99e69bc015.jpg resize: (1080, 1632) 1371604403 -5.145833525381289 treat image : temp/1752243449_3683249_1371604399_4ed24adee12dfe4fc2e913e8ccc5dbea.jpg resize: (1080, 1632) 1371604399 -5.155236715444234 treat image : temp/1752243449_3683249_1371604386_d97b67bb48bd3d47c945704291baaae2.jpg resize: (1080, 1632) 1371604386 -5.145235001443094 treat image : temp/1752243449_3683249_1371604374_38d3569f23b6f1ca3cb1c433327f0d46.jpg resize: (1080, 1632) 1371604374 -1.4420120852923501 treat image : temp/1752243449_3683249_1371604370_fd88560be33d04a97207d3f85c970642.jpg resize: (1080, 1632) 1371604370 -4.628554888234736 treat image : temp/1752243449_3683249_1371604362_bae64b81a85d97a064bd0c84b6fd5d22.jpg resize: (1080, 1632) 1371604362 -4.465042511397155 treat image : temp/1752243449_3683249_1371604358_7dfdbb72513a07e6cb2f6b7d0893b44c.jpg resize: (1080, 1632) 1371604358 -4.195602879509178 treat image : temp/1752243449_3683249_1371604355_685fe80024e87a27177eba8783a1d61f.jpg resize: (1080, 1632) 1371604355 -5.250666510559472 treat image : temp/1752243449_3683249_1371604352_d6ed84a8d5c00d4200c5ee011d4c1209.jpg resize: (1080, 1632) 1371604352 -5.275118324761687 treat image : temp/1752243449_3683249_1371604331_cd95c3bdc73906cf88e5d0920f601dbd.jpg resize: (1080, 1632) 1371604331 -6.004472324717528 treat image : temp/1752243449_3683249_1371604325_aded8060ca58736d17d0dfe9de766580.jpg resize: (1080, 1632) 1371604325 -6.009421384478293 treat image : temp/1752243449_3683249_1371604320_86c1e26751d7f55ebe7c2b4fe06f295c.jpg resize: (1080, 1632) 1371604320 -3.0699504032152705 treat image : temp/1752243449_3683249_1371604315_c044f133a10b7d8a7c5ce13d432b5356.jpg resize: (1080, 1632) 1371604315 -1.4410730510200476 treat image : temp/1752243449_3683249_1371604311_f4cf756d596488154ac79efd447dfe52.jpg resize: (1080, 1632) 1371604311 -2.2939556237325696 treat image : temp/1752243449_3683249_1371604309_336ffab1b3b7933e5009b9e67ac69a15.jpg resize: (1080, 1632) 1371604309 -2.169240272884118 treat image : temp/1752243449_3683249_1371604296_fa272f68a86205f4b631664ea58eb73a.jpg resize: (1080, 1632) 1371604296 -5.148399399129509 treat image : temp/1752243449_3683249_1371604287_b3ba9c91aa3e838ee9db8592219f6e58.jpg resize: (1080, 1632) 1371604287 -5.150815096718928 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.011817216873168945 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.011893033981323242 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.012931346893310547 save missing photos in datou_result : time spend for datou_step_exec : 14.710315942764282 time spend to save output : 0.04146575927734375 total time spend for step 1 : 14.751781702041626 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.13user 2.86system 0:19.91elapsed 85%CPU (0avgtext+0avgdata 139256maxresident)k 16inputs+9176outputs (3major+230678minor)pagefaults 0swaps