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 : 2481190 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 : 6515>100 please execute split_portfolio.py -i 25155834 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3316381'] with mtr_portfolio_ids : ['25155834'] and first list_photo_ids : [] new path : /proc/2481190/ 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.2289061546325684 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 Aug 2 02:27: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/1754094447_2481190_1374850608_f8d53c94abe80b42185cfce69dc41394.jpg resize: (1080, 1632) 1374850608 -5.235058849244311 treat image : temp/1754094447_2481190_1374850607_5691ef232b9e8c6c30f8b9a0955c037a.jpg resize: (1080, 1632) 1374850607 -5.214422870765767 treat image : temp/1754094447_2481190_1374850605_3854b7f1f7bf4ed0aa02cb6c8c7c38da.jpg resize: (1080, 1632) 1374850605 -4.903593153964719 treat image : temp/1754094447_2481190_1374850602_daf824a8a1b71e59933efc4f1aa56dd8.jpg resize: (1080, 1632) 1374850602 -5.1147169098154155 treat image : temp/1754094447_2481190_1374850599_9f172e48fd93eecc2447ff0985207f4e.jpg resize: (1080, 1632) 1374850599 -3.0863439862061406 treat image : temp/1754094447_2481190_1374850597_c934a887d2579d7e0ceeda1fa40812f0.jpg resize: (1080, 1632) 1374850597 -2.8480772487198998 treat image : temp/1754094447_2481190_1374850542_fdacb65a4e5291f4c37943dd8981ef83.jpg resize: (1080, 1632) 1374850542 -5.235058849244311 treat image : temp/1754094447_2481190_1374850540_bf809cd4d935f6793a32c738c53f5998.jpg resize: (1080, 1632) 1374850540 -5.214422870765767 treat image : temp/1754094447_2481190_1374850538_93245f40627d4fa6ea8ad09d7bf6669a.jpg resize: (1080, 1632) 1374850538 -4.903593153964719 treat image : temp/1754094447_2481190_1374850536_beaf8f26dac100b7b96be9c6979c2cbd.jpg resize: (1080, 1632) 1374850536 -5.1147169098154155 treat image : temp/1754094447_2481190_1374850533_e3c2beeef0659e61463d4ebe7ed9ca73.jpg resize: (1080, 1632) 1374850533 -3.0863439862061406 treat image : temp/1754094447_2481190_1374850531_4dc768234708f7abfbb9d77bd5ab39ed.jpg resize: (1080, 1632) 1374850531 -2.8480772487198998 treat image : temp/1754094447_2481190_1374850435_00c654152700971564af499478ce9235.jpg resize: (1080, 1632) 1374850435 -3.7496060395892314 treat image : temp/1754094447_2481190_1374850433_0fdd1507f142a826c0b257c5f9f5a4ca.jpg resize: (1080, 1632) 1374850433 -2.073854304346797 treat image : temp/1754094447_2481190_1374850430_09691458d086717cea945db812195325.jpg resize: (1080, 1632) 1374850430 -3.929055274179626 treat image : temp/1754094447_2481190_1374850426_7df902440b2f9002ebd88c33163ac6b1.jpg resize: (1080, 1632) 1374850426 -1.559766081171517 treat image : temp/1754094447_2481190_1374850423_12c6e61c4e8b8d75c0eac759182a718a.jpg resize: (1080, 1632) 1374850423 -3.767640477640833 treat image : temp/1754094447_2481190_1374850420_8f5287475863d7224a6df9776de9f4ee.jpg resize: (1080, 1632) 1374850420 -4.001091971887296 treat image : temp/1754094447_2481190_1374850405_ae1566c96933ba730132a4678ae7e312.jpg resize: (1080, 1632) 1374850405 -2.969638152078254 treat image : temp/1754094447_2481190_1374850402_223900345b37fb0610aacadeb7769b25.jpg resize: (1080, 1632) 1374850402 -2.185546765339719 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.016360044479370117 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.015761137008666992 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01802849769592285 save missing photos in datou_result : time spend for datou_step_exec : 14.667278051376343 time spend to save output : 0.05596280097961426 total time spend for step 1 : 14.723240852355957 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.77user 3.23system 0:19.12elapsed 88%CPU (0avgtext+0avgdata 137572maxresident)k 0inputs+8240outputs (11major+201512minor)pagefaults 0swaps