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 : 1849368 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 : 1733>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/1849368/ 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.418156862258911 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 Tue May 13 08:47: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/1747118847_1849368_1357782769_06b7eb1e5f414b58a9cfc7b5137bc191.jpg resize: (1080, 1632) 1357782769 -3.3986118326234465 treat image : temp/1747118847_1849368_1357782588_87eb6f06e75a4a763a562e1f6dc80af5.jpg resize: (1080, 1632) 1357782588 -5.22539242355556 treat image : temp/1747118847_1849368_1357782585_80d0dab927bd9a4112769974cc7ecfa6.jpg resize: (1080, 1632) 1357782585 -5.32808955267347 treat image : temp/1747118847_1849368_1357782579_0d9282cf164d941cd63d8dd369195ca3.jpg resize: (1080, 1632) 1357782579 -1.9630940976985884 treat image : temp/1747118847_1849368_1357782557_dbed7fccd3bcdfd4fa3c9043eebdab48.jpg resize: (1080, 1632) 1357782557 -5.475839975167835 treat image : temp/1747118847_1849368_1357782524_b9d5ecb3e475c391ebbb0ce55f6c6f30.jpg resize: (1080, 1632) 1357782524 -4.087458441373614 treat image : temp/1747118847_1849368_1357782315_a14bec7bcb08a5b169dd04e4b1a83eff.jpg resize: (1080, 1632) 1357782315 -5.584604436167446 treat image : temp/1747118847_1849368_1357782286_9980783ba98d7efd0d1d39863bd2ad23.jpg resize: (1080, 1632) 1357782286 -6.169257312565682 treat image : temp/1747118847_1849368_1357782258_6718d89f585f05000d810d220f5b4d10.jpg resize: (1080, 1632) 1357782258 -5.678553322568354 treat image : temp/1747118847_1849368_1357782128_ae1e984353d56d24c1d071bae29006e4.jpg resize: (1080, 1632) 1357782128 -3.291800626139398 treat image : temp/1747118847_1849368_1357782127_2838d34941afbab6e39477a2dd199b46.jpg resize: (1080, 1632) 1357782127 -2.3593174807860615 treat image : temp/1747118847_1849368_1357782126_ae9f115714f3db26d5047d019db9ff22.jpg resize: (1080, 1632) 1357782126 -4.167080416391332 treat image : temp/1747118847_1849368_1357781994_1d6948c1b43da9c1f182200773969ca7.jpg resize: (1080, 1632) 1357781994 -5.4650002105797535 treat image : temp/1747118847_1849368_1357781966_fff46ef560403a47808d5d5bc6f07363.jpg resize: (1080, 1632) 1357781966 0.08131731300053609 treat image : temp/1747118847_1849368_1357781939_301a5b4aebb6b2096f22b470c335de95.jpg resize: (1080, 1632) 1357781939 -1.926329037333642 treat image : temp/1747118847_1849368_1357769605_5c9d73901e6a3bb2d93f845d27b19d4f.jpg resize: (1080, 1632) 1357769605 -1.3126195266007041 treat image : temp/1747118847_1849368_1357769603_f8653c104a454bcb8fe37c658c0e987c.jpg resize: (1080, 1632) 1357769603 -5.826910622211123 treat image : temp/1747118847_1849368_1357769601_351932ad56b2e640d5988da784389976.jpg resize: (1080, 1632) 1357769601 -5.660826426031751 treat image : temp/1747118847_1849368_1357769567_3689f0c72577f004f86a008702a7a7d0.jpg resize: (1080, 1632) 1357769567 -5.566048374280081 treat image : temp/1747118847_1849368_1357769562_746d2a30ebaaf08e75b8ccfbf6f9781c.jpg resize: (1080, 1632) 1357769562 -6.645207851796053 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.012705087661743164 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.014804840087890625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.021041393280029297 save missing photos in datou_result : time spend for datou_step_exec : 18.81437039375305 time spend to save output : 0.053313493728637695 total time spend for step 1 : 18.86768388748169 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.54user 6.41system 0:23.67elapsed 88%CPU (0avgtext+0avgdata 137112maxresident)k 3536inputs+9328outputs (25major+252152minor)pagefaults 0swaps