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 : 3657120 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 : 3909>100 please execute split_portfolio.py -i 25050138 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3305006'] with mtr_portfolio_ids : ['25050138'] and first list_photo_ids : [] new path : /proc/3657120/ 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.470916986465454 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 Jul 18 18:02:32 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/1752854549_3657120_1372635770_3a9a21c25b5ff4ccfac49b966447af05.jpg resize: (1080, 1632) 1372635770 -5.673992652567446 treat image : temp/1752854549_3657120_1372635760_abefb9b39b777f7ba7ff30069fd832f5.jpg resize: (1080, 1632) 1372635760 -4.882708359646248 treat image : temp/1752854549_3657120_1372635757_2af36c20fecb168bab73dd49736208f6.jpg resize: (1080, 1632) 1372635757 -4.134828338289808 treat image : temp/1752854549_3657120_1372635753_653f61e3bd7099f23b20b762cd89beb3.jpg resize: (1080, 1632) 1372635753 -0.36729337200904616 treat image : temp/1752854549_3657120_1372635750_ad05461fee54c2646f6e539e5702c13d.jpg resize: (1080, 1632) 1372635750 11.55032582777434 treat image : temp/1752854549_3657120_1372635743_9555691846a7c8c227bc6d1caddabeb3.jpg resize: (1080, 1632) 1372635743 -3.177927848971741 treat image : temp/1752854549_3657120_1372635465_68d8ca4929e248c554969ac455944413.jpg resize: (1080, 1632) 1372635465 -5.674572036159118 treat image : temp/1752854549_3657120_1372635432_fa4c8f60b288495d5da97901adf2b3b5.jpg resize: (1080, 1632) 1372635432 -5.551099005804555 treat image : temp/1752854549_3657120_1372635380_7294663447e495f6737a35badbe3f187.jpg resize: (1080, 1632) 1372635380 -5.545462280454369 treat image : temp/1752854549_3657120_1372635324_f96c574ee34dbc9487297897f9cf8159.jpg resize: (1080, 1632) 1372635324 -5.544820879287411 treat image : temp/1752854549_3657120_1372635273_9ba7208269dd19e08f4af9916bc36879.jpg resize: (1080, 1632) 1372635273 -5.54740095240543 treat image : temp/1752854549_3657120_1372635216_8abe5ed918b2ea4f9f052cfc64faeb19.jpg resize: (1080, 1632) 1372635216 -5.554332471134775 treat image : temp/1752854549_3657120_1372631187_ffe136d3c508968c8298814ed3b464ef.jpg resize: (1080, 1632) 1372631187 -4.808319056059944 treat image : temp/1752854549_3657120_1372631184_3275c19e95e8fb2f81cad022ec24f114.jpg resize: (1080, 1632) 1372631184 -5.309192405267226 treat image : temp/1752854549_3657120_1372631180_28717b9f322dd693e82c1083392c527d.jpg resize: (1080, 1632) 1372631180 -1.876821851978375 treat image : temp/1752854549_3657120_1372631170_6e7b3191aa6509899d83b84ab96092ca.jpg resize: (1080, 1632) 1372631170 -2.6912809982568873 treat image : temp/1752854549_3657120_1372631140_512d12e87706d14bf23c0b3bbd004b8c.jpg resize: (1080, 1632) 1372631140 -5.356887399895646 treat image : temp/1752854549_3657120_1372631130_df2184f3418f765dae5862e4bb266604.jpg resize: (1080, 1632) 1372631130 -5.356694779425574 treat image : temp/1752854549_3657120_1372631127_de8d14479eba449a9fa9a56820c3a461.jpg resize: (1080, 1632) 1372631127 -5.243267411172914 treat image : temp/1752854549_3657120_1372631124_301064dc7fdc95a4813b934e5476ea28.jpg resize: (1080, 1632) 1372631124 -4.632039677182927 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.0124053955078125 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.01199197769165039 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015032768249511719 save missing photos in datou_result : time spend for datou_step_exec : 18.942769289016724 time spend to save output : 0.04445672035217285 total time spend for step 1 : 18.987226009368896 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.85user 6.83system 0:25.24elapsed 85%CPU (0avgtext+0avgdata 139580maxresident)k 3616inputs+9232outputs (26major+255397minor)pagefaults 0swaps