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 : 1893271 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 : 641>100 please execute split_portfolio.py -i 20738676 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2606245'] with mtr_portfolio_ids : ['20738676'] and first list_photo_ids : [] new path : /proc/1893271/ 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.1636528968811035 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 Sat Feb 22 03:12:33 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/1740190350_1893271_1338970303_56bdd425baf12d22a82fb3821e76cd5a.jpg resize: (1080, 1632) 1338970303 -3.668437697080355 treat image : temp/1740190350_1893271_1338970302_9ffe49156b0b9ccb51ce54092cc13607.jpg resize: (1080, 1632) 1338970302 -0.9790760463721779 treat image : temp/1740190350_1893271_1338970300_160f8e7bf6672c312428406b8d8ddd85.jpg resize: (1080, 1632) 1338970300 -2.7917189109232017 treat image : temp/1740190350_1893271_1338970298_24a6d5e95fb864e4dce538bc1e526fc1.jpg resize: (1080, 1632) 1338970298 -2.5843233938774737 treat image : temp/1740190350_1893271_1338970193_2e19803b16efb7e70a66d3285e3c6fe4.jpg resize: (1080, 1632) 1338970193 -4.804031429530788 treat image : temp/1740190350_1893271_1338970123_216cca2ba2fac55e71445202d6bc9301.jpg resize: (1080, 1632) 1338970123 -3.5701026395229096 treat image : temp/1740190350_1893271_1338970053_e4030b2242bbabf0bed18f9a8ec8af7f.jpg resize: (1080, 1632) 1338970053 -4.883548877680385 treat image : temp/1740190350_1893271_1338969987_f300ca765860982646ee61c9a026790c.jpg resize: (1080, 1632) 1338969987 -5.579900460965867 treat image : temp/1740190350_1893271_1338969914_5e015cb8656ef54dc20f83a6080833a9.jpg resize: (1080, 1632) 1338969914 -4.919944506184817 treat image : temp/1740190350_1893271_1338969839_fa9c9f03c74515e3da4c1cb776bb9403.jpg resize: (1080, 1632) 1338969839 -5.431531585750626 treat image : temp/1740190350_1893271_1338969828_cde447c962c981eb5ef012ee1711005a.jpg resize: (1080, 1632) 1338969828 -1.4465502126883771 treat image : temp/1740190350_1893271_1338969827_893f77a644fdf1727f267c06f3a4854a.jpg resize: (1080, 1632) 1338969827 -2.4171497513978135 treat image : temp/1740190350_1893271_1338969825_d98d76c3580075e4e1385a2236714a15.jpg resize: (1080, 1632) 1338969825 -5.484242028863957 treat image : temp/1740190350_1893271_1338969824_e0a784581980047aca57c62de18da03a.jpg resize: (1080, 1632) 1338969824 -5.797894813658705 treat image : temp/1740190350_1893271_1338969821_f861e82994f0e036aafc1a1945ed47f3.jpg resize: (1080, 1632) 1338969821 -3.660878271612175 treat image : temp/1740190350_1893271_1338969819_a2267920e5736df34d5a1669b43d2b8c.jpg resize: (1080, 1632) 1338969819 -4.399432125211981 treat image : temp/1740190350_1893271_1338969787_ce8179ff1a3c9782e87542e4c367e367.jpg resize: (1080, 1632) 1338969787 -5.501649911569077 treat image : temp/1740190350_1893271_1338969786_0ac12625eadffef551decf144a2b9225.jpg resize: (1080, 1632) 1338969786 -5.066171058391069 treat image : temp/1740190350_1893271_1338969785_65b165d3f81386a68ba075b638eb3556.jpg resize: (1080, 1632) 1338969785 -4.168678433275789 treat image : temp/1740190350_1893271_1338969783_592bf38873acb5911ddb8c7d34141f62.jpg resize: (1080, 1632) 1338969783 -2.4911219866140337 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.013585329055786133 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.3023383617401123 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017363786697387695 save missing photos in datou_result : time spend for datou_step_exec : 14.917414426803589 time spend to save output : 0.3386952877044678 total time spend for step 1 : 15.256109714508057 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.16user 3.51system 0:22.62elapsed 78%CPU (0avgtext+0avgdata 142260maxresident)k 112inputs+8752outputs (0major+259207minor)pagefaults 0swaps