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 : 3028083 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 : 3655>100 please execute split_portfolio.py -i 21089077 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2640530'] with mtr_portfolio_ids : ['21089077'] and first list_photo_ids : [] new path : /proc/3028083/ 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.2532269954681396 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 Mar 6 19: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/1741285047_3028083_1341284786_5c28c72b77fa34577bee7b031b0f9438.jpg resize: (1080, 1632) 1341284786 -5.981290651458451 treat image : temp/1741285047_3028083_1341284723_0ce7753ad0c7293eed2b70f5c9cd985d.jpg resize: (1080, 1632) 1341284723 -4.173322305578439 treat image : temp/1741285047_3028083_1341284704_5ff153529662da1033f0f016f4a70ea7.jpg resize: (1080, 1632) 1341284704 -0.8927257747244035 treat image : temp/1741285047_3028083_1341284701_c20564e23be8639756f60294a15b6062.jpg resize: (1080, 1632) 1341284701 -3.4768518739467535 treat image : temp/1741285047_3028083_1341284553_e3f6b63176d26fe268898e6a5a450039.jpg resize: (1080, 1632) 1341284553 -6.164472713132654 treat image : temp/1741285047_3028083_1341284548_e6505dbb615b6b2aff2b1c3f4b7361cc.jpg resize: (1080, 1632) 1341284548 -6.190027120086674 treat image : temp/1741285047_3028083_1341284545_9005504d9305a29e17d4720f584d6e71.jpg resize: (1080, 1632) 1341284545 -6.0213080984027885 treat image : temp/1741285047_3028083_1341284538_bd51c3c208e156cd1929cb192dbe92e3.jpg resize: (1080, 1632) 1341284538 -5.977507355047544 treat image : temp/1741285047_3028083_1341284465_2c3cec41e05c0c1a0ca3e2be96779514.jpg resize: (1080, 1632) 1341284465 -6.123705825443966 treat image : temp/1741285047_3028083_1341274160_b757fe4df80ef893a7c820b2a12c2de1.jpg resize: (1080, 1632) 1341274160 -2.4460642924885376 treat image : temp/1741285047_3028083_1341273682_e14e043f15cda2fcc8b2a67df3298e14.jpg resize: (1080, 1632) 1341273682 -5.819510891063211 treat image : temp/1741285047_3028083_1341273617_7b0e5310dc5bdd5b1873c3e90de6faac.jpg resize: (1080, 1632) 1341273617 -5.702350164783968 treat image : temp/1741285047_3028083_1341273613_43a6d20d640f78002329a8ba3676cf0e.jpg resize: (1080, 1632) 1341273613 -6.35094733800498 treat image : temp/1741285047_3028083_1341273611_3bad6865d89837db5a8227e2852c7727.jpg resize: (1080, 1632) 1341273611 -6.3620080735107365 treat image : temp/1741285047_3028083_1341273603_300a3cc856c7de4ead676d9704dfd211.jpg resize: (1080, 1632) 1341273603 -4.217220897175814 treat image : temp/1741285047_3028083_1341273516_c82ea0e19f247da39b5adba19574858a.jpg resize: (1080, 1632) 1341273516 -5.716433864237469 treat image : temp/1741285047_3028083_1341273426_cdecec21631f7781f33eee06c4ba6fde.jpg resize: (1080, 1632) 1341273426 -5.864248538996521 treat image : temp/1741285047_3028083_1341273337_e067396ac0adc5925acb484b4c73a687.jpg resize: (1080, 1632) 1341273337 -6.00656604029195 treat image : temp/1741285047_3028083_1341273240_fd2d993a379c706a6ecfc89d84dadd87.jpg resize: (1080, 1632) 1341273240 -6.128773615313558 treat image : temp/1741285047_3028083_1341273152_33538eeaa6501a799fcaf4af076ac837.jpg resize: (1080, 1632) 1341273152 -4.709170090167455 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.01367044448852539 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.014969110488891602 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01592087745666504 save missing photos in datou_result : time spend for datou_step_exec : 19.705853939056396 time spend to save output : 0.049834251403808594 total time spend for step 1 : 19.755688190460205 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.99user 7.19system 0:23.97elapsed 92%CPU (0avgtext+0avgdata 141464maxresident)k 128inputs+11056outputs (9major+241527minor)pagefaults 0swaps