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 : 2945715 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 : 1198>100 please execute split_portfolio.py -i 21894590 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2707489'] with mtr_portfolio_ids : ['21894590'] and first list_photo_ids : [] new path : /proc/2945715/ 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.476456880569458 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 Mon Mar 31 11:22: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/1743412948_2945715_1348979880_c3964a8fd666099da36b163b40827b23.jpg resize: (1080, 1632) 1348979880 -1.6028268714298217 treat image : temp/1743412948_2945715_1348979855_d20966872acc555d1838cea0afe8b887.jpg resize: (1080, 1632) 1348979855 -1.9750160510969645 treat image : temp/1743412948_2945715_1348979831_da05cd3232745d212589b7626d89f96e.jpg resize: (1080, 1632) 1348979831 -2.05135592542817 treat image : temp/1743412948_2945715_1348979797_162cf1f268cce127e344ecde14685a1a.jpg resize: (1080, 1632) 1348979797 -5.205691534353763 treat image : temp/1743412948_2945715_1348979782_2ac18bdd39c6c6d1557bcd6b345a80ba.jpg resize: (1080, 1632) 1348979782 -6.27470472012332 treat image : temp/1743412948_2945715_1348964401_75964a128366f3326488c5df968bd2c7.jpg resize: (1080, 1632) 1348964401 -5.050917334266939 treat image : temp/1743412948_2945715_1348964398_fb959c6d4ee6c5a0baa7c6e9e782be9a.jpg resize: (1080, 1632) 1348964398 -5.38275376724193 treat image : temp/1743412948_2945715_1348964393_4815994cafb096d245f3e70b5e413348.jpg resize: (1080, 1632) 1348964393 -4.974830560585091 treat image : temp/1743412948_2945715_1348964389_a72e2a3495d46bc44dd7aa817e255898.jpg resize: (1080, 1632) 1348964389 -4.924793368873264 treat image : temp/1743412948_2945715_1348964341_cf0365c5a337427a6b5e90c21971eea3.jpg resize: (1080, 1632) 1348964341 -5.621699486967568 treat image : temp/1743412948_2945715_1348964337_c0de5fc11d5a0c3a831f45e6d7ff92bc.jpg resize: (1080, 1632) 1348964337 -5.483073480987862 treat image : temp/1743412948_2945715_1348964333_70ac68fbef3f93b95460c36f7a574111.jpg resize: (1080, 1632) 1348964333 -5.358526953517299 treat image : temp/1743412948_2945715_1348964331_152413d46d69dee04a4d6a3d1879be7a.jpg resize: (1080, 1632) 1348964331 -5.268532813175295 treat image : temp/1743412948_2945715_1348964292_40c74669d42eb8e75720f3b9703b8b9a.jpg resize: (1080, 1632) 1348964292 -1.4459531302034347 treat image : temp/1743412948_2945715_1348964287_4304991769ce457706b73e0045a6c48b.jpg resize: (1080, 1632) 1348964287 -2.816017460625147 treat image : temp/1743412948_2945715_1348964284_6fc27c38c0f36ba23f2a389420b87e10.jpg resize: (1080, 1632) 1348964284 -4.657240484054284 treat image : temp/1743412948_2945715_1348964248_6a460cb6e7abb254207b37045b5afc4f.jpg resize: (1080, 1632) 1348964248 -5.483973463370637 treat image : temp/1743412948_2945715_1348964245_7ece9376a2ad00ad34966658142af88f.jpg resize: (1080, 1632) 1348964245 -5.679111041825308 treat image : temp/1743412948_2945715_1348964241_c8e47e6292e2cd1fe7d247154564ea4f.jpg resize: (1080, 1632) 1348964241 -5.8246018806986655 treat image : temp/1743412948_2945715_1348964238_9dd89f775c002fce0ac11965d1a8447b.jpg resize: (1080, 1632) 1348964238 -4.053305513307453 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.09052729606628418 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.012029170989990234 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014900445938110352 save missing photos in datou_result : time spend for datou_step_exec : 15.400572776794434 time spend to save output : 0.12235260009765625 total time spend for step 1 : 15.52292537689209 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.77user 3.00system 0:21.48elapsed 82%CPU (0avgtext+0avgdata 140236maxresident)k 104inputs+9224outputs (0major+210024minor)pagefaults 0swaps