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 : 2454525 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 : 2517>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/2454525/ 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.541618824005127 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 Wed Apr 2 17:17:30 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/1743607048_2454525_1349527975_7a332ec7b444c132e8d135601f83b10a.jpg resize: (1080, 1632) 1349527975 -5.771434649788306 treat image : temp/1743607048_2454525_1349527891_14a9a2505a96432139aa09f823859bf6.jpg resize: (1080, 1632) 1349527891 -5.728585238063223 treat image : temp/1743607048_2454525_1349527803_be0301d91f76179bc5e3e0f797f2366d.jpg resize: (1080, 1632) 1349527803 -4.78958231871982 treat image : temp/1743607048_2454525_1349527731_4bf4888c92a15982846c8cf1212b1a5d.jpg resize: (1080, 1632) 1349527731 -5.7472993026869235 treat image : temp/1743607048_2454525_1349527689_f62d224722fd882b6b11468175025ab7.jpg resize: (1080, 1632) 1349527689 -4.08825944879107 treat image : temp/1743607048_2454525_1349526999_12413da128d29e2f73ac5f494edce505.jpg resize: (1080, 1632) 1349526999 -5.836048276895276 treat image : temp/1743607048_2454525_1349526864_354c62b65c65e90a80e0058f2b5b13dd.jpg resize: (1080, 1632) 1349526864 -6.243301104525775 treat image : temp/1743607048_2454525_1349526822_82f7876a0b335fafebd68d3638c61b91.jpg resize: (1080, 1632) 1349526822 -5.762382660785279 treat image : temp/1743607048_2454525_1349526777_8fec4d6bfb46b8f133553ceded73801c.jpg resize: (1080, 1632) 1349526777 -5.1811447940740445 treat image : temp/1743607048_2454525_1349526703_1d25f38162aa082b9b271671eb699629.jpg resize: (1080, 1632) 1349526703 -3.799102702171081 treat image : temp/1743607048_2454525_1349496274_a5b4666b39983c7209898dcdb15a0c46.jpg resize: (1080, 1632) 1349496274 -4.7949864485788005 treat image : temp/1743607048_2454525_1349496269_76883103cceef84da59582963d291af5.jpg resize: (1080, 1632) 1349496269 -5.814548375606987 treat image : temp/1743607048_2454525_1349496263_00cc6d61334b916bda6c017a665719ea.jpg resize: (1080, 1632) 1349496263 -6.407632584449362 treat image : temp/1743607048_2454525_1349496258_f5d3c45745c01f62ca9dc03a3cb8fbf2.jpg resize: (1080, 1632) 1349496258 -6.055128072291633 treat image : temp/1743607048_2454525_1349496212_512c2fdf345c5f4a4d0fe9486af34524.jpg resize: (1080, 1632) 1349496212 -2.1858667630913318 treat image : temp/1743607048_2454525_1349496208_488d475b2e38cc4ef9647a7c28915cf0.jpg resize: (1080, 1632) 1349496208 -4.434924743570581 treat image : temp/1743607048_2454525_1349496203_f09df0e1f17e8ff6ff4f2bdd3cae9985.jpg resize: (1080, 1632) 1349496203 -6.031470756858939 treat image : temp/1743607048_2454525_1349496199_6ef06603f94acd2920079ebe8cacf7a1.jpg resize: (1080, 1632) 1349496199 -6.426603984518793 treat image : temp/1743607048_2454525_1349496159_35d18c2edb27fe0b08592bff82af91b4.jpg resize: (1080, 1632) 1349496159 -5.498216193293278 treat image : temp/1743607048_2454525_1349496155_8326de5b659f58bc731b6e221c611b66.jpg resize: (1080, 1632) 1349496155 -4.037794329049175 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.05549502372741699 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.013916492462158203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01795816421508789 save missing photos in datou_result : time spend for datou_step_exec : 15.437135934829712 time spend to save output : 0.09221816062927246 total time spend for step 1 : 15.529354095458984 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.32user 3.52system 0:20.45elapsed 87%CPU (0avgtext+0avgdata 140636maxresident)k 104inputs+10816outputs (28major+259845minor)pagefaults 0swaps