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 : 1768018 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 : 3846>100 please execute split_portfolio.py -i 21608215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2682218'] with mtr_portfolio_ids : ['21608215'] and first list_photo_ids : [] new path : /proc/1768018/ 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.082801580429077 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 Sat Mar 22 17:37:28 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/1742661446_1768018_1346461384_fcef23dc5a8ec4c4075ce0d0ab897210.jpg resize: (1080, 1632) 1346461384 -4.904800974941093 treat image : temp/1742661446_1768018_1346461356_90e3f890775be42bb25e818801306a50.jpg resize: (1080, 1632) 1346461356 -5.91485980875876 treat image : temp/1742661446_1768018_1346461324_30d63a745ba655473e7ef50544b51420.jpg resize: (1080, 1632) 1346461324 -5.903960321668971 treat image : temp/1742661446_1768018_1346461320_f34081a57998276bd67189fe3832535d.jpg resize: (1080, 1632) 1346461320 -2.183620377647128 treat image : temp/1742661446_1768018_1346461317_8963e1f6b5ce6c4bbd63a4a5d0a26ad5.jpg resize: (1080, 1632) 1346461317 -1.2952958742034577 treat image : temp/1742661446_1768018_1346461314_c075202312bdf08b7589880c1027cff6.jpg resize: (1080, 1632) 1346461314 -6.309674423293694 treat image : temp/1742661446_1768018_1346461272_45adaf4819c489a5b590930c46b9175e.jpg resize: (1080, 1632) 1346461272 -6.164033724439239 treat image : temp/1742661446_1768018_1346461234_accab0c7ddad76ba9395b7e355e736e4.jpg resize: (1080, 1632) 1346461234 -5.814025757887838 treat image : temp/1742661446_1768018_1346461186_5efc927c51eb819716e7f38a2f336093.jpg resize: (1080, 1632) 1346461186 -3.4456993971307135 treat image : temp/1742661446_1768018_1346461123_b0954b303fdac17359ec82a03c9fdb84.jpg resize: (1080, 1632) 1346461123 -5.457141349802469 treat image : temp/1742661446_1768018_1346461057_1db73ac66062f44f52ba4ce9c923fc09.jpg resize: (1080, 1632) 1346461057 -4.604108510447946 treat image : temp/1742661446_1768018_1346460978_6c80292d2f212fc0915829cb9cd8a678.jpg resize: (1080, 1632) 1346460978 -5.063588260543875 treat image : temp/1742661446_1768018_1346460099_e7bf61fd2deb597994abcc8a5ca5c930.jpg resize: (1080, 1632) 1346460099 -4.170704017412508 treat image : temp/1742661446_1768018_1346460067_b5c6acd7e8c65cebef38b8ea6c94a694.jpg resize: (1080, 1632) 1346460067 -4.847686230638193 treat image : temp/1742661446_1768018_1346460032_004ae422df991bc24c59ce4142cd2db0.jpg resize: (1080, 1632) 1346460032 -5.135440525030242 treat image : temp/1742661446_1768018_1346459994_47454ac02a400e51eca9325ebcc3231c.jpg resize: (1080, 1632) 1346459994 -6.111998407757354 treat image : temp/1742661446_1768018_1346459818_216c525bf9838943ce7dbb0e96207ce6.jpg resize: (1080, 1632) 1346459818 -5.594753803428017 treat image : temp/1742661446_1768018_1346459790_97c16980db80e74814d8bfe2a9c79036.jpg resize: (1080, 1632) 1346459790 -6.105324014855637 treat image : temp/1742661446_1768018_1346459768_f6a9d235483a7f039dd4b5a2bb1a4874.jpg resize: (1080, 1632) 1346459768 -4.2051659721186025 treat image : temp/1742661446_1768018_1346459767_596342fc5d870beba6b352cbc3029416.jpg resize: (1080, 1632) 1346459767 -2.0610011100330605 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.015510797500610352 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.011950254440307617 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013031959533691406 save missing photos in datou_result : time spend for datou_step_exec : 14.326613664627075 time spend to save output : 0.04603385925292969 total time spend for step 1 : 14.372647523880005 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.77user 3.04system 0:17.96elapsed 93%CPU (0avgtext+0avgdata 140316maxresident)k 136inputs+10648outputs (2major+250340minor)pagefaults 0swaps