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 : 2322775 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 : 7885>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/2322775/ 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.3136684894561768 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 Jul 11 00: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/1752187048_2322775_1371531934_44b5219a385a0c61c67e98015d6531f6.jpg resize: (1080, 1632) 1371531934 -5.050778928488824 treat image : temp/1752187048_2322775_1371531838_9de9b77bb2962fd12afc2377f4b4ee8d.jpg resize: (1080, 1632) 1371531838 0.07133269381369584 treat image : temp/1752187048_2322775_1371531749_9cd7154b9d1da13d0897dd4b1763cd70.jpg resize: (1080, 1632) 1371531749 -2.020580704131479 treat image : temp/1752187048_2322775_1371531747_20e930c05c942d0d24860d489fcd8231.jpg resize: (1080, 1632) 1371531747 -3.8827541808330666 treat image : temp/1752187048_2322775_1371531564_f895194793ae27f67a73a67671594fca.jpg resize: (1080, 1632) 1371531564 -4.2934598104819806 treat image : temp/1752187048_2322775_1371531490_b0bda840405d22ca5b15cd256238991e.jpg resize: (1080, 1632) 1371531490 -1.8168474684961642 treat image : temp/1752187048_2322775_1371531391_b9bf584177e78c23b9c8ecd1c960083a.jpg resize: (1080, 1632) 1371531391 -2.979791224988597 treat image : temp/1752187048_2322775_1371531388_d399d0f79d6f321fd2c4c98d0a7036de.jpg resize: (1080, 1632) 1371531388 -4.075451821330217 treat image : temp/1752187048_2322775_1371531187_f54b96ca55da1637f26dee86271837cd.jpg resize: (1080, 1632) 1371531187 -5.331195416227183 treat image : temp/1752187048_2322775_1371531163_6823e7894d80d1a65d08c01179ba38f4.jpg resize: (1080, 1632) 1371531163 -2.819315676168117 treat image : temp/1752187048_2322775_1371530967_186fc1f46148587b0731bbb03f7ed019.jpg resize: (1080, 1632) 1371530967 -0.5035753896650649 treat image : temp/1752187048_2322775_1371530937_e115a5cfc62ea5a61bf4130e4bf21b04.jpg resize: (1080, 1632) 1371530937 -5.068292220777562 treat image : temp/1752187048_2322775_1371530810_4f5517cb7c67bb5b56cece116524f3c5.jpg resize: (1080, 1632) 1371530810 -4.383207239150039 treat image : temp/1752187048_2322775_1371530809_fab7b4551c0a72eade0fc5008ed99cc0.jpg resize: (1080, 1632) 1371530809 -1.8143674421551141 treat image : temp/1752187048_2322775_1371530636_543bb0ce64e3c7009c927bf449e9ad20.jpg resize: (1080, 1632) 1371530636 -3.79298245960708 treat image : temp/1752187048_2322775_1371530582_91586cce7c130ea3471f05f5626a7e67.jpg resize: (1080, 1632) 1371530582 -4.918055835242326 treat image : temp/1752187048_2322775_1371530420_6dc7e94ab75e9d4c70074abde2d65703.jpg resize: (1080, 1632) 1371530420 -2.4684063052491902 treat image : temp/1752187048_2322775_1371530416_3b4eae3e3ae0e59910680cff8a7bc66f.jpg resize: (1080, 1632) 1371530416 -5.421531916809535 treat image : temp/1752187048_2322775_1371530299_05fad68fdd2f275022e636af2677a1e8.jpg resize: (1080, 1632) 1371530299 -4.992133461574184 treat image : temp/1752187048_2322775_1371530247_9d746fef10261eea10e1143f6814c4a0.jpg resize: (1080, 1632) 1371530247 -1.5950058487577201 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.01292109489440918 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.012834548950195312 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017004728317260742 save missing photos in datou_result : time spend for datou_step_exec : 17.652631998062134 time spend to save output : 0.04707455635070801 total time spend for step 1 : 17.699706554412842 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.62user 6.39system 0:22.74elapsed 88%CPU (0avgtext+0avgdata 140728maxresident)k 104inputs+7768outputs (18major+259271minor)pagefaults 0swaps