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 : 589369 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 : 7934>100 please execute split_portfolio.py -i 25479781 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3392459'] with mtr_portfolio_ids : ['25479781'] and first list_photo_ids : [] new path : /proc/589369/ 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.38668155670166 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 Aug 1 08:37: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/1754030247_589369_1374725904_612c2bc8460e429479933fd9526723a2.jpg resize: (1080, 1632) 1374725904 -3.625658720133648 treat image : temp/1754030247_589369_1374725900_e78b3834d2e4528e003938a5c0eb76d0.jpg resize: (1080, 1632) 1374725900 -5.372352682185483 treat image : temp/1754030247_589369_1374725898_a3b2796e798b5b20d269d72c4dd54538.jpg resize: (1080, 1632) 1374725898 -5.365240054614739 treat image : temp/1754030247_589369_1374725897_f3e73baa02feddc665e5de08fb5c0ea8.jpg resize: (1080, 1632) 1374725897 -4.249641189885919 treat image : temp/1754030247_589369_1374725895_baa05520bdf3ae11bebfb7543081d48b.jpg resize: (1080, 1632) 1374725895 -5.472684602562578 treat image : temp/1754030247_589369_1374725893_ee67fac87fe45e8495e72509f2621a36.jpg resize: (1080, 1632) 1374725893 -5.195556019881008 treat image : temp/1754030247_589369_1374725888_35e84479b7c3bee5f1cf949eb98aa600.jpg resize: (1080, 1632) 1374725888 -3.3552869978438844 treat image : temp/1754030247_589369_1374725886_802488b9aaebd3e5d4148dc334aaf6d8.jpg resize: (1080, 1632) 1374725886 -3.053457222812036 treat image : temp/1754030247_589369_1374725884_5f244a5d81f8cfb64b72bbefe33b0240.jpg resize: (1080, 1632) 1374725884 -4.493203383481191 treat image : temp/1754030247_589369_1374725882_b69b3d81a47c066a79c9a52e5a45680e.jpg resize: (1080, 1632) 1374725882 -4.739684037890351 treat image : temp/1754030247_589369_1374725880_fbc26066661263449550cd99fbb0c28c.jpg resize: (1080, 1632) 1374725880 -4.795474013993784 treat image : temp/1754030247_589369_1374725879_c338d0088d4652f33800ef3d063d0128.jpg resize: (1080, 1632) 1374725879 -1.5993051407354706 treat image : temp/1754030247_589369_1374725803_068a8647fac67089cd734cdda7d4ba9d.jpg resize: (1080, 1632) 1374725803 -4.195868388719802 treat image : temp/1754030247_589369_1374725802_e739adf2c9dfdc4fbd21d2ba3e92b472.jpg resize: (1080, 1632) 1374725802 -5.161199646691903 treat image : temp/1754030247_589369_1374725800_b13d1c7c8b8a62ad3f45ee0b3e072425.jpg resize: (1080, 1632) 1374725800 -5.20241472697397 treat image : temp/1754030247_589369_1374725797_3ff8da292b75ef06f986c84651c6a17b.jpg resize: (1080, 1632) 1374725797 -4.8419317934902075 treat image : temp/1754030247_589369_1374725637_428e7c20354776bc9d9b6bf0423d9d3e.jpg resize: (1080, 1632) 1374725637 -3.7356128625744485 treat image : temp/1754030247_589369_1374725635_cadabbe16de7111773282e4ca0a65c82.jpg resize: (1080, 1632) 1374725635 -1.877715818275193 treat image : temp/1754030247_589369_1374725627_e818761d623a17025ff83d38e634370a.jpg resize: (1080, 1632) 1374725627 -4.056325886892239 treat image : temp/1754030247_589369_1374725625_1594cb1b5c0a9baa23b1a2791d5f6d90.jpg resize: (1080, 1632) 1374725625 -4.345902843734541 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.012924432754516602 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.06677770614624023 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.031939029693603516 save missing photos in datou_result : time spend for datou_step_exec : 14.906042575836182 time spend to save output : 0.11623430252075195 total time spend for step 1 : 15.022276878356934 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.96user 3.42system 0:19.53elapsed 89%CPU (0avgtext+0avgdata 139820maxresident)k 16inputs+9144outputs (6major+259196minor)pagefaults 0swaps