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 : 723117 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 : 1731>100 please execute split_portfolio.py -i 25895674 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3506765'] with mtr_portfolio_ids : ['25895674'] and first list_photo_ids : [] new path : /proc/723117/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 2.1146256923675537 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 Tue Aug 12 11: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/1754992349_723117_1376595281_15943084efe27319a80f0479cfd4eb7a.jpg resize: (1080, 1632) 1376595281 -5.749818389521898 treat image : temp/1754992349_723117_1376595278_f85ac3c0bb0b06c2268b094d19e794e4.jpg resize: (1080, 1632) 1376595278 -5.512588646253153 treat image : temp/1754992349_723117_1376595277_f24e46217a82a5e54bba9b65df666772.jpg resize: (1080, 1632) 1376595277 -4.985510986649193 treat image : temp/1754992349_723117_1376595276_901f6196d9271a6e18e9085c9c3768ba.jpg resize: (1080, 1632) 1376595276 -1.5259374312877843 treat image : temp/1754992349_723117_1376595267_2c8e4dc248bd6e4fa372a91b5a81f991.jpg resize: (1080, 1632) 1376595267 20.0 treat image : temp/1754992349_723117_1376595192_63f6cf5bdadaf405124abd890b3e4510.jpg resize: (1080, 1632) 1376595192 -3.539213125212247 treat image : temp/1754992349_723117_1376595189_c0a3ab53f0c977ca93496a72eb4e0a80.jpg resize: (1080, 1632) 1376595189 -4.674057400388212 treat image : temp/1754992349_723117_1376595185_41e506a422a33c1dd7087a2d61695b86.jpg resize: (1080, 1632) 1376595185 -4.756425828459586 treat image : temp/1754992349_723117_1376595180_bc6389c41097b81a37842141081cdd8a.jpg resize: (1080, 1632) 1376595180 -5.392946344097728 treat image : temp/1754992349_723117_1376595178_6ba4b01ff7e5a8154a2d5ffa799bed44.jpg resize: (1080, 1632) 1376595178 -5.4392118377103245 treat image : temp/1754992349_723117_1376595176_f552cd26d3bd95ab35756a0e5d296532.jpg resize: (1080, 1632) 1376595176 -3.878101931816385 treat image : temp/1754992349_723117_1376594846_3e98cab882ee7cbda7a63c38ebf852ec.jpg resize: (1080, 1632) 1376594846 -4.621602252964647 treat image : temp/1754992349_723117_1376594845_e71906821d91f99294412cc6a236ea96.jpg resize: (1080, 1632) 1376594845 -4.49723483356487 treat image : temp/1754992349_723117_1376594844_0cfd9b3b5557fcf4634521a979a4635a.jpg resize: (1080, 1632) 1376594844 -3.7420890421387285 treat image : temp/1754992349_723117_1376594611_56b875471f80ffbfdc7b0e8b598b844b.jpg resize: (1080, 1632) 1376594611 -4.407858683065861 treat image : temp/1754992349_723117_1376594580_eb5925db5eb3290a4e3ff60cf8ac841c.jpg resize: (1080, 1632) 1376594580 -4.326737614794788 treat image : temp/1754992349_723117_1376594550_a79f2c26f366d7a72e7841cf0d4fe671.jpg resize: (1080, 1632) 1376594550 -5.150535781726227 treat image : temp/1754992349_723117_1376594471_b566c593ff90671c736f3043c4c085a3.jpg resize: (1080, 1632) 1376594471 -5.2766256525900275 treat image : temp/1754992349_723117_1376594411_fc6753fd9152eb40fb57440669d41905.jpg resize: (1080, 1632) 1376594411 -4.840477600110837 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 : 19 time used for this insertion : 0.013957738876342773 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.012661218643188477 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.015891075134277344 save missing photos in datou_result : time spend for datou_step_exec : 17.49903631210327 time spend to save output : 0.04728865623474121 total time spend for step 1 : 17.546324968338013 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 19 set_done_treatment 14.06user 5.94system 0:23.93elapsed 83%CPU (0avgtext+0avgdata 140340maxresident)k 2944inputs+8512outputs (20major+247128minor)pagefaults 0swaps