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 : 3712466 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 : 5471>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/3712466/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371591918 complete_path : /home/admin/workarea/git/Velours/python/temp/1752244047_3712466_1371591918_057b66056f84e162b6c1fe248975aac6.jpg FBHTTP Error 404: Not Found can't download the photo : 1371591904 complete_path : /home/admin/workarea/git/Velours/python/temp/1752244047_3712466_1371591904_4beb0ae9ba506940ccea4ff65ce97acc.jpg Fwe have missing 2 photos in the step downloads : photo missing : [1371591918, 1371591904] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591918 Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371591904 length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.852158308029175 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 16:27: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/1752244047_3712466_1371606992_6234315f42b54ffa8965a13afab20a23.jpg resize: (1080, 1632) 1371606992 -2.8998866695040846 treat image : temp/1752244047_3712466_1371606987_09c47e13d42586f549846c7baab030c3.jpg resize: (1080, 1632) 1371606987 -2.9472957217698466 treat image : temp/1752244047_3712466_1371606983_9cab1cd0c0260b309deb2afa32bcbf0e.jpg resize: (1080, 1632) 1371606983 -5.7579107141265355 treat image : temp/1752244047_3712466_1371606978_acfe2dbb107fdb10a10321b212c8de64.jpg resize: (1080, 1632) 1371606978 -5.4528969225061665 treat image : temp/1752244047_3712466_1371606942_80c4cd742dc2c9a48628e4fd9e3d91bf.jpg resize: (1080, 1632) 1371606942 -5.162394304360999 treat image : temp/1752244047_3712466_1371606914_6735a35fe0c6d7656883712141b1d438.jpg resize: (1080, 1632) 1371606914 -5.227252342623176 treat image : temp/1752244047_3712466_1371606884_d32567907929f58156e69600f6cb8bea.jpg resize: (1080, 1632) 1371606884 -4.400173935497035 treat image : temp/1752244047_3712466_1371606855_f3b350afedbba0152756184e41bee5f9.jpg resize: (1080, 1632) 1371606855 -1.5881811794492766 treat image : temp/1752244047_3712466_1371606824_f71403d54f147f0486c0a16a01f0182d.jpg resize: (1080, 1632) 1371606824 -0.8982135003951843 treat image : temp/1752244047_3712466_1371606796_89d0b3feb73bb8da7d9cd2840e42d5aa.jpg resize: (1080, 1632) 1371606796 -1.8102265980154038 treat image : temp/1752244047_3712466_1371606708_b4bc1d3c433e3541d174dc60a11a5b11.jpg resize: (1080, 1632) 1371606708 -5.069057464982071 treat image : temp/1752244047_3712466_1371606680_a8a8f3fdda7c158edc7df319272980ce.jpg resize: (1080, 1632) 1371606680 -5.095676137089318 treat image : temp/1752244047_3712466_1371606652_4dc7459a306905145a9073d97ad3eb99.jpg resize: (1080, 1632) 1371606652 -5.089843436545808 treat image : temp/1752244047_3712466_1371606621_4b10f29f935be40096aa4e55b5854a3f.jpg resize: (1080, 1632) 1371606621 -5.06284113872811 treat image : temp/1752244047_3712466_1371606590_0d13543c9975fb9e270de6a6d4f102e0.jpg resize: (1080, 1632) 1371606590 -5.08435255802496 treat image : temp/1752244047_3712466_1371606539_2c1ccd9c48a11c6e0383864f3a7c8531.jpg resize: (1080, 1632) 1371606539 -5.1038303986358144 treat image : temp/1752244047_3712466_1371591923_7e08193c61b7e9164c70382550799e7d.jpg resize: (1080, 1632) 1371591923 -5.1361572560317175 treat image : temp/1752244047_3712466_1371591919_f7d7d6effb6528f6c6dab49790367ad7.jpg resize: (1080, 1632) 1371591919 -5.148494202978696 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 : 18 time used for this insertion : 0.012542724609375 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.012933492660522461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01786947250366211 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 2 time used for this insertion : 0.011719226837158203 time spend for datou_step_exec : 14.131714582443237 time spend to save output : 0.059996604919433594 total time spend for step 1 : 14.191711187362671 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.25user 3.37system 0:19.07elapsed 87%CPU (0avgtext+0avgdata 139424maxresident)k 56inputs+8296outputs (3major+213900minor)pagefaults 0swaps