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 : 1950812 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/1950812/ 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 : 3.0532126426696777 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 18 00:27: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/1752791247_1950812_1372331171_fe0c96908ca9af7b4f694c227b9d137a.jpg resize: (1080, 1632) 1372331171 -5.549027513849082 treat image : temp/1752791247_1950812_1372331154_909de6c73b970e5fdd4a4e06952e4cf4.jpg resize: (1080, 1632) 1372331154 -2.557082460229737 treat image : temp/1752791247_1950812_1372331152_de145aae1de9f0749ae8ad3c600946d6.jpg resize: (1080, 1632) 1372331152 -2.5699612895825594 treat image : temp/1752791247_1950812_1372331148_d18d4367fa27f541d50519e5e06bfe72.jpg resize: (1080, 1632) 1372331148 -1.8143207220012767 treat image : temp/1752791247_1950812_1372331146_a16f2bf9448ef2958676bc14447cc471.jpg resize: (1080, 1632) 1372331146 -2.1838183567327425 treat image : temp/1752791247_1950812_1372331144_2b4d8dfdc6945bdcb395fcf210ba7dbb.jpg resize: (1080, 1632) 1372331144 -2.068218979837166 treat image : temp/1752791247_1950812_1372331140_ecae66db2c18fea4eedf25bf2cded157.jpg resize: (1080, 1632) 1372331140 -4.560608259756934 treat image : temp/1752791247_1950812_1372331119_81dde0a1aebde4b75852c7a7afaf13d0.jpg resize: (1080, 1632) 1372331119 -2.9524146132205096 treat image : temp/1752791247_1950812_1372331116_7dfe32af6620ef6ee7b3b9dd4afa6cf8.jpg resize: (1080, 1632) 1372331116 -2.980028728617786 treat image : temp/1752791247_1950812_1372331113_c5ef76469b1f983a047bb15f6d1ad3e9.jpg resize: (1080, 1632) 1372331113 -2.5449994661230173 treat image : temp/1752791247_1950812_1372331109_a5a8fb0122293d53df9cae8649d09eb9.jpg resize: (1080, 1632) 1372331109 -2.535542691117924 treat image : temp/1752791247_1950812_1372331107_549413a18c1979d4f9458ab0b923eb2d.jpg resize: (1080, 1632) 1372331107 -2.553112086657526 treat image : temp/1752791247_1950812_1372331103_1c2c03f4c3f06204f3a3a759b91a3c10.jpg resize: (1080, 1632) 1372331103 -2.5338347078346075 treat image : temp/1752791247_1950812_1372331090_50e82a20571c8825b39562e1d0e900de.jpg resize: (1080, 1632) 1372331090 -2.4394343387666457 treat image : temp/1752791247_1950812_1372331086_3c244a231e516b54d858449762be1cc8.jpg resize: (1080, 1632) 1372331086 -1.5948311051199193 treat image : temp/1752791247_1950812_1372331082_88d7950cbc7c5aa6a94cfe6d18294148.jpg resize: (1080, 1632) 1372331082 -2.887612532036908 treat image : temp/1752791247_1950812_1372331081_38cfb581e508d15d378fd66c25a9a7e1.jpg resize: (1080, 1632) 1372331081 -2.900941804308389 treat image : temp/1752791247_1950812_1372331078_980c60802c8b8fb6219e5de4d7656955.jpg resize: (1080, 1632) 1372331078 -2.890950998095285 treat image : temp/1752791247_1950812_1372331076_f74526e4c32165ddedf700e7f588908b.jpg resize: (1080, 1632) 1372331076 -2.8915033947093787 treat image : temp/1752791247_1950812_1372331050_25e83b45f356d3758a7a2bec2ddead5a.jpg resize: (1080, 1632) 1372331050 -3.2956362840475713 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.01409459114074707 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.014854907989501953 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015086650848388672 save missing photos in datou_result : time spend for datou_step_exec : 15.356561183929443 time spend to save output : 0.04968547821044922 total time spend for step 1 : 15.406246662139893 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.91user 4.30system 0:21.00elapsed 86%CPU (0avgtext+0avgdata 137724maxresident)k 112inputs+7272outputs (3major+257881minor)pagefaults 0swaps