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 : 3822366 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 : 5873>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3822366/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371590973 complete_path : /home/admin/workarea/git/Velours/python/temp/1752246447_3822366_1371590973_761706aaba5780113db44670e0ef1e94.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371590922 complete_path : /home/admin/workarea/git/Velours/python/temp/1752246447_3822366_1371590922_90211e4d7f8a37d9c819d5d841bc61a7.jpg FBFBHTTP Error 404: Not Found can't download the photo : 1371590769 complete_path : /home/admin/workarea/git/Velours/python/temp/1752246447_3822366_1371590769_47098e1cee01d9128c5aceb2a48331c7.jpg FBHTTP Error 404: Not Found can't download the photo : 1371590767 complete_path : /home/admin/workarea/git/Velours/python/temp/1752246447_3822366_1371590767_bfb777ae134eab16858580df6ba95464.jpg FBFwe have missing 4 photos in the step downloads : photo missing : [1371590973, 1371590922, 1371590769, 1371590767] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371590973 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371590922 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371590769 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371590767 length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 3.6391761302948 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 Jul 11 17:07:31 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/1752246447_3822366_1371617281_9f9f0dd415c5291a03ad53a28f7bdf49.jpg resize: (1080, 1632) 1371617281 -5.186873779427918 treat image : temp/1752246447_3822366_1371617279_35136cf8f35cbac6d43db9108e1bd9af.jpg resize: (1080, 1632) 1371617279 -5.174556898277188 treat image : temp/1752246447_3822366_1371617276_f6a231f6055011fb0173bab176adc399.jpg resize: (1080, 1632) 1371617276 -5.179088189243418 treat image : temp/1752246447_3822366_1371617273_bafe826e4d91e2df4594474fa888440e.jpg resize: (1080, 1632) 1371617273 -5.1703968442939585 treat image : temp/1752246447_3822366_1371617268_382208d60c7d73e601f876ea308a2a4a.jpg resize: (1080, 1632) 1371617268 -5.173421082381791 treat image : temp/1752246447_3822366_1371617261_b3d43bfce06b9de175ff0c72d6617ad5.jpg resize: (1080, 1632) 1371617261 -5.179994940953383 treat image : temp/1752246447_3822366_1371617243_e5dfac1f07307068539dc94bca1b7b77.jpg resize: (1080, 1632) 1371617243 -3.0806411392075983 treat image : temp/1752246447_3822366_1371617241_c78d659be1a4dc8ba12d19e7221999b2.jpg resize: (1080, 1632) 1371617241 -3.0884328196865978 treat image : temp/1752246447_3822366_1371617237_d77be9e84b49f297b6fdc9d18a309cf0.jpg resize: (1080, 1632) 1371617237 -3.0720948166640283 treat image : temp/1752246447_3822366_1371617234_40827c27988c08e279ac6b7868518980.jpg resize: (1080, 1632) 1371617234 -3.064370650029181 treat image : temp/1752246447_3822366_1371617231_45acb7ac41497d64d0f865e066a57c51.jpg resize: (1080, 1632) 1371617231 -3.059057052186463 treat image : temp/1752246447_3822366_1371617227_a656fe5809c45f3c207ba8ec8fdbee7d.jpg resize: (1080, 1632) 1371617227 -3.0199130200344038 treat image : temp/1752246447_3822366_1371590995_db00a3185be217004fcfa7e0b882a99c.jpg resize: (1080, 1632) 1371590995 -4.2799582031201675 treat image : temp/1752246447_3822366_1371590924_00cd88175e9ed1bfcdfc9a1c4a2bea1c.jpg resize: (1080, 1632) 1371590924 -5.193947836607683 treat image : temp/1752246447_3822366_1371590851_7996afad56f5a1d8596366fc975ef111.jpg resize: (1080, 1632) 1371590851 -5.176322754690359 treat image : temp/1752246447_3822366_1371590763_a1263f5678ea47445299d95e50a3b74f.jpg resize: (1080, 1632) 1371590763 -3.8359664734854637 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 : 16 time used for this insertion : 0.012866020202636719 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 16 time used for this insertion : 0.011927604675292969 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.014796972274780273 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 4 time used for this insertion : 0.012052297592163086 time spend for datou_step_exec : 14.31130075454712 time spend to save output : 0.0566558837890625 total time spend for step 1 : 14.367956638336182 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 12.45user 4.22system 0:21.07elapsed 79%CPU (0avgtext+0avgdata 138996maxresident)k 1624inputs+7136outputs (2major+196627minor)pagefaults 0swaps