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 : 3904320 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 : 6185>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3904320/ 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.3219170570373535 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 Fri Jul 11 17:37: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/1752248248_3904320_1371622233_8c7ac550da0b8bb73ea96e0d3f2b8896.jpg resize: (1080, 1632) 1371622233 -3.079552764181107 treat image : temp/1752248248_3904320_1371622232_fa341f336c442a3c76776b397cb45d09.jpg resize: (1080, 1632) 1371622232 -3.079552764181107 treat image : temp/1752248248_3904320_1371622219_dfb1f231ac2b320c1c03400500c89c27.jpg resize: (1080, 1632) 1371622219 -3.097988525647331 treat image : temp/1752248248_3904320_1371622217_c5fe7323cb3f886e9d272175dc548f30.jpg resize: (1080, 1632) 1371622217 -3.097988525647331 treat image : temp/1752248248_3904320_1371622213_9a97940abc5169ad5f4873693fdb5b1a.jpg resize: (1080, 1632) 1371622213 -3.143755110793512 treat image : temp/1752248248_3904320_1371622211_b9b070e381043a1500fe8ab219156140.jpg resize: (1080, 1632) 1371622211 -3.143755110793512 treat image : temp/1752248248_3904320_1371622186_adc8a4f572dadc28f66e083f03edae62.jpg resize: (1080, 1632) 1371622186 -3.1150667441829443 treat image : temp/1752248248_3904320_1371622182_6703107c7856929df11b6150b31358ef.jpg resize: (1080, 1632) 1371622182 -3.1150667441829443 treat image : temp/1752248248_3904320_1371622139_7e07b667ef1a113daf2bf90107358578.jpg resize: (1080, 1632) 1371622139 -3.1580549875329833 treat image : temp/1752248248_3904320_1371622137_828ea71f1b67533ae2f1ecda820c5af0.jpg resize: (1080, 1632) 1371622137 -3.1580549875329833 treat image : temp/1752248248_3904320_1371622130_11789fc5d32c0fe8c5d32ae5652e7b32.jpg resize: (1080, 1632) 1371622130 -4.013403896926794 treat image : temp/1752248248_3904320_1371622129_8169ffd3a8fddf3406016e20b715954d.jpg resize: (1080, 1632) 1371622129 -4.013403896926794 treat image : temp/1752248248_3904320_1371622047_b274a1b63e2be5b6d1db6e9f11a952e2.jpg resize: (1080, 1632) 1371622047 -5.0490840522483404 treat image : temp/1752248248_3904320_1371622043_569248a211a454ec4abed2edbadc2422.jpg resize: (1080, 1632) 1371622043 -5.092104295050952 treat image : temp/1752248248_3904320_1371622038_aa1ef4913fa20374486f5c17fe4a5d03.jpg resize: (1080, 1632) 1371622038 -5.090551931324685 treat image : temp/1752248248_3904320_1371622033_a2695749b9453712aa9703995096ec7d.jpg resize: (1080, 1632) 1371622033 -5.097419583102568 treat image : temp/1752248248_3904320_1371622025_f8659ca9173de69f1b578ea98d0db9af.jpg resize: (1080, 1632) 1371622025 -5.094102341343216 treat image : temp/1752248248_3904320_1371621999_6da31fb2c6ce0d0cc2e48f4917a19ddb.jpg resize: (1080, 1632) 1371621999 -5.086690028744414 treat image : temp/1752248248_3904320_1371621242_00c3f96c6da0a5ab042ca39652d80db7.jpg resize: (1080, 1632) 1371621242 -2.9377241299712176 treat image : temp/1752248248_3904320_1371621241_18defa3f0c54f476d69ac41893350011.jpg resize: (1080, 1632) 1371621241 -2.9377241299712176 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.013853311538696289 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.014076948165893555 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01792144775390625 save missing photos in datou_result : time spend for datou_step_exec : 17.887288570404053 time spend to save output : 0.05038189888000488 total time spend for step 1 : 17.937670469284058 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.73user 5.79system 0:24.37elapsed 84%CPU (0avgtext+0avgdata 141684maxresident)k 72inputs+8008outputs (0major+250262minor)pagefaults 0swaps