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 : 1305080 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 : 4085>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/1305080/ 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.137241840362549 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 Jul 10 11:07: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/1752138448_1305080_1371485515_6a93dbd53da6bf45c33e1e36c0755f3b.jpg resize: (1080, 1632) 1371485515 -5.431736439939212 treat image : temp/1752138448_1305080_1371485514_be0a904a5d221a2c8badc3bebe8dc2d7.jpg resize: (1080, 1632) 1371485514 -5.431736439939212 treat image : temp/1752138448_1305080_1371485510_f82a268f04bb74e84915348dfd06944e.jpg resize: (1080, 1632) 1371485510 -5.425380800436937 treat image : temp/1752138448_1305080_1371485509_ddad33cfe7eb765168f72a23b4ad9718.jpg resize: (1080, 1632) 1371485509 -5.425380800436937 treat image : temp/1752138448_1305080_1371485506_d1eb94f665b1492a52e898368ed376a1.jpg resize: (1080, 1632) 1371485506 -5.435063577756113 treat image : temp/1752138448_1305080_1371485504_fc4a10e5dab368d7cfe7b13e88ecb736.jpg resize: (1080, 1632) 1371485504 -5.435063577756113 treat image : temp/1752138448_1305080_1371485500_71df69c0d460647dae496a286d923840.jpg resize: (1080, 1632) 1371485500 -5.425492503480838 treat image : temp/1752138448_1305080_1371485499_18833e2f7ca38bd94cc5500fe0a5b088.jpg resize: (1080, 1632) 1371485499 -5.425492503480838 treat image : temp/1752138448_1305080_1371485498_65abf484773be50e86d3a9e01f070bbb.jpg resize: (1080, 1632) 1371485498 -5.426089446134912 treat image : temp/1752138448_1305080_1371485497_129b46dba2015a4e73f146bd143bf6e8.jpg resize: (1080, 1632) 1371485497 -5.426089446134912 treat image : temp/1752138448_1305080_1371485495_4ef66dc6e9cdb1a11b19e07b599c4133.jpg resize: (1080, 1632) 1371485495 -5.421146250675558 treat image : temp/1752138448_1305080_1371485494_148360b61c81e746990db2857f9d3e6f.jpg resize: (1080, 1632) 1371485494 -5.421146250675558 treat image : temp/1752138448_1305080_1371485485_9b90ed3ff19a6e54ba58817acb136e47.jpg resize: (1080, 1632) 1371485485 -3.745420918392445 treat image : temp/1752138448_1305080_1371485484_7d6f453b77bb667fd908393b2a86d603.jpg resize: (1080, 1632) 1371485484 -3.756221954580188 treat image : temp/1752138448_1305080_1371485481_4d6cf9fe10a16d055c988f67ad9daccd.jpg resize: (1080, 1632) 1371485481 -3.754552979591009 treat image : temp/1752138448_1305080_1371485478_61fa005c56139b252d5be8a1446c0031.jpg resize: (1080, 1632) 1371485478 -3.7765604191047957 treat image : temp/1752138448_1305080_1371485477_aa10399cd97704d0aa33023761dfc755.jpg resize: (1080, 1632) 1371485477 -3.7946816208398877 treat image : temp/1752138448_1305080_1371485471_b9f04eef94e573bfd2a90dc9d783f1c1.jpg resize: (1080, 1632) 1371485471 -3.80534230351028 treat image : temp/1752138448_1305080_1371485375_d752f517d4e8a9867a10d4c5fe8a9e6f.jpg resize: (1080, 1632) 1371485375 -3.744333181317152 treat image : temp/1752138448_1305080_1371485372_a723ea739b67d73f9cee8b4e219e5895.jpg resize: (1080, 1632) 1371485372 -3.745988582057712 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.01259160041809082 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.033915042877197266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.028997182846069336 save missing photos in datou_result : time spend for datou_step_exec : 16.81878352165222 time spend to save output : 0.08005976676940918 total time spend for step 1 : 16.89884328842163 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.92user 5.23system 0:21.79elapsed 87%CPU (0avgtext+0avgdata 140556maxresident)k 0inputs+9144outputs (6major+263807minor)pagefaults 0swaps