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 : 3088123 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 : 5504>100 please execute split_portfolio.py -i 25516015 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3403011'] with mtr_portfolio_ids : ['25516015'] and first list_photo_ids : [] new path : /proc/3088123/ 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.562974214553833 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 Thu Jul 31 17:07:32 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/1753974450_3088123_1374621373_e4d68de6017651a7c27ff0b1e89aafe6.jpg resize: (1080, 1632) 1374621373 -2.3149833223308205 treat image : temp/1753974450_3088123_1374621370_ff7a101723b5c80e01681dde9bde8501.jpg resize: (1080, 1632) 1374621370 -1.4635361078108986 treat image : temp/1753974450_3088123_1374621365_43c58d06e0a0008199c019ac950f97ec.jpg resize: (1080, 1632) 1374621365 -3.194295566906898 treat image : temp/1753974450_3088123_1374621358_7d592ab73bcd29ebf077223d172fe67e.jpg resize: (1080, 1632) 1374621358 -4.043986107069213 treat image : temp/1753974450_3088123_1374621340_9962d2b42bf2789fe789fec0ba9ad304.jpg resize: (1080, 1632) 1374621340 -1.3225806289002084 treat image : temp/1753974450_3088123_1374621338_2f2792bce4dd237bc1a55ab8a4519c1a.jpg resize: (1080, 1632) 1374621338 -1.3693180269980818 treat image : temp/1753974450_3088123_1374621250_9192e3ad9851ad5bedde064a74f21f4b.jpg resize: (1080, 1632) 1374621250 -5.075345416305853 treat image : temp/1753974450_3088123_1374621247_53d6b794b9a1d82451ba9abae76c791f.jpg resize: (1080, 1632) 1374621247 -4.428793038129721 treat image : temp/1753974450_3088123_1374621246_60ca076061c90bcc1cddaa2f02eb8829.jpg resize: (1080, 1632) 1374621246 -5.604100566362827 treat image : temp/1753974450_3088123_1374621243_2555792a02f8c8fc432deaa72b7f4e6c.jpg resize: (1080, 1632) 1374621243 -5.438776212130853 treat image : temp/1753974450_3088123_1374621228_9e13acbbc7c276cec1b30dcb1bdb87cd.jpg resize: (1080, 1632) 1374621228 -5.247730691051306 treat image : temp/1753974450_3088123_1374621203_d5670b6be055725ad7e308f5fed303fc.jpg resize: (1080, 1632) 1374621203 -5.552847555007922 treat image : temp/1753974450_3088123_1374620661_7ec9ac4bd36aa8e4426a697556b8dac1.jpg resize: (1080, 1632) 1374620661 -5.501081642197712 treat image : temp/1753974450_3088123_1374620625_caa4b1dbb96fe2a2a0381911642bbc4a.jpg resize: (1080, 1632) 1374620625 -4.07834764027005 treat image : temp/1753974450_3088123_1374620595_77735358bac0e4c8a686a0c4a14197a9.jpg resize: (1080, 1632) 1374620595 -4.855002232213811 treat image : temp/1753974450_3088123_1374620546_af6fe0ebd4e52a738295215241f9fe22.jpg resize: (1080, 1632) 1374620546 -4.906704882324942 treat image : temp/1753974450_3088123_1374620349_3e407de0c6d45bef2fc9c61524699b23.jpg resize: (1080, 1632) 1374620349 -3.112123945919807 treat image : temp/1753974450_3088123_1374620301_6b0807a2559917398c6527b364815bab.jpg resize: (1080, 1632) 1374620301 -0.4721098201414298 treat image : temp/1753974450_3088123_1374620246_b6f502ae2d5b4674917de3f877c5d039.jpg resize: (1080, 1632) 1374620246 -2.035069426893693 treat image : temp/1753974450_3088123_1374620198_510780cb0231b7264ba1f34aa201991b.jpg resize: (1080, 1632) 1374620198 -1.9974990355108015 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.016451358795166016 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.015239238739013672 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017825603485107422 save missing photos in datou_result : time spend for datou_step_exec : 14.425457239151001 time spend to save output : 0.05432462692260742 total time spend for step 1 : 14.479781866073608 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.97user 3.00system 0:20.84elapsed 81%CPU (0avgtext+0avgdata 140236maxresident)k 136inputs+8344outputs (19major+199771minor)pagefaults 0swaps