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 : 348451 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 : 8032>100 please execute split_portfolio.py -i 24580131 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3234427'] with mtr_portfolio_ids : ['24580131'] and first list_photo_ids : [] new path : /proc/348451/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 1.7721214294433594 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 Sat Jul 5 18:37: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/1751733448_348451_1370816946_3632b9f8b84a63919fd4ee4d022699e3.jpg resize: (1080, 1632) 1370816946 -0.15564124093990178 treat image : temp/1751733448_348451_1370816943_bbaa4438ec9321294cd2c155cccb01ec.jpg resize: (1080, 1632) 1370816943 -2.153893356185204 treat image : temp/1751733448_348451_1370816941_77210861c27bf1f7dbbbd0efb6950de1.jpg resize: (1080, 1632) 1370816941 -3.270360847964837 treat image : temp/1751733448_348451_1370816938_d6e22dc9afa7e973b33009955837c195.jpg resize: (1080, 1632) 1370816938 -3.2433790060652905 treat image : temp/1751733448_348451_1370816928_d67df9585ee3f3f11719e60259c9815b.jpg resize: (1080, 1632) 1370816928 -3.4047573468534815 treat image : temp/1751733448_348451_1370816913_d2135864b13758c14a41d8c001c8feab.jpg resize: (1080, 1632) 1370816913 -2.422363012876838 treat image : temp/1751733448_348451_1370816865_490904c30570800f0f9e421a6c76f3c9.jpg resize: (1080, 1632) 1370816865 -3.743936732786598 treat image : temp/1751733448_348451_1370816864_717a1181aca26388650e0afdafac0878.jpg resize: (1080, 1632) 1370816864 -5.355600995783951 treat image : temp/1751733448_348451_1370816856_4d85b0da92f328c817e44b2f70458f6c.jpg resize: (1080, 1632) 1370816856 -5.099870779608706 treat image : temp/1751733448_348451_1370816821_ec2223cac4f538c0f9a95ed4a5fe0b3d.jpg resize: (1080, 1632) 1370816821 -1.2514643498696663 treat image : temp/1751733448_348451_1370816788_eb4474d119d19998f65b626cc8149fb6.jpg resize: (1080, 1632) 1370816788 -2.7084522315563215 treat image : temp/1751733448_348451_1370816783_7aab94db7635724ff533db5085dcf635.jpg resize: (1080, 1632) 1370816783 -2.749085062866665 treat image : temp/1751733448_348451_1370816778_e918141cbb4b4845c54dbded0f9ac627.jpg resize: (1080, 1632) 1370816778 -1.7835577390176622 treat image : temp/1751733448_348451_1370816773_cc0a3148419feb961015aec87e0b94bf.jpg resize: (1080, 1632) 1370816773 -4.101567065859293 treat image : temp/1751733448_348451_1370816770_5f2b573bc05b8e25683c2f4adb5ab442.jpg resize: (1080, 1632) 1370816770 -4.384010566710941 treat image : temp/1751733448_348451_1370816769_c6cae96908aa142bd77afec5d11a6536.jpg resize: (1080, 1632) 1370816769 -4.20489924631009 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.013741493225097656 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.01294565200805664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.012962818145751953 save missing photos in datou_result : time spend for datou_step_exec : 13.119431018829346 time spend to save output : 0.044188499450683594 total time spend for step 1 : 13.16361951828003 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 11.33user 4.27system 0:18.27elapsed 85%CPU (0avgtext+0avgdata 138080maxresident)k 8inputs+5928outputs (18major+222728minor)pagefaults 0swaps