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 : 3175015 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 : 2758>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/3175015/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.355336904525757 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 3 10:47: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/1751532448_3175015_1370388089_269e2468cfe6cf16badd2c6410d239d9.jpg resize: (1080, 1632) 1370388089 -3.874709683495802 treat image : temp/1751532448_3175015_1370388042_82ee5bd45eb925f6306584f630b400f2.jpg resize: (1080, 1632) 1370388042 -4.426383408006203 treat image : temp/1751532448_3175015_1370388038_0f6fa7c11ee166a978e9a79eebf12ebd.jpg resize: (1080, 1632) 1370388038 -5.627913564045905 treat image : temp/1751532448_3175015_1370388035_683abbe109fcb5243aed582d316e1234.jpg resize: (1080, 1632) 1370388035 -5.271203256880931 treat image : temp/1751532448_3175015_1370388028_86882780c789fb02fbc6857df312af4a.jpg resize: (1080, 1632) 1370388028 -5.251703764704514 treat image : temp/1751532448_3175015_1370388019_3bdf9f3a7a4b7b73ebebb3dc7bcfaa89.jpg resize: (1080, 1632) 1370388019 -5.717772924130663 treat image : temp/1751532448_3175015_1370388007_be491324fe87fc4598df7229439e908f.jpg resize: (1080, 1632) 1370388007 -5.203892027281226 treat image : temp/1751532448_3175015_1370388000_80ad23291a35b606a965aea4897800f4.jpg resize: (1080, 1632) 1370388000 -5.070494466761981 treat image : temp/1751532448_3175015_1370387998_3576edcc64dc2cdaed682e5c8cda1ce0.jpg resize: (1080, 1632) 1370387998 -1.7927256324923948 treat image : temp/1751532448_3175015_1370387996_f4b4924e8487d320ed45cbc8dde1c068.jpg resize: (1080, 1632) 1370387996 -2.8125605007264336 treat image : temp/1751532448_3175015_1370387992_415cf47033870a94a5128f22a4e07d4a.jpg resize: (1080, 1632) 1370387992 -2.242542348562818 treat image : temp/1751532448_3175015_1370387989_ff198580a50208f0c360d27d89c87264.jpg resize: (1080, 1632) 1370387989 -2.721279252164186 treat image : temp/1751532448_3175015_1370387971_8285510c3299465cb965e1c30c5f0922.jpg resize: (1080, 1632) 1370387971 -5.369613239586243 treat image : temp/1751532448_3175015_1370387968_ba046245605751e0774ffe5a1658425f.jpg resize: (1080, 1632) 1370387968 -5.375349609532661 treat image : temp/1751532448_3175015_1370387962_4cb27a4e477064f65793b969b17c5a80.jpg resize: (1080, 1632) 1370387962 -5.376438413035481 treat image : temp/1751532448_3175015_1370387958_0ce15e1ee6c3746378ce35950d626c69.jpg resize: (1080, 1632) 1370387958 -5.381164838622125 treat image : temp/1751532448_3175015_1370387949_b636775ecf00df40a3dd782dc35a55b7.jpg resize: (1080, 1632) 1370387949 -5.383301591734388 treat image : temp/1751532448_3175015_1370387943_44c306d6f312fe8f36e4a6956c2a4af2.jpg resize: (1080, 1632) 1370387943 -5.392922287055112 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.014744281768798828 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.0479278564453125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.03890419006347656 save missing photos in datou_result : time spend for datou_step_exec : 15.421348333358765 time spend to save output : 0.10643148422241211 total time spend for step 1 : 15.527779817581177 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.45user 4.29system 0:21.18elapsed 83%CPU (0avgtext+0avgdata 140648maxresident)k 2528inputs+8352outputs (12major+236026minor)pagefaults 0swaps