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 : 2691221 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 : 2539>100 please execute split_portfolio.py -i 26067161 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3554360'] with mtr_portfolio_ids : ['26067161'] and first list_photo_ids : [] new path : /proc/2691221/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.3059580326080322 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 Aug 20 18:32: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/1755707547_2691221_1378115534_ff45557bdee7ecaff17000ac1d63c315.jpg resize: (1080, 1632) 1378115534 -1.4170067195409095 treat image : temp/1755707547_2691221_1378115511_f544db512300d307a78b91872afb6202.jpg resize: (1080, 1632) 1378115511 -1.9879727875186142 treat image : temp/1755707547_2691221_1378115506_c3edf0a80aeb7db79ede093e409139c1.jpg resize: (1080, 1632) 1378115506 -2.0524695290206654 treat image : temp/1755707547_2691221_1378115491_8f8ffa5c0ba472f44349d9287204706b.jpg resize: (1080, 1632) 1378115491 -4.646269240839128 treat image : temp/1755707547_2691221_1378115466_47a05d7a9a253a02354e13ff3da05889.jpg resize: (1080, 1632) 1378115466 -5.894491647897037 treat image : temp/1755707547_2691221_1378115440_5c53f126ca3fe01afb17942946d2ab8e.jpg resize: (1080, 1632) 1378115440 -5.199687948872877 treat image : temp/1755707547_2691221_1378115429_708caaf30e56ae89edc142b702c050d4.jpg resize: (1080, 1632) 1378115429 -3.8012285106397137 treat image : temp/1755707547_2691221_1378115427_9088e8f2aa1a56e626011b99e554923e.jpg resize: (1080, 1632) 1378115427 -3.6223378954089935 treat image : temp/1755707547_2691221_1378115425_2d3558c3db73e8d8897b616721490a64.jpg resize: (1080, 1632) 1378115425 -5.714024655110546 treat image : temp/1755707547_2691221_1378115422_652ddd270cbd400797edf43efa0a0ae9.jpg resize: (1080, 1632) 1378115422 -5.005765990104259 treat image : temp/1755707547_2691221_1378115419_01caa13ad7210944418d740b58de1722.jpg resize: (1080, 1632) 1378115419 -5.222178368770432 treat image : temp/1755707547_2691221_1378115417_8defefd39408d279983310072388b975.jpg resize: (1080, 1632) 1378115417 -2.72344361920207 treat image : temp/1755707547_2691221_1378115373_85f77abe8aab1b7ec3ab550be5a294f9.jpg resize: (1080, 1632) 1378115373 -1.4170067195409095 treat image : temp/1755707547_2691221_1378115370_05024ea05e9a2b1a7df42da50ab130a4.jpg resize: (1080, 1632) 1378115370 -1.9879727875186142 treat image : temp/1755707547_2691221_1378115367_4995a0b6dfadcc2df79447c58e0eeb8b.jpg resize: (1080, 1632) 1378115367 -2.0524695290206654 treat image : temp/1755707547_2691221_1378115363_7ecfafec3b71319ea09473f623f662b0.jpg resize: (1080, 1632) 1378115363 -4.646269240839128 treat image : temp/1755707547_2691221_1378115359_4e42836b3eb1de575eb71c7246f8bb26.jpg resize: (1080, 1632) 1378115359 -5.894491647897037 treat image : temp/1755707547_2691221_1378115355_7e9ddec3d50723f423182fcd40f6475b.jpg resize: (1080, 1632) 1378115355 -5.199687948872877 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 : 18 time used for this insertion : 0.015622138977050781 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.01611185073852539 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.015831708908081055 save missing photos in datou_result : time spend for datou_step_exec : 13.705235719680786 time spend to save output : 0.05201292037963867 total time spend for step 1 : 13.757248640060425 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.38user 3.32system 0:18.50elapsed 90%CPU (0avgtext+0avgdata 138804maxresident)k 64inputs+8096outputs (2major+237406minor)pagefaults 0swaps