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 : 1132204 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 : 2342>100 please execute split_portfolio.py -i 20195867 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2542720'] with mtr_portfolio_ids : ['20195867'] and first list_photo_ids : [] new path : /proc/1132204/ 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.078343629837036 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 Feb 4 22:07: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/1738703249_1132204_1334670902_14cdec08724d68b7c6fd418117f18288.jpg resize: (1080, 1632) 1334670902 -2.266642126767932 treat image : temp/1738703249_1132204_1334670901_6b24e1869349b525eedfa681a14624a6.jpg resize: (1080, 1632) 1334670901 -2.449197150633699 treat image : temp/1738703249_1132204_1334670866_ab367f2f516232a22f68691806223d90.jpg resize: (1080, 1632) 1334670866 -4.187855081079237 treat image : temp/1738703249_1132204_1334670863_0c64667931bb160168235b3881aa0baf.jpg resize: (1080, 1632) 1334670863 -5.711068465820027 treat image : temp/1738703249_1132204_1334670618_2199687bc8bb078aa97159622020d979.jpg resize: (1080, 1632) 1334670618 -6.121637573142328 treat image : temp/1738703249_1132204_1334670616_c76ca72a726868f2758462c3575aa28f.jpg resize: (1080, 1632) 1334670616 -6.075896254658005 treat image : temp/1738703249_1132204_1334670614_b0d37bfaa05b9188c2f50ea27f9572f1.jpg resize: (1080, 1632) 1334670614 -5.715568619245189 treat image : temp/1738703249_1132204_1334670600_3ae51607e99588281885b3aaea31308c.jpg resize: (1080, 1632) 1334670600 -5.28787394493615 treat image : temp/1738703249_1132204_1334670571_d035157c2bd66a598e94f498a64367b9.jpg resize: (1080, 1632) 1334670571 -4.831856207415267 treat image : temp/1738703249_1132204_1334670570_a478e5d432a8ce36f07e396a94662df7.jpg resize: (1080, 1632) 1334670570 -1.563192168153895 treat image : temp/1738703249_1132204_1334670543_a353e5462b13ea60142c11a2f505e56a.jpg resize: (1080, 1632) 1334670543 -2.988081142856317 treat image : temp/1738703249_1132204_1334670541_ec27d9a5db291c95fdb5c0f3086f89cd.jpg resize: (1080, 1632) 1334670541 -6.3372449009890905 treat image : temp/1738703249_1132204_1334670539_7b6e05ffb060fb00d27a3a94808d8372.jpg resize: (1080, 1632) 1334670539 -6.61137882230533 treat image : temp/1738703249_1132204_1334670537_2deb36f1fe4f07cb60df4c40c9693fe6.jpg resize: (1080, 1632) 1334670537 -6.258716911694527 treat image : temp/1738703249_1132204_1334670536_834046f157097c0200859ae04d8f322e.jpg resize: (1080, 1632) 1334670536 -6.223970765266454 treat image : temp/1738703249_1132204_1334670517_08b0b1ca7014b3fd0a370d18cfdd1d21.jpg resize: (1080, 1632) 1334670517 -2.6131331777675753 treat image : temp/1738703249_1132204_1334670515_69f4e2d9ff7587b2686849c63cc5d8ea.jpg resize: (1080, 1632) 1334670515 -3.773792892013759 treat image : temp/1738703249_1132204_1334670513_46a096c7664f26892897ffb87d247b41.jpg resize: (1080, 1632) 1334670513 -4.477853182289361 treat image : temp/1738703249_1132204_1334670512_21df2463e2019e8fada96578bccffbb4.jpg resize: (1080, 1632) 1334670512 -5.205666375687707 treat image : temp/1738703249_1132204_1334670498_ee32134b530bd3df39f1b6447facb16f.jpg resize: (1080, 1632) 1334670498 -4.025939526430918 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.012493610382080078 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.013005733489990234 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01801013946533203 save missing photos in datou_result : time spend for datou_step_exec : 13.189407110214233 time spend to save output : 0.04890012741088867 total time spend for step 1 : 13.238307237625122 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.22user 1.78system 0:20.30elapsed 78%CPU (0avgtext+0avgdata 139328maxresident)k 0inputs+10144outputs (11major+124893minor)pagefaults 0swaps