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 : 147887 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 : 4380>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/147887/ 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.977689743041992 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 Thu Jul 17 13: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/1752750448_147887_1372403163_64001a9cb1983bb1c44c1a5ce7d7392c.jpg resize: (1080, 1632) 1372403163 -5.4924057554926256 treat image : temp/1752750448_147887_1372403158_e83567ebfd750732e768392cc9d4e313.jpg resize: (1080, 1632) 1372403158 -5.49444872473434 treat image : temp/1752750448_147887_1372403154_8ce93c5d929f6bb5675c44b8727cd9ba.jpg resize: (1080, 1632) 1372403154 -5.522739517392882 treat image : temp/1752750448_147887_1372403151_3026705a88f021e82a69add45d376dd3.jpg resize: (1080, 1632) 1372403151 -5.543639420997791 treat image : temp/1752750448_147887_1372403147_b50878e22f3e5c2c9ba8694ba46c9a56.jpg resize: (1080, 1632) 1372403147 -5.5475671022271955 treat image : temp/1752750448_147887_1372403144_ebd722702b6d9372f9a24462694ac248.jpg resize: (1080, 1632) 1372403144 -5.5489217354032645 treat image : temp/1752750448_147887_1372344124_7302f36d442b4189c9a73e4ab27e193f.jpg resize: (1080, 1632) 1372344124 -6.223646304139774 treat image : temp/1752750448_147887_1372344120_c8b6609582ab09811d8a9868438d2ed7.jpg resize: (1080, 1632) 1372344120 -4.716825551897726 treat image : temp/1752750448_147887_1372344102_25f39de05364cce0babc3b2a67a9558a.jpg resize: (1080, 1632) 1372344102 -4.415334358822282 treat image : temp/1752750448_147887_1372344100_897774fe7bde3625e3ab9eb03e0ca7e8.jpg resize: (1080, 1632) 1372344100 -4.412047488384717 treat image : temp/1752750448_147887_1372344098_b9bf4f2038cf136ac8f21ae282a865ba.jpg resize: (1080, 1632) 1372344098 -4.414410957458188 treat image : temp/1752750448_147887_1372344096_c5a4ef0d33c420ec21c79ecba393be85.jpg resize: (1080, 1632) 1372344096 -4.400788514763284 treat image : temp/1752750448_147887_1372344093_d153cd6009edf44c31b30ca8b71b6d76.jpg resize: (1080, 1632) 1372344093 -6.044622952395197 treat image : temp/1752750448_147887_1372344091_0eba39d7ce164ea01c91e230fa891c12.jpg resize: (1080, 1632) 1372344091 -6.257076007710847 treat image : temp/1752750448_147887_1372344073_35282e6b85be324842954b79758f3a5f.jpg resize: (1080, 1632) 1372344073 -4.994165441495993 treat image : temp/1752750448_147887_1372344071_89e6e84e1d67826e4b42999d569799e6.jpg resize: (1080, 1632) 1372344071 -5.01504375909914 treat image : temp/1752750448_147887_1372344069_7fbfe2a00accede7407dd8e66d1980b0.jpg resize: (1080, 1632) 1372344069 -4.863541563663132 treat image : temp/1752750448_147887_1372344067_b3ae3a2be6df001d35e57c112ac8aa9e.jpg resize: (1080, 1632) 1372344067 -4.836306482031611 treat image : temp/1752750448_147887_1372344065_d3ef146b26e76cf6df8709a06c933c41.jpg resize: (1080, 1632) 1372344065 -4.4136063931275205 treat image : temp/1752750448_147887_1372344064_fe6f6b8d16e546c248f6cb7d75034ae1.jpg resize: (1080, 1632) 1372344064 -4.406022697185306 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.03508305549621582 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.028662681579589844 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03545975685119629 save missing photos in datou_result : time spend for datou_step_exec : 17.721468210220337 time spend to save output : 0.10951447486877441 total time spend for step 1 : 17.83098268508911 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.38user 5.76system 0:24.42elapsed 82%CPU (0avgtext+0avgdata 138752maxresident)k 120inputs+9640outputs (2major+257474minor)pagefaults 0swaps