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 : 4135686 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 : 3600>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/4135686/ 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.3996450901031494 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 17 10:47:32 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/1752742050_4135686_1372386161_5726c55462e7c81322759b27b552837d.jpg resize: (1080, 1632) 1372386161 -5.322536768016624 treat image : temp/1752742050_4135686_1372386157_07ac4bd0cf1bbfe30ff0d22df0d71f0f.jpg resize: (1080, 1632) 1372386157 -5.403665154860957 treat image : temp/1752742050_4135686_1372386150_7de567d42295a34a6ad294326ed76060.jpg resize: (1080, 1632) 1372386150 -5.406273191476014 treat image : temp/1752742050_4135686_1372386131_4e4223ce4d87516fea43cf5d82627d39.jpg resize: (1080, 1632) 1372386131 -5.402772327566738 treat image : temp/1752742050_4135686_1372386118_8b7766177055a878792dd6fd32a1d872.jpg resize: (1080, 1632) 1372386118 -5.406883782688232 treat image : temp/1752742050_4135686_1372386107_4561e858b410030820810219df79f7db.jpg resize: (1080, 1632) 1372386107 -5.416304411524744 treat image : temp/1752742050_4135686_1372386039_96c4b8436142f18a3acc88ac2a15adac.jpg resize: (1080, 1632) 1372386039 -5.387960770979311 treat image : temp/1752742050_4135686_1372386037_7ff78a9ce6663357bf7d025aa717db7e.jpg resize: (1080, 1632) 1372386037 -5.126342833973795 treat image : temp/1752742050_4135686_1372386034_678e3c773e388e2677bf0c47eb2ab53a.jpg resize: (1080, 1632) 1372386034 -5.255176331586978 treat image : temp/1752742050_4135686_1372386032_63409e51693bb61ceada5c60a581e231.jpg resize: (1080, 1632) 1372386032 -5.273348455845577 treat image : temp/1752742050_4135686_1372386028_f1c8d16f079508e70173e1645e305716.jpg resize: (1080, 1632) 1372386028 -5.362001972910495 treat image : temp/1752742050_4135686_1372386026_b998a196612246ce3d47daf19e0c46e9.jpg resize: (1080, 1632) 1372386026 -5.164195375525906 treat image : temp/1752742050_4135686_1372347966_b80eb34aea442d92d0bf71bfd1868f5e.jpg resize: (1080, 1632) 1372347966 -5.377969392132805 treat image : temp/1752742050_4135686_1372347963_d76d136057a8b31c89d3d98e5721b589.jpg resize: (1080, 1632) 1372347963 -2.0434571073258407 treat image : temp/1752742050_4135686_1372347961_ea0c074ff71c9b5a7084f70f68013272.jpg resize: (1080, 1632) 1372347961 -1.3893774072018017 treat image : temp/1752742050_4135686_1372347933_40f902fb7ebf10522d43368a19c1b118.jpg resize: (1080, 1632) 1372347933 -4.357227463083464 treat image : temp/1752742050_4135686_1372347930_4ed4b11657adc72ce4bac4e4df9ce361.jpg resize: (1080, 1632) 1372347930 -5.747570163512237 treat image : temp/1752742050_4135686_1372347928_d2345e817c9c579d7a63d1c8765069c1.jpg resize: (1080, 1632) 1372347928 -5.554300967113187 treat image : temp/1752742050_4135686_1372347926_c2515f3c2ff72556ed21bf1d193d9bbe.jpg resize: (1080, 1632) 1372347926 -5.544282075454846 treat image : temp/1752742050_4135686_1372347923_0b050463f46453bf81cd54e48e150c94.jpg resize: (1080, 1632) 1372347923 -4.440653881007442 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.04556584358215332 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.03901553153991699 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04086899757385254 save missing photos in datou_result : time spend for datou_step_exec : 14.244361639022827 time spend to save output : 0.1426236629486084 total time spend for step 1 : 14.386985301971436 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.57user 3.05system 0:21.17elapsed 78%CPU (0avgtext+0avgdata 139944maxresident)k 0inputs+9944outputs (0major+251837minor)pagefaults 0swaps