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 : 2034764 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 : 445>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/2034764/ 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.1889548301696777 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 18 01:17: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/1752794249_2034764_1372572159_696231f41e221e67bc3d265cb0ca814a.jpg resize: (1080, 1632) 1372572159 -5.783758118008489 treat image : temp/1752794249_2034764_1372572157_e4183459e9dbed2c2131923e4a8e0f01.jpg resize: (1080, 1632) 1372572157 -5.7849790732352036 treat image : temp/1752794249_2034764_1372572155_24dca7431e21f0e256b7114f57922cdc.jpg resize: (1080, 1632) 1372572155 -5.792424510241303 treat image : temp/1752794249_2034764_1372572154_875be7a883017b46425cd63084ad4909.jpg resize: (1080, 1632) 1372572154 -5.793351961104775 treat image : temp/1752794249_2034764_1372572153_6ec463b99800bbc7b3785ad74b3b7ef3.jpg resize: (1080, 1632) 1372572153 -5.787449803190192 treat image : temp/1752794249_2034764_1372572152_33beac317c6a78e5bbe3b888c84f87f3.jpg resize: (1080, 1632) 1372572152 -5.78221383787301 treat image : temp/1752794249_2034764_1372572129_d7b671cb3a6098c7cc13f71835dd4496.jpg resize: (1080, 1632) 1372572129 -5.789241218179279 treat image : temp/1752794249_2034764_1372572127_b9a95927afad0414c9c3864f9b39ec23.jpg resize: (1080, 1632) 1372572127 -5.796346409546655 treat image : temp/1752794249_2034764_1372572125_ea7f1fc11b0beaf8c95cf5db592cb79b.jpg resize: (1080, 1632) 1372572125 -5.794083904856186 treat image : temp/1752794249_2034764_1372572112_5c203caab390460977472fc517f958df.jpg resize: (1080, 1632) 1372572112 -5.782797014031068 treat image : temp/1752794249_2034764_1372572111_d586b03125fe82f29db05cd31b383792.jpg resize: (1080, 1632) 1372572111 -5.785839646445265 treat image : temp/1752794249_2034764_1372572110_afd561599641cd3e2f9ac86ea1a1474c.jpg resize: (1080, 1632) 1372572110 -5.78720772609314 treat image : temp/1752794249_2034764_1372572078_af98b3e035d6b9aaee0818b09a0fcd0a.jpg resize: (1080, 1632) 1372572078 -5.792276407663102 treat image : temp/1752794249_2034764_1372572073_32709f5bd624e9cdabece9b20f3eb234.jpg resize: (1080, 1632) 1372572073 -5.788398023093618 treat image : temp/1752794249_2034764_1372572070_ef95e9d8ed368700c2184d719da87b8d.jpg resize: (1080, 1632) 1372572070 -5.7971472300828415 treat image : temp/1752794249_2034764_1372572068_904ed7c8ceef316bd220f1d97e731ed2.jpg resize: (1080, 1632) 1372572068 -5.78819348891032 treat image : temp/1752794249_2034764_1372572065_77207e476f671bcd833fd36d58a55290.jpg resize: (1080, 1632) 1372572065 -5.793003185143419 treat image : temp/1752794249_2034764_1372572061_22b42231bf2c1dd79d5f5741620b08b0.jpg resize: (1080, 1632) 1372572061 -5.791749486158049 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.022149324417114258 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.02744293212890625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.043950557708740234 save missing photos in datou_result : time spend for datou_step_exec : 13.965100049972534 time spend to save output : 0.09822440147399902 total time spend for step 1 : 14.063324451446533 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 12.75user 3.56system 0:20.44elapsed 79%CPU (0avgtext+0avgdata 138240maxresident)k 40inputs+10392outputs (1major+244543minor)pagefaults 0swaps