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 : 1186703 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 : 1423>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1186703/ 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.5289840698242188 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 Aug 21 21:32: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/1755804749_1186703_1378237463_b730cbbe54e157257dd95411896f1656.jpg resize: (1080, 1632) 1378237463 -5.351172355794856 treat image : temp/1755804749_1186703_1378237391_b7045c48c2428219fad40e0f9491e2b3.jpg resize: (1080, 1632) 1378237391 -4.204860594177807 treat image : temp/1755804749_1186703_1378237316_02bd3759310368a2b9059002019db518.jpg resize: (1080, 1632) 1378237316 -4.379577709308725 treat image : temp/1755804749_1186703_1378237239_5c7416ac684cdfc760cca3dd93695b43.jpg resize: (1080, 1632) 1378237239 -5.275919450244668 treat image : temp/1755804749_1186703_1378237172_c81ca69981e5c62bfcc816ead35ae5f5.jpg resize: (1080, 1632) 1378237172 -3.0943692066990276 treat image : temp/1755804749_1186703_1378237107_42c10a2f46c14023ec75733338651140.jpg resize: (1080, 1632) 1378237107 0.210697218317544 treat image : temp/1755804749_1186703_1378236858_ed3efacbc6ea35c031a340a15769f8b1.jpg resize: (1080, 1632) 1378236858 -5.046853988726036 treat image : temp/1755804749_1186703_1378236807_f0b90cab7f87ccf073be7f7c25e3ba0c.jpg resize: (1080, 1632) 1378236807 -5.26080479226448 treat image : temp/1755804749_1186703_1378236759_43e08fc1cbbf58612af6121956de6832.jpg resize: (1080, 1632) 1378236759 -5.627008474647247 treat image : temp/1755804749_1186703_1378236707_f65dc216dfd93a60ec5cbaaede4b1499.jpg resize: (1080, 1632) 1378236707 -5.430411046265936 treat image : temp/1755804749_1186703_1378236643_925258cb04661ad58a2489fc2885eb8b.jpg resize: (1080, 1632) 1378236643 -1.5873981021396022 treat image : temp/1755804749_1186703_1378236568_4df4812808f6abdb64a0fb8d735c9c6a.jpg resize: (1080, 1632) 1378236568 -1.6776087318175161 treat image : temp/1755804749_1186703_1378236340_14e59bb4ea1dfaeba85631b187de55b1.jpg resize: (1080, 1632) 1378236340 -3.9336427230659203 treat image : temp/1755804749_1186703_1378236276_7262e230613864fc295f67cabf5aaae1.jpg resize: (1080, 1632) 1378236276 -4.9542491574205405 treat image : temp/1755804749_1186703_1378236230_b8c7af84f44c08e4d078a85b72f0afd2.jpg resize: (1080, 1632) 1378236230 -4.916239280324648 treat image : temp/1755804749_1186703_1378236149_8b1dc7d54e5744e46e5aa4f75e5f516f.jpg resize: (1080, 1632) 1378236149 -4.8340530596353615 treat image : temp/1755804749_1186703_1378236085_73e36a2b5e69857fb1461162c5441eaf.jpg resize: (1080, 1632) 1378236085 -4.848082220210751 treat image : temp/1755804749_1186703_1378236032_224e05fdb9bcce64eda444d0623dbb6d.jpg resize: (1080, 1632) 1378236032 -4.913941969211908 treat image : temp/1755804749_1186703_1378235777_ce13eca6aa3a9e4486dd22597294fdf9.jpg resize: (1080, 1632) 1378235777 -3.395376215775811 treat image : temp/1755804749_1186703_1378235719_005acbaa5bb80115fd92582ee2f9278a.jpg resize: (1080, 1632) 1378235719 -4.8477760798639995 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.012093782424926758 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.01303243637084961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01584601402282715 save missing photos in datou_result : time spend for datou_step_exec : 14.992798328399658 time spend to save output : 0.04601454734802246 total time spend for step 1 : 15.03881287574768 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.53user 2.91system 0:21.82elapsed 79%CPU (0avgtext+0avgdata 140524maxresident)k 160inputs+9024outputs (9major+257343minor)pagefaults 0swaps