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 : 1376731 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 : 232>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1376731/ 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.1126272678375244 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 Thu May 22 05:52:29 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/1747885947_1376731_1360397382_819d1f06f26ae15c07291e539d3ca033.jpg resize: (1080, 1632) 1360397382 -1.8343038190791086 treat image : temp/1747885947_1376731_1360397357_3cd270ac282833bedcc7ed137f793c91.jpg resize: (1080, 1632) 1360397357 -4.49362172751998 treat image : temp/1747885947_1376731_1360397328_e054208c78a2f7ab07ed3049c457a0f5.jpg resize: (1080, 1632) 1360397328 -5.4669604653118355 treat image : temp/1747885947_1376731_1360397300_0a0e3d971673eae1d78cdf69d2710b21.jpg resize: (1080, 1632) 1360397300 -2.3013844658184177 treat image : temp/1747885947_1376731_1360397297_390848ae0fea76440f2eb386006ef0a4.jpg resize: (1080, 1632) 1360397297 -3.449141175387584 treat image : temp/1747885947_1376731_1360397289_d6c6d083f2cdcb84077fd518362647aa.jpg resize: (1080, 1632) 1360397289 -3.427787000017924 treat image : temp/1747885947_1376731_1360397275_f078789e7cf87daeb6961e87a0b428fe.jpg resize: (1080, 1632) 1360397275 -6.065200541051497 treat image : temp/1747885947_1376731_1360397272_c2341b5a2502aed1d2c834f879bf90c9.jpg resize: (1080, 1632) 1360397272 -3.5625597061909606 treat image : temp/1747885947_1376731_1360397270_3c7559d30b146e350e9e3dc3cec89686.jpg resize: (1080, 1632) 1360397270 0.6080314112725055 treat image : temp/1747885947_1376731_1360397253_9133e2550cdd0995d96c5e9a1f285a61.jpg resize: (1080, 1632) 1360397253 -6.170153134462329 treat image : temp/1747885947_1376731_1360397251_e5a0de1740e621dfcb7d009f46d4a033.jpg resize: (1080, 1632) 1360397251 -5.827033987428499 treat image : temp/1747885947_1376731_1360397249_f14edbf0a415f225e4a4666d56124d13.jpg resize: (1080, 1632) 1360397249 -6.325051881832113 treat image : temp/1747885947_1376731_1360397247_b3a0d0adc09aad3c3850fbf13cd2d440.jpg resize: (1080, 1632) 1360397247 -4.837315715151608 treat image : temp/1747885947_1376731_1360397244_5a0c906bb6bb35693fb9bd775f1598e8.jpg resize: (1080, 1632) 1360397244 -3.1647778008399285 treat image : temp/1747885947_1376731_1360397241_df589c8ffeca9ee27ca23a83198e3295.jpg resize: (1080, 1632) 1360397241 -5.829552044423991 treat image : temp/1747885947_1376731_1360397116_7df17d7017d61a677a5f1987114cce7e.jpg resize: (1080, 1632) 1360397116 -2.0196101990257636 treat image : temp/1747885947_1376731_1360397099_d9870baca591dd609eb1bc499a6d3160.jpg resize: (1080, 1632) 1360397099 -4.104498957394858 treat image : temp/1747885947_1376731_1360397067_066a224df6d6e83d4bc882dd87b02df2.jpg resize: (1080, 1632) 1360397067 -4.459249435207155 treat image : temp/1747885947_1376731_1360397034_c6b97f8be0fd64704dad29554f0021d6.jpg resize: (1080, 1632) 1360397034 -6.005202090697371 treat image : temp/1747885947_1376731_1360396965_1537057f27ccefd5c5b71360b52d4b9b.jpg resize: (1080, 1632) 1360396965 -2.9238874219080695 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.013353824615478516 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.18995952606201172 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.14702296257019043 save missing photos in datou_result : time spend for datou_step_exec : 14.655300378799438 time spend to save output : 0.3553166389465332 total time spend for step 1 : 15.010617017745972 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.66user 3.59system 0:20.06elapsed 85%CPU (0avgtext+0avgdata 142728maxresident)k 16inputs+9096outputs (5major+263128minor)pagefaults 0swaps