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 : 259266 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 : 1560>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/259266/ 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.229356527328491 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 08:57: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/1742630246_259266_1346365064_28405331791800313b797f497cabc0cc.jpg resize: (1080, 1632) 1346365064 -5.962426712576522 treat image : temp/1742630246_259266_1346365061_cb813dadb49fb86ed62a4d2ea652e825.jpg resize: (1080, 1632) 1346365061 -6.1720694772589 treat image : temp/1742630246_259266_1346365059_3ac7ca47cac7373249144ecdf0d19e0c.jpg resize: (1080, 1632) 1346365059 -6.105484278692502 treat image : temp/1742630246_259266_1346365055_68b854325223cb20a1e6e45d8315db80.jpg resize: (1080, 1632) 1346365055 -5.688457164216656 treat image : temp/1742630246_259266_1346365045_8d479d2ee7148922dbd8de5549b70966.jpg resize: (1080, 1632) 1346365045 -2.291869557632818 treat image : temp/1742630246_259266_1346365039_96c3bad9ec0220cc3746826527264c33.jpg resize: (1080, 1632) 1346365039 -3.317330958785309 treat image : temp/1742630246_259266_1346365024_a48ab5714904caa6ddf1c0ad416491a0.jpg resize: (1080, 1632) 1346365024 -4.123097427542939 treat image : temp/1742630246_259266_1346365020_7023da2ec87b9f36b5449c8e8ed9308b.jpg resize: (1080, 1632) 1346365020 -4.466666883424591 treat image : temp/1742630246_259266_1346365015_e5604f24eef47a28f42feb9149c0c065.jpg resize: (1080, 1632) 1346365015 -6.0863529280590125 treat image : temp/1742630246_259266_1346365007_4f647731d935c36dcb9a9a9fb4a6a40a.jpg resize: (1080, 1632) 1346365007 -3.931400203732633 treat image : temp/1742630246_259266_1346364997_0c5298b4d931c1e82488134e1f09580a.jpg resize: (1080, 1632) 1346364997 -4.77125368951893 treat image : temp/1742630246_259266_1346364994_cfcbd4dd0f760bfae0406d8d9f47b538.jpg resize: (1080, 1632) 1346364994 -5.345240750749725 treat image : temp/1742630246_259266_1346364991_8f61a613dedbef544a59a15790777ff3.jpg resize: (1080, 1632) 1346364991 -5.362519083163673 treat image : temp/1742630246_259266_1346364987_cd470935b812dd4c83a4b6525cc09848.jpg resize: (1080, 1632) 1346364987 -4.329292493790614 treat image : temp/1742630246_259266_1346364985_674a71acca2f197386c5e4f56bde6966.jpg resize: (1080, 1632) 1346364985 -3.219270951121004 treat image : temp/1742630246_259266_1346364983_3847d64437c2ed690b7348c23cfa8670.jpg resize: (1080, 1632) 1346364983 -2.1640214853276807 treat image : temp/1742630246_259266_1346363906_e47b0445868be0753d1435c71e4cb9ac.jpg resize: (1080, 1632) 1346363906 -4.239981096368405 treat image : temp/1742630246_259266_1346363903_f201c30ab5de11166b55d006adda01a0.jpg resize: (1080, 1632) 1346363903 -5.663738055522094 treat image : temp/1742630246_259266_1346363898_b33bb0a65931c51347e20b1398c73e68.jpg resize: (1080, 1632) 1346363898 -6.613712872371582 treat image : temp/1742630246_259266_1346363851_212dbec209b329f305f5a618bc642774.jpg resize: (1080, 1632) 1346363851 -2.3609720920026214 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.014870166778564453 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.013929367065429688 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014752626419067383 save missing photos in datou_result : time spend for datou_step_exec : 13.504666328430176 time spend to save output : 0.048171043395996094 total time spend for step 1 : 13.552837371826172 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.49user 2.51system 0:17.51elapsed 91%CPU (0avgtext+0avgdata 140480maxresident)k 144inputs+9872outputs (6major+155554minor)pagefaults 0swaps