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 : 301062 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 : 491>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/301062/ 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.100069284439087 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 10 01:17: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/1752103048_301062_1371462411_abec48fc3003270705e50df3851bf0f0.jpg resize: (1080, 1632) 1371462411 -4.7846605908648785 treat image : temp/1752103048_301062_1371462409_9f61e4b1eebea899f7ad0306bb061d9f.jpg resize: (1080, 1632) 1371462409 -4.795175810439914 treat image : temp/1752103048_301062_1371462404_58b5bc9dec67e4e845c264834ecc071c.jpg resize: (1080, 1632) 1371462404 -4.784946843816569 treat image : temp/1752103048_301062_1371462381_5c7b34d3d27908c04023d6e6ae2be5b0.jpg resize: (1080, 1632) 1371462381 -4.783051780683106 treat image : temp/1752103048_301062_1371462361_bb7f74a513bc52605ee0b3a055a83b92.jpg resize: (1080, 1632) 1371462361 -4.8009374904477955 treat image : temp/1752103048_301062_1371462359_e8121fcdfeadc8ff5401459743a6fcfc.jpg resize: (1080, 1632) 1371462359 -4.81933765710497 treat image : temp/1752103048_301062_1371462341_4d5d725fc26d41a1b9de9a08f93ab035.jpg resize: (1080, 1632) 1371462341 -4.865948095710774 treat image : temp/1752103048_301062_1371462331_8fda373c3b8cf07f96015eeee926fe7f.jpg resize: (1080, 1632) 1371462331 -4.871148861147156 treat image : temp/1752103048_301062_1371462329_f45f7bee6e7c598cb4f0428a7f63501c.jpg resize: (1080, 1632) 1371462329 -4.8838967557492055 treat image : temp/1752103048_301062_1371462318_c7be918aecdf61dc5e57688c1ef9cebf.jpg resize: (1080, 1632) 1371462318 -4.896438154144587 treat image : temp/1752103048_301062_1371462303_cc04f0a5f1fa932ef8790b89f771a2d1.jpg resize: (1080, 1632) 1371462303 -4.817198085690704 treat image : temp/1752103048_301062_1371462297_b740b9555f179ed736b6ac9108ba9b09.jpg resize: (1080, 1632) 1371462297 -4.783001153233988 treat image : temp/1752103048_301062_1371462175_693ddf1d5081b6592e050c1304cd82f5.jpg resize: (1080, 1632) 1371462175 -4.87156192095841 treat image : temp/1752103048_301062_1371462151_2bce4aad2bf54770fecb66a89f288164.jpg resize: (1080, 1632) 1371462151 -4.854032216381489 treat image : temp/1752103048_301062_1371462123_cb5156ad39941e8abd76f017b4fed00a.jpg resize: (1080, 1632) 1371462123 -4.817891801562563 treat image : temp/1752103048_301062_1371462097_c96561d8c71b604eca167fd93a0531bc.jpg resize: (1080, 1632) 1371462097 -4.81214259132963 treat image : temp/1752103048_301062_1371462070_c9c4b05888a0afd44feef013280e25cd.jpg resize: (1080, 1632) 1371462070 -4.827985678647505 treat image : temp/1752103048_301062_1371462046_059ed25d9807a4ee3fa59d8bde313e9f.jpg resize: (1080, 1632) 1371462046 -4.847916841171312 treat image : temp/1752103048_301062_1371461519_32525fae2d52078a6dc7538488ab1598.jpg resize: (1080, 1632) 1371461519 -4.932151369402098 treat image : temp/1752103048_301062_1371461514_16bdb7e418193e73d4c4ed00491cb9d7.jpg resize: (1080, 1632) 1371461514 -4.9393023586143805 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.01766800880432129 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.059884071350097656 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0679631233215332 save missing photos in datou_result : time spend for datou_step_exec : 15.728646516799927 time spend to save output : 0.15077686309814453 total time spend for step 1 : 15.879423379898071 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.92user 4.10system 0:21.10elapsed 85%CPU (0avgtext+0avgdata 141484maxresident)k 8inputs+9624outputs (1major+254498minor)pagefaults 0swaps