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 : 3899752 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 : 6672>100 please execute split_portfolio.py -i 25197410 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3322248'] with mtr_portfolio_ids : ['25197410'] and first list_photo_ids : [] new path : /proc/3899752/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 2.0505123138427734 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 23 22:17: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/1753301849_3899752_1373400761_7e03bbd49026bc31a781d869bd09acaa.jpg resize: (1080, 1632) 1373400761 -2.1362827095225074 treat image : temp/1753301849_3899752_1373400755_8dbd922a723d2b177c5c2666df4559db.jpg resize: (1080, 1632) 1373400755 -3.4261849091644976 treat image : temp/1753301849_3899752_1373400753_5fcd669d376f02dfde2ff5d0c6f31855.jpg resize: (1080, 1632) 1373400753 -3.3944995712301527 treat image : temp/1753301849_3899752_1373400751_7dad1bea88cb24453b493790dca4e2c5.jpg resize: (1080, 1632) 1373400751 -3.2785075351848807 treat image : temp/1753301849_3899752_1373400748_fd8e8c128af2b833590b0de26363b0aa.jpg resize: (1080, 1632) 1373400748 -3.7865219419948812 treat image : temp/1753301849_3899752_1373400745_cda13bae3c00e58c520952d093395731.jpg resize: (1080, 1632) 1373400745 -3.7852442348196265 treat image : temp/1753301849_3899752_1373400735_e5d40d5f8c657ba01d735a465c3df800.jpg resize: (1080, 1632) 1373400735 -5.328954266481979 treat image : temp/1753301849_3899752_1373400732_71a0d744f68e06c2d9c15c0b0b7139bb.jpg resize: (1080, 1632) 1373400732 -5.459893291933609 treat image : temp/1753301849_3899752_1373400730_ab854f550cbd255a54e367e666600f16.jpg resize: (1080, 1632) 1373400730 -4.951403502818143 treat image : temp/1753301849_3899752_1373400728_9fbc13d49afc50bb706f68f5e873b570.jpg resize: (1080, 1632) 1373400728 -4.949333330194027 treat image : temp/1753301849_3899752_1373400720_d24d19fb4d90f8be7b7dbd939921456d.jpg resize: (1080, 1632) 1373400720 -5.54546866173316 treat image : temp/1753301849_3899752_1373400712_abe3cdc759afdbb9448ab23c63da356e.jpg resize: (1080, 1632) 1373400712 -5.570942633413649 treat image : temp/1753301849_3899752_1373400600_fe4130f9fce1316ba9226b460821e820.jpg resize: (1080, 1632) 1373400600 -5.301215959514574 treat image : temp/1753301849_3899752_1373400573_c656d3caecf5a593b0e0bd39baa86079.jpg resize: (1080, 1632) 1373400573 -4.113381089666134 treat image : temp/1753301849_3899752_1373400547_81c34e334eba3d953df3a46ce65d0538.jpg resize: (1080, 1632) 1373400547 -5.411678170868984 treat image : temp/1753301849_3899752_1373400535_93f94c652391b6b3fb3b60b335f84735.jpg resize: (1080, 1632) 1373400535 -5.378805055208006 treat image : temp/1753301849_3899752_1373400531_2ac7adcaef83a658a169ac64d667146e.jpg resize: (1080, 1632) 1373400531 -5.333028816577471 treat image : temp/1753301849_3899752_1373400528_1d6f44e4d9f25f083a0b3173480a1723.jpg resize: (1080, 1632) 1373400528 -5.216784065115983 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 : 18 time used for this insertion : 0.01366281509399414 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.013961315155029297 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.013879060745239258 save missing photos in datou_result : time spend for datou_step_exec : 15.577941179275513 time spend to save output : 0.04597973823547363 total time spend for step 1 : 15.623920917510986 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 13.43user 4.52system 0:21.10elapsed 85%CPU (0avgtext+0avgdata 137224maxresident)k 16inputs+8480outputs (1major+237429minor)pagefaults 0swaps