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 : 59456 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 : 6126>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/59456/ 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.233099937438965 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 Wed Jul 9 23:12: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/1752095547_59456_1371444428_277a6ad357b9369d4baf839ea355653e.jpg resize: (1080, 1632) 1371444428 -4.1883944768469075 treat image : temp/1752095547_59456_1371444426_b066882e0ba0a2904b85b651af0bdafd.jpg resize: (1080, 1632) 1371444426 -5.516087751863585 treat image : temp/1752095547_59456_1371444424_5772800d62c54068f7940b8f8868ea6d.jpg resize: (1080, 1632) 1371444424 -5.057909290754079 treat image : temp/1752095547_59456_1371444421_1f9f4b644c64ab65077972b812a4247f.jpg resize: (1080, 1632) 1371444421 -5.48757122651997 treat image : temp/1752095547_59456_1371444384_3e568e64b4e779358cdee0720d8dd1a0.jpg resize: (1080, 1632) 1371444384 -4.389155093275285 treat image : temp/1752095547_59456_1371444362_b0e1e967dcd1fc710c9356310e98ef46.jpg resize: (1080, 1632) 1371444362 -4.9691933375418165 treat image : temp/1752095547_59456_1371444359_bab605beffba231f06ad6c05fd45f978.jpg resize: (1080, 1632) 1371444359 -5.247933866063998 treat image : temp/1752095547_59456_1371444342_8d5be99526549125d73c75c564735e26.jpg resize: (1080, 1632) 1371444342 -5.1884433109887125 treat image : temp/1752095547_59456_1371444314_3dfad049af4ba46ea03aedbb69215ef5.jpg resize: (1080, 1632) 1371444314 -4.781825987541956 treat image : temp/1752095547_59456_1371444290_1fcbaba59031742ec5a4565ee7488512.jpg resize: (1080, 1632) 1371444290 -4.472958211025886 treat image : temp/1752095547_59456_1371443626_707f063cf4b3769010ca0125c4388392.jpg resize: (1080, 1632) 1371443626 -1.8082635088025685 treat image : temp/1752095547_59456_1371443621_3b7f181a3af2e85f4ff2cf7a8c20a2e8.jpg resize: (1080, 1632) 1371443621 -1.8082635088025685 treat image : temp/1752095547_59456_1371443609_c3614632fa266a88a82e95117674b2a9.jpg resize: (1080, 1632) 1371443609 -1.4764818643925635 treat image : temp/1752095547_59456_1371443608_437c7a54ee54c2ae175ac1400972b2c5.jpg resize: (1080, 1632) 1371443608 -1.4764818643925635 treat image : temp/1752095547_59456_1371441951_f96496a2460c6fde9dec59209af04f8a.jpg resize: (1080, 1632) 1371441951 -3.371527692732746 treat image : temp/1752095547_59456_1371441949_34c0393a8a9b5a47119184eb6d13bd92.jpg resize: (1080, 1632) 1371441949 -3.86154863571756 treat image : temp/1752095547_59456_1371441941_30485f28902253748b97e307d9642567.jpg resize: (1080, 1632) 1371441941 -5.16605540126592 treat image : temp/1752095547_59456_1371441940_6857777f5fd59bff2a0a64762760acaf.jpg resize: (1080, 1632) 1371441940 -5.157452353694186 treat image : temp/1752095547_59456_1371441938_06405da27f7420d0f99e44bc0150e3c9.jpg resize: (1080, 1632) 1371441938 -4.913229551375082 treat image : temp/1752095547_59456_1371441935_4606eb8864231361e94505e3d6c3d672.jpg resize: (1080, 1632) 1371441935 -5.318566726060448 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.015324592590332031 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.01202392578125 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014240264892578125 save missing photos in datou_result : time spend for datou_step_exec : 14.49897813796997 time spend to save output : 0.048079490661621094 total time spend for step 1 : 14.547057628631592 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.74user 3.09system 0:20.02elapsed 84%CPU (0avgtext+0avgdata 139576maxresident)k 32inputs+9152outputs (2major+215259minor)pagefaults 0swaps