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 : 3764971 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 : 5681>100 please execute split_portfolio.py -i 24815507 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3267785'] with mtr_portfolio_ids : ['24815507'] and first list_photo_ids : [] new path : /proc/3764971/ 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.478332757949829 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 11 16:47: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/1752245248_3764971_1371610313_75a0140d499ef4a2bcad50c05f14d4d0.jpg resize: (1080, 1632) 1371610313 -5.205691161956013 treat image : temp/1752245248_3764971_1371610308_04ac4e6759c7c30d66c3dbdcebeb9e8c.jpg resize: (1080, 1632) 1371610308 -5.196376403291177 treat image : temp/1752245248_3764971_1371610305_3c28d34e99e9fc6a2f370251b4948856.jpg resize: (1080, 1632) 1371610305 -5.195489560830692 treat image : temp/1752245248_3764971_1371610298_a3f907dfd1521b3497a356237bc7b9c3.jpg resize: (1080, 1632) 1371610298 -5.192505283573882 treat image : temp/1752245248_3764971_1371610291_54e2ceedeef884e2bbd2409a7ac64992.jpg resize: (1080, 1632) 1371610291 -5.217784989193138 treat image : temp/1752245248_3764971_1371610284_d490cf8769f5b0ef6da472e24ee96560.jpg resize: (1080, 1632) 1371610284 -5.214543889392499 treat image : temp/1752245248_3764971_1371610271_11bbc46930abc2569edcede19e73d623.jpg resize: (1080, 1632) 1371610271 -5.53254200645021 treat image : temp/1752245248_3764971_1371610267_5fc13ad3269232adbcaa3c9403b9061f.jpg resize: (1080, 1632) 1371610267 -4.444328519708564 treat image : temp/1752245248_3764971_1371610263_fe8926aca3f93984d386c81f961fefae.jpg resize: (1080, 1632) 1371610263 -5.2099719012723 treat image : temp/1752245248_3764971_1371610259_65268fe7fefdaa47dd81d89a21a2fc7e.jpg resize: (1080, 1632) 1371610259 -5.739791624506029 treat image : temp/1752245248_3764971_1371610255_1a4dbe988d9618216c319c179af8819f.jpg resize: (1080, 1632) 1371610255 -5.761936663415715 treat image : temp/1752245248_3764971_1371610242_594c9aec453334414f7516980fc0afe8.jpg resize: (1080, 1632) 1371610242 -4.656268273957726 treat image : temp/1752245248_3764971_1371610219_7f5f16825975d1ac9aa9e80877396ab2.jpg resize: (1080, 1632) 1371610219 -5.8563197807240694 treat image : temp/1752245248_3764971_1371610217_71969e28f2ca01331d4a7e68123c1e69.jpg resize: (1080, 1632) 1371610217 -5.8563197807240694 treat image : temp/1752245248_3764971_1371610213_be57a0cf12da42048ea194617f796021.jpg resize: (1080, 1632) 1371610213 -5.835816550602744 treat image : temp/1752245248_3764971_1371610211_8d0caefb60e0256a4b8e8696bd27583b.jpg resize: (1080, 1632) 1371610211 -5.835816550602744 treat image : temp/1752245248_3764971_1371610207_ed148440a2bee8a6a8e1731e1c662eb0.jpg resize: (1080, 1632) 1371610207 -5.751912116723279 treat image : temp/1752245248_3764971_1371610204_97410ad572274a784d249476519ca23b.jpg resize: (1080, 1632) 1371610204 -5.751912116723279 treat image : temp/1752245248_3764971_1371610200_1d51b318050998ae9770e6befecaf096.jpg resize: (1080, 1632) 1371610200 -5.768292957476984 treat image : temp/1752245248_3764971_1371610199_3aebf495e8e334d5a504d141aca47c37.jpg resize: (1080, 1632) 1371610199 -5.768292957476984 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.013670921325683594 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.01184701919555664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015018224716186523 save missing photos in datou_result : time spend for datou_step_exec : 16.780964612960815 time spend to save output : 0.04588913917541504 total time spend for step 1 : 16.82685375213623 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.69user 3.42system 0:22.26elapsed 85%CPU (0avgtext+0avgdata 139024maxresident)k 72inputs+10688outputs (2major+227682minor)pagefaults 0swaps