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 : 2385799 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 : 1252>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/2385799/ 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.2113211154937744 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 Fri May 16 06:22: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/1747369347_2385799_1358820488_b018a655dd7ae5f8bfe594a719011db1.jpg resize: (1080, 1632) 1358820488 -4.2283555656126905 treat image : temp/1747369347_2385799_1358820461_12551606e2817e1e803d049395daa666.jpg resize: (1080, 1632) 1358820461 -1.4361004274434033 treat image : temp/1747369347_2385799_1358820434_7a591e36c1944c48ded20da5b7d6e4e5.jpg resize: (1080, 1632) 1358820434 -1.9598255833423812 treat image : temp/1747369347_2385799_1358820407_bd8fa7632443ac010186265512af2ff5.jpg resize: (1080, 1632) 1358820407 -1.6780683593328882 treat image : temp/1747369347_2385799_1358820298_c6c9cf0f632680b191a01c891d2fba55.jpg resize: (1080, 1632) 1358820298 -4.92920542692095 treat image : temp/1747369347_2385799_1358820294_33ef5c2da4b8cbd89fd999e983c02dbe.jpg resize: (1080, 1632) 1358820294 -5.346883961843376 treat image : temp/1747369347_2385799_1358820291_d34561bcb5d89c57a3bcbcd62d3c76fd.jpg resize: (1080, 1632) 1358820291 -4.262460711281213 treat image : temp/1747369347_2385799_1358820285_9255f4899d18d8317f10679c16eb8512.jpg resize: (1080, 1632) 1358820285 -3.784889108279021 treat image : temp/1747369347_2385799_1358820276_66a6c581a5163e787a9c2c8379554b98.jpg resize: (1080, 1632) 1358820276 -4.960290234133854 treat image : temp/1747369347_2385799_1358820259_2655d87b5225095da0cccab9eeb8d964.jpg resize: (1080, 1632) 1358820259 -4.09770119437505 treat image : temp/1747369347_2385799_1358819823_5bfe13bdc8781a83bb19fb8b6324c9cf.jpg resize: (1080, 1632) 1358819823 -4.207750625737928 treat image : temp/1747369347_2385799_1358819759_3a6ad9c76c5a4b5863e1f006a7a270db.jpg resize: (1080, 1632) 1358819759 -1.7174474235602835 treat image : temp/1747369347_2385799_1358819705_23956310e45088af71b86e604e834f00.jpg resize: (1080, 1632) 1358819705 -3.1224521904710616 treat image : temp/1747369347_2385799_1358819661_f13739cd22575697881ff4d96845522f.jpg resize: (1080, 1632) 1358819661 -5.230602735990603 treat image : temp/1747369347_2385799_1358819087_ea9f85c2aaf2982ea67486c0d04a6ea1.jpg resize: (1080, 1632) 1358819087 -0.9385986308506938 treat image : temp/1747369347_2385799_1358819033_627579fa37878b1ccd152a53766c439b.jpg resize: (1080, 1632) 1358819033 -4.647729786814076 treat image : temp/1747369347_2385799_1358818981_434a236b046bec969ddd37cabb006dea.jpg resize: (1080, 1632) 1358818981 -5.601202342359834 treat image : temp/1747369347_2385799_1358818950_88bcb1fb3b1308c4a7030a5b0e629558.jpg resize: (1080, 1632) 1358818950 -2.3019010714026957 treat image : temp/1747369347_2385799_1358818914_8334e4720d039f69787be71479f02325.jpg resize: (1080, 1632) 1358818914 -3.383720804119464 treat image : temp/1747369347_2385799_1358818862_c1f62f38ab6ede98cae6b88da1c8f85b.jpg resize: (1080, 1632) 1358818862 -4.921565891258724 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.013620615005493164 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.013008356094360352 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.18699336051940918 save missing photos in datou_result : time spend for datou_step_exec : 17.5951189994812 time spend to save output : 0.218919038772583 total time spend for step 1 : 17.814038038253784 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.49user 5.54system 0:22.49elapsed 89%CPU (0avgtext+0avgdata 141248maxresident)k 96inputs+8296outputs (11major+262869minor)pagefaults 0swaps