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 : 4108797 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 : 8480>100 please execute split_portfolio.py -i 25300662 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3345597'] with mtr_portfolio_ids : ['25300662'] and first list_photo_ids : [] new path : /proc/4108797/ 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.2686429023742676 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 Aug 1 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/1754008046_4108797_1374701715_4b2f1ce11984d1fbc48eb2c81df1ad09.jpg resize: (1080, 1632) 1374701715 -5.09128548308798 treat image : temp/1754008046_4108797_1374701714_5f45afa4d3c9395873e8c69f3b2d2508.jpg resize: (1080, 1632) 1374701714 -4.346018727785744 treat image : temp/1754008046_4108797_1374701713_708fe1c49468d01da16d3a11da31f6bc.jpg resize: (1080, 1632) 1374701713 -3.786928176996282 treat image : temp/1754008046_4108797_1374701712_6c2751208e2752a8cb790618d1808c35.jpg resize: (1080, 1632) 1374701712 -2.11810678651979 treat image : temp/1754008046_4108797_1374701711_b051718d26f07f7b58dad2a81559c2ea.jpg resize: (1080, 1632) 1374701711 -1.527469845184847 treat image : temp/1754008046_4108797_1374701709_b88389cc8942b9e8b53c83deff5273f4.jpg resize: (1080, 1632) 1374701709 -2.661121976428199 treat image : temp/1754008046_4108797_1374701689_84e58e44055f4745d7fa9c52470558e0.jpg resize: (1080, 1632) 1374701689 -2.979089234977623 treat image : temp/1754008046_4108797_1374701687_3507e3dcea8f44f872c515e907ec92ec.jpg resize: (1080, 1632) 1374701687 -4.98774187738741 treat image : temp/1754008046_4108797_1374701686_65b8b58548f197d2b41c51275f14f37a.jpg resize: (1080, 1632) 1374701686 -4.897461428702822 treat image : temp/1754008046_4108797_1374701684_c7a954112bf60cd7089697e532351e2c.jpg resize: (1080, 1632) 1374701684 -4.303813470756789 treat image : temp/1754008046_4108797_1374701683_1b62835156f0dcee47c1044baa4b1fd6.jpg resize: (1080, 1632) 1374701683 -4.598174409223554 treat image : temp/1754008046_4108797_1374701682_496e39b254e8a2e7899c311d13c2be9a.jpg resize: (1080, 1632) 1374701682 -5.2486788526537 treat image : temp/1754008046_4108797_1374701669_30a2ef9a0310644b6dda5379584f02b9.jpg resize: (1080, 1632) 1374701669 -5.36076705920227 treat image : temp/1754008046_4108797_1374701667_b50c10d10111570fd22c024a61a867be.jpg resize: (1080, 1632) 1374701667 -3.3296808302788836 treat image : temp/1754008046_4108797_1374701665_1cf5570a72a6e25974b7d223f6138b9b.jpg resize: (1080, 1632) 1374701665 -5.352877709946502 treat image : temp/1754008046_4108797_1374701664_d155d5e79f3a80ca35ae5f9944a0d46d.jpg resize: (1080, 1632) 1374701664 -1.7600010276006128 treat image : temp/1754008046_4108797_1374701661_e989e1549af58eb6436bcff58cf4496d.jpg resize: (1080, 1632) 1374701661 -3.9402715650883313 treat image : temp/1754008046_4108797_1374701660_cdf2f1e4ccadcfb817572082f180624b.jpg resize: (1080, 1632) 1374701660 -5.300687768721565 treat image : temp/1754008046_4108797_1374701647_4ce3b447a7a13d865b72442987b0419c.jpg resize: (1080, 1632) 1374701647 -5.3368432924760505 treat image : temp/1754008046_4108797_1374701646_858e51302184e2334ac87ce378404686.jpg resize: (1080, 1632) 1374701646 -3.436447107151278 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.016866445541381836 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.012763500213623047 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015035390853881836 save missing photos in datou_result : time spend for datou_step_exec : 14.40055799484253 time spend to save output : 0.04903078079223633 total time spend for step 1 : 14.449588775634766 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.94user 2.86system 0:19.11elapsed 87%CPU (0avgtext+0avgdata 139364maxresident)k 0inputs+8416outputs (1major+180127minor)pagefaults 0swaps