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 : 1161914 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 : 1315>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/1161914/ 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.3442578315734863 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:22:31 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/1755804149_1161914_1378227636_d06f322432f907f532fd6e0182ad6da0.jpg resize: (1080, 1632) 1378227636 -5.49508608146232 treat image : temp/1755804149_1161914_1378227606_0f54e542f32ae46f29f211fd4b105f6b.jpg resize: (1080, 1632) 1378227606 -5.58522684403264 treat image : temp/1755804149_1161914_1378227572_9e8fb3d66c295c02d09b1aa7914aad0f.jpg resize: (1080, 1632) 1378227572 -3.226978027784582 treat image : temp/1755804149_1161914_1378227520_a1cbf05903bdf713455f553843d34b9f.jpg resize: (1080, 1632) 1378227520 -4.797130828781197 treat image : temp/1755804149_1161914_1378227455_f24d0c7396574ad9c69727116d45c06a.jpg resize: (1080, 1632) 1378227455 -4.177766438027286 treat image : temp/1755804149_1161914_1378227407_97f16657517ad3ea8ac2f7d6265f85bd.jpg resize: (1080, 1632) 1378227407 -5.6109961804527835 treat image : temp/1755804149_1161914_1378227187_7c80315d7a7748209f9ac57d6e6f6078.jpg resize: (1080, 1632) 1378227187 -4.862980889671984 treat image : temp/1755804149_1161914_1378227154_c33a637f39d9607803201f32ee22e6a3.jpg resize: (1080, 1632) 1378227154 -4.3368941935984004 treat image : temp/1755804149_1161914_1378227116_598271097bc9f9afef65ba3a3eeec3fd.jpg resize: (1080, 1632) 1378227116 -5.342205693344136 treat image : temp/1755804149_1161914_1378227086_35eac193f80a873cde404d148be2934e.jpg resize: (1080, 1632) 1378227086 -2.663592704891832 treat image : temp/1755804149_1161914_1378227025_43fa1ca4c1f738367b24f9bf13f8103f.jpg resize: (1080, 1632) 1378227025 -4.317564910385574 treat image : temp/1755804149_1161914_1378226991_f25bae40d8c9455e8ec3a2103abb892b.jpg resize: (1080, 1632) 1378226991 -3.717184786640411 treat image : temp/1755804149_1161914_1378225258_8d61ad9d0654c61efe5515004d1b94b8.jpg resize: (1080, 1632) 1378225258 -5.189991950294117 treat image : temp/1755804149_1161914_1378225177_c71fc29bb948d89fae11fcc5abdfcd28.jpg resize: (1080, 1632) 1378225177 -6.287891447704194 treat image : temp/1755804149_1161914_1378225097_4e1444661f376306c4d71e55fe912ae9.jpg resize: (1080, 1632) 1378225097 -6.2103210290236 treat image : temp/1755804149_1161914_1378224999_8da9b53f250f5fc57f27387e6a8a5cd3.jpg resize: (1080, 1632) 1378224999 -3.5183045829108592 treat image : temp/1755804149_1161914_1378224679_e5803774f82276e1e135940bbb2b839f.jpg resize: (1080, 1632) 1378224679 -3.9527632648515634 treat image : temp/1755804149_1161914_1378224601_1e5ce28120d9dcb432f8a1e9dbd5ac26.jpg resize: (1080, 1632) 1378224601 -4.134079082861093 treat image : temp/1755804149_1161914_1378224494_438c7c35fea9d26da1159b8e48070738.jpg resize: (1080, 1632) 1378224494 -5.936119164880108 treat image : temp/1755804149_1161914_1378224444_7857e70cf7a42e3f094bae5edd2a827e.jpg resize: (1080, 1632) 1378224444 -2.487574237025219 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.012655019760131836 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.014078378677368164 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013998270034790039 save missing photos in datou_result : time spend for datou_step_exec : 16.38472080230713 time spend to save output : 0.045336246490478516 total time spend for step 1 : 16.430057048797607 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.19user 3.43system 0:22.39elapsed 83%CPU (0avgtext+0avgdata 140620maxresident)k 104inputs+9752outputs (4major+260324minor)pagefaults 0swaps