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 : 3608974 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 : 2589>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/3608974/ 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.3276803493499756 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 May 21 17:22:30 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/1747840948_3608974_1360075737_017f86e54fda10b8a65d4e6f8e73b181.jpg resize: (1080, 1632) 1360075737 -1.7808982818208188 treat image : temp/1747840948_3608974_1360075730_e634d254e6bf8c918bbd44018da3a16f.jpg resize: (1080, 1632) 1360075730 -1.6632345197358422 treat image : temp/1747840948_3608974_1360075687_b6ba322bd3b5ed19f158879dae09368d.jpg resize: (1080, 1632) 1360075687 -4.684112723336696 treat image : temp/1747840948_3608974_1360075336_3be5f84b2235a3a6852af4e5b7e92b8d.jpg resize: (1080, 1632) 1360075336 -5.563487144257836 treat image : temp/1747840948_3608974_1360075306_5257d15a7103b45e2be9aafb28ecd6b3.jpg resize: (1080, 1632) 1360075306 -5.599907883711188 treat image : temp/1747840948_3608974_1360075294_9f96a59c7d0829a9853615b7fe8fff29.jpg resize: (1080, 1632) 1360075294 -5.244423030806382 treat image : temp/1747840948_3608974_1360075282_845c3f577a713f371056feb92cc43f18.jpg resize: (1080, 1632) 1360075282 -5.426360088552631 treat image : temp/1747840948_3608974_1360075277_3afe9b405127fc49a93a03b151b2b78e.jpg resize: (1080, 1632) 1360075277 -2.984130636452212 treat image : temp/1747840948_3608974_1360075040_77e2a2c6491fa9e2aebf7a90a7350c83.jpg resize: (1080, 1632) 1360075040 -5.6945600590990875 treat image : temp/1747840948_3608974_1360075036_4bf35b4cad9f9966ade9948a16252a9f.jpg resize: (1080, 1632) 1360075036 -6.222978299087947 treat image : temp/1747840948_3608974_1360075021_54a3ae9e9c1443165f3a37ad28b40bc5.jpg resize: (1080, 1632) 1360075021 -6.382675707913115 treat image : temp/1747840948_3608974_1360074988_7375053e4ea10e73361b59ab5852218b.jpg resize: (1080, 1632) 1360074988 -5.82479779381766 treat image : temp/1747840948_3608974_1360074957_a67556886d66bf11c8b9e6b608af3c82.jpg resize: (1080, 1632) 1360074957 -5.7879805216459195 treat image : temp/1747840948_3608974_1360074913_b456d6b3f7ffd12419b5b56d95e0e6af.jpg resize: (1080, 1632) 1360074913 -6.051090732537251 treat image : temp/1747840948_3608974_1360074860_179b4e5002344a018e47423a7fe8c207.jpg resize: (1080, 1632) 1360074860 -1.560634422088955 treat image : temp/1747840948_3608974_1360074857_bb0e94288622b579edaaca5bee2c062f.jpg resize: (1080, 1632) 1360074857 -0.6090669191818096 treat image : temp/1747840948_3608974_1360074847_73614f59994e6f82f2ebc3a1fb33d713.jpg resize: (1080, 1632) 1360074847 -4.981739638909836 treat image : temp/1747840948_3608974_1360074826_0b001e4047935806e4c1b24788923648.jpg resize: (1080, 1632) 1360074826 -5.651279384860471 treat image : temp/1747840948_3608974_1360074787_fe0dda66a14f8ba09bef34d65d05a8ef.jpg resize: (1080, 1632) 1360074787 -5.792196989661877 treat image : temp/1747840948_3608974_1360074352_eda9d5bd5ff999265da4d089d8a55042.jpg resize: (1080, 1632) 1360074352 -5.589914922594352 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.013300657272338867 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.01234126091003418 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017196178436279297 save missing photos in datou_result : time spend for datou_step_exec : 16.120845556259155 time spend to save output : 0.04812192916870117 total time spend for step 1 : 16.168967485427856 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.16user 4.05system 0:22.36elapsed 85%CPU (0avgtext+0avgdata 137828maxresident)k 3016inputs+9768outputs (12major+258214minor)pagefaults 0swaps