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 : 87252 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 : 6282>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/87252/ 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.198542356491089 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 Wed Jul 9 23:27:28 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/1752096446_87252_1371448932_04ab8309b4add52cc9ba024ef782324a.jpg resize: (1080, 1632) 1371448932 -5.61102377373728 treat image : temp/1752096446_87252_1371448929_9b591ce6433074ed9d6005a44af26cff.jpg resize: (1080, 1632) 1371448929 -5.035632454885125 treat image : temp/1752096446_87252_1371448927_52c4dc3862e10a53ca3b559c3f224d34.jpg resize: (1080, 1632) 1371448927 -0.8281340548282371 treat image : temp/1752096446_87252_1371448924_c4e323be0211083a1274751e08b99b4b.jpg resize: (1080, 1632) 1371448924 -2.0510131185470732 treat image : temp/1752096446_87252_1371448907_a668b469fe293aad8c3b3a35ddb5b73a.jpg resize: (1080, 1632) 1371448907 -1.9979262434572063 treat image : temp/1752096446_87252_1371448904_53d72eb2719dfc8d9fe2f4cf4fb8a447.jpg resize: (1080, 1632) 1371448904 -2.010329668389408 treat image : temp/1752096446_87252_1371448900_73f987c867f2226566f30d44f003014f.jpg resize: (1080, 1632) 1371448900 -2.791660712897725 treat image : temp/1752096446_87252_1371448896_1854897ba708c362003c479058743a50.jpg resize: (1080, 1632) 1371448896 -2.7927803196244056 treat image : temp/1752096446_87252_1371448893_993af6af26ddbbf39165e9b2c7889fcd.jpg resize: (1080, 1632) 1371448893 -1.6506969072938236 treat image : temp/1752096446_87252_1371448890_900aeb36b311df5607ba26069ede4c2a.jpg resize: (1080, 1632) 1371448890 -1.9820838297565313 treat image : temp/1752096446_87252_1371444524_f92bac2ae2252d067c2591428878d2ed.jpg resize: (1080, 1632) 1371444524 -5.141211690776367 treat image : temp/1752096446_87252_1371444520_93120efa41dcb2a139ee5e733f6eaf67.jpg resize: (1080, 1632) 1371444520 -3.6692615016319685 treat image : temp/1752096446_87252_1371444517_e701ee97df003b91c1ada34faebdd4a7.jpg resize: (1080, 1632) 1371444517 -5.6515270132560405 treat image : temp/1752096446_87252_1371444514_610642b1de827332d6f8c974217d8e58.jpg resize: (1080, 1632) 1371444514 -5.336412722973355 treat image : temp/1752096446_87252_1371444512_c3469c00b08d0cf1df1b666970f64982.jpg resize: (1080, 1632) 1371444512 -5.31223239516346 treat image : temp/1752096446_87252_1371444510_291a4d5c0f7b11421e23c77a333c8436.jpg resize: (1080, 1632) 1371444510 -4.836598581067122 treat image : temp/1752096446_87252_1371441934_a42c0318c4027a3ebdbc6a1331fd5beb.jpg resize: (1080, 1632) 1371441934 -5.414834978185817 treat image : temp/1752096446_87252_1371441932_4415bc7d5fc8727f0371ae9ec083d1c4.jpg resize: (1080, 1632) 1371441932 -5.537179909304747 treat image : temp/1752096446_87252_1371441929_3c83afee23673138046bbc8275f277cd.jpg resize: (1080, 1632) 1371441929 -5.884088153261561 treat image : temp/1752096446_87252_1371441927_282490967c6644d8ae31a696c28ed8e7.jpg resize: (1080, 1632) 1371441927 -5.809791028086475 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.01163935661315918 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.011734247207641602 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013825416564941406 save missing photos in datou_result : time spend for datou_step_exec : 17.657193660736084 time spend to save output : 0.0418238639831543 total time spend for step 1 : 17.69901752471924 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.64user 5.38system 0:21.42elapsed 93%CPU (0avgtext+0avgdata 139992maxresident)k 2776inputs+8768outputs (27major+256384minor)pagefaults 0swaps