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 : 44921 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 : 2250>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/44921/ 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.080691337585449 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 Mar 21 15:32:31 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/1742567549_44921_1346033450_daf56d5756e42b696d6e9598f09537f5.jpg resize: (1080, 1632) 1346033450 -3.901076389109195 treat image : temp/1742567549_44921_1346033437_303b88fa50392fa399472898e5e561e8.jpg resize: (1080, 1632) 1346033437 -3.197248488051543 treat image : temp/1742567549_44921_1346033408_bfd94d356d3b26a3b051d9d639fe4b3a.jpg resize: (1080, 1632) 1346033408 -0.318532451564472 treat image : temp/1742567549_44921_1346033378_da6fa90ecff3d84fa47cbaa023a10382.jpg resize: (1080, 1632) 1346033378 -3.418046365685774 treat image : temp/1742567549_44921_1346033327_8eaed5b7971ae8451206f860f23ae6d0.jpg resize: (1080, 1632) 1346033327 -6.241900372546061 treat image : temp/1742567549_44921_1346033302_fca31900299a4597c6b85ad41833581f.jpg resize: (1080, 1632) 1346033302 -4.931556290228242 treat image : temp/1742567549_44921_1346033282_653aec6c585ab4f1651cedc9f4333a0e.jpg resize: (1080, 1632) 1346033282 -2.6021863470644195 treat image : temp/1742567549_44921_1346033277_931ad4d0d5e58def46c86f002e382431.jpg resize: (1080, 1632) 1346033277 -2.440388047787532 treat image : temp/1742567549_44921_1346033262_dbf8fc8d18f839984d76f7b4b6b1d376.jpg resize: (1080, 1632) 1346033262 -3.290572434821192 treat image : temp/1742567549_44921_1346033251_b41b861ca27422427224e3e84546c497.jpg resize: (1080, 1632) 1346033251 -5.07334076987981 treat image : temp/1742567549_44921_1346033228_bcd34019df9e3a62c10f415be422d7f1.jpg resize: (1080, 1632) 1346033228 -1.7537337526669345 treat image : temp/1742567549_44921_1346033122_66249cd4bcd3b2439dbf46abf07445b5.jpg resize: (1080, 1632) 1346033122 -2.120351617506986 treat image : temp/1742567549_44921_1346032993_76bd5436ea9ab8c759d8c3b985ac618f.jpg resize: (1080, 1632) 1346032993 -1.512138636741813 treat image : temp/1742567549_44921_1346032949_72c03a102ef1f2c4494989f7ba949113.jpg resize: (1080, 1632) 1346032949 -2.7295618990577526 treat image : temp/1742567549_44921_1346032920_ec3a7111107de0e47c16063679f810e5.jpg resize: (1080, 1632) 1346032920 -3.475988391756446 treat image : temp/1742567549_44921_1346032874_9bb03fb43547f05058f65f634981b011.jpg resize: (1080, 1632) 1346032874 -3.105911052640462 treat image : temp/1742567549_44921_1346032856_dc991936c522ce2cc78f5e98ab2c0f70.jpg resize: (1080, 1632) 1346032856 -3.807426126606111 treat image : temp/1742567549_44921_1346032832_d95154e892af334bca4580879396290e.jpg resize: (1080, 1632) 1346032832 -3.9936457843270707 treat image : temp/1742567549_44921_1346032671_974c666d95f9b9c1597ced5e175eed5f.jpg resize: (1080, 1632) 1346032671 -5.155830538734134 treat image : temp/1742567549_44921_1346032627_0dce4bad632efa986fe25371d447ac6f.jpg resize: (1080, 1632) 1346032627 -5.4138441556473955 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 : 1.1165368556976318 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.016819000244140625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014968156814575195 save missing photos in datou_result : time spend for datou_step_exec : 20.30660319328308 time spend to save output : 1.1539306640625 total time spend for step 1 : 21.46053385734558 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.65user 7.96system 0:26.94elapsed 83%CPU (0avgtext+0avgdata 140060maxresident)k 224inputs+8360outputs (11major+262755minor)pagefaults 0swaps