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 : 3251069 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 : 2937>100 please execute split_portfolio.py -i 25861864 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3493671'] with mtr_portfolio_ids : ['25861864'] and first list_photo_ids : [] new path : /proc/3251069/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 1.8618395328521729 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 Mon Aug 11 19:02: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/1754931748_3251069_1376477242_e49c51fc7b4442a2412ca0f5798c18a6.jpg resize: (1080, 1632) 1376477242 -5.001928922021805 treat image : temp/1754931748_3251069_1376477218_3f0d103d03bc82c92fa7f9dd5cb23a33.jpg resize: (1080, 1632) 1376477218 -5.258161248553395 treat image : temp/1754931748_3251069_1376477192_44cf9e4b7104a2c624bd5e0e9290406b.jpg resize: (1080, 1632) 1376477192 -4.06058545027975 treat image : temp/1754931748_3251069_1376476801_30a2ecd97775acd90b875d97dcc4a91e.jpg resize: (1080, 1632) 1376476801 -5.484237402009239 treat image : temp/1754931748_3251069_1376476740_33b6bb201b89ad4885baea93f7ca2963.jpg resize: (1080, 1632) 1376476740 -5.849422323623268 treat image : temp/1754931748_3251069_1376476695_a8a809098f6d42f5f9d37c53ed6f8bfd.jpg resize: (1080, 1632) 1376476695 -3.61547344193895 treat image : temp/1754931748_3251069_1376476652_3539de784c25b6bf09753f981692ccf7.jpg resize: (1080, 1632) 1376476652 -5.613585588431893 treat image : temp/1754931748_3251069_1376476623_98506c3e94b38f3b25017c25537f97b7.jpg resize: (1080, 1632) 1376476623 -5.5801185663028905 treat image : temp/1754931748_3251069_1376476363_cf2a2c83561bb51ae97e3e3609fabdf3.jpg resize: (1080, 1632) 1376476363 -5.5674857711006815 treat image : temp/1754931748_3251069_1376476311_7b2c31d11862f5112ef41ea16f77869e.jpg resize: (1080, 1632) 1376476311 -5.404000131453205 treat image : temp/1754931748_3251069_1376476267_545eb88124258ed2fa79cb61ad38659e.jpg resize: (1080, 1632) 1376476267 -5.35116554465514 treat image : temp/1754931748_3251069_1376476218_305b7dc4487d61c0421511c8437682a2.jpg resize: (1080, 1632) 1376476218 -5.1122946183185345 treat image : temp/1754931748_3251069_1376476171_c1be4adefaed10388f4bcc6ed52acea9.jpg resize: (1080, 1632) 1376476171 -5.40643453457706 treat image : temp/1754931748_3251069_1376476021_201d5969906f9cb9c58fa32b4b91c089.jpg resize: (1080, 1632) 1376476021 -1.9835774644257558 treat image : temp/1754931748_3251069_1376475994_2c458b42682bdb01ad483b9414383382.jpg resize: (1080, 1632) 1376475994 -2.8439151390779487 treat image : temp/1754931748_3251069_1376475962_692dfb250d127397681181a9815268e1.jpg resize: (1080, 1632) 1376475962 -5.059940990607426 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 : 16 time used for this insertion : 0.013897418975830078 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 16 time used for this insertion : 0.014971494674682617 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.016866445541381836 save missing photos in datou_result : time spend for datou_step_exec : 13.010375738143921 time spend to save output : 0.050249576568603516 total time spend for step 1 : 13.060625314712524 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 11.06user 4.46system 0:18.86elapsed 82%CPU (0avgtext+0avgdata 139912maxresident)k 104inputs+7888outputs (0major+220658minor)pagefaults 0swaps