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 : 1237483 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 : 4490>100 please execute split_portfolio.py -i 22042798 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2722371'] with mtr_portfolio_ids : ['22042798'] and first list_photo_ids : [] new path : /proc/1237483/ 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 : 3.603156328201294 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 Sun Apr 6 21:37: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/1743968247_1237483_1350134362_9810b4d2e003ee295b982351f881314e.jpg resize: (1080, 1632) 1350134362 -4.811478361596429 treat image : temp/1743968247_1237483_1350134360_c1483f2b1b9c049362b5df56df9854b1.jpg resize: (1080, 1632) 1350134360 -5.983810918873482 treat image : temp/1743968247_1237483_1350134356_51c92685497d98782ef1f306ee822ec4.jpg resize: (1080, 1632) 1350134356 -5.51054467427729 treat image : temp/1743968247_1237483_1350134352_88332b6f23b5d2b67f0974e5961579a0.jpg resize: (1080, 1632) 1350134352 -5.708468093863366 treat image : temp/1743968247_1237483_1350134348_82eaffc8f67f036b0b0b7c5080f75ab9.jpg resize: (1080, 1632) 1350134348 -5.788081996693333 treat image : temp/1743968247_1237483_1350134314_5f93ce6a9b21f8034a9247c0c907ac7f.jpg resize: (1080, 1632) 1350134314 -5.034133402224268 treat image : temp/1743968247_1237483_1350134310_3fd2feb41c73dfb86e4f214e5f564fd0.jpg resize: (1080, 1632) 1350134310 -5.854200935861744 treat image : temp/1743968247_1237483_1350134305_82ccdac9ae7acf2fdc561ccfb71dc7c7.jpg resize: (1080, 1632) 1350134305 -5.121072954898341 treat image : temp/1743968247_1237483_1350134303_c6d47fcc4714fc93ef6362a34ad057b7.jpg resize: (1080, 1632) 1350134303 -5.113137583477925 treat image : temp/1743968247_1237483_1350134301_798d36cd8a92d936bbd0c0d49d3e3a9e.jpg resize: (1080, 1632) 1350134301 -5.41652735860357 treat image : temp/1743968247_1237483_1350134265_089284a7f961a9963bc28753e3f0ccdc.jpg resize: (1080, 1632) 1350134265 -2.679305508758629 treat image : temp/1743968247_1237483_1350134262_e7f6b58f4d66395270242d2c5f93391f.jpg resize: (1080, 1632) 1350134262 -1.388919769899818 treat image : temp/1743968247_1237483_1350134257_331fca26b78fdce0c70b9cdc288e22c2.jpg resize: (1080, 1632) 1350134257 -2.7163583502001623 treat image : temp/1743968247_1237483_1350134244_7c733156b4309fee09413fd92ef61f72.jpg resize: (1080, 1632) 1350134244 -2.9219719422032955 treat image : temp/1743968247_1237483_1350134219_f905633c676e6d27297a4a02c577e866.jpg resize: (1080, 1632) 1350134219 -4.362202506544312 treat image : temp/1743968247_1237483_1350134216_5c03fef97d0a361698becd788dd59dce.jpg resize: (1080, 1632) 1350134216 -5.99429562313818 treat image : temp/1743968247_1237483_1350134213_3f94c21fa99284c340f145d1299c0feb.jpg resize: (1080, 1632) 1350134213 -6.393520187550609 treat image : temp/1743968247_1237483_1350134210_202b9498ba599b69f45bed521bd7874b.jpg resize: (1080, 1632) 1350134210 -5.49765054927757 treat image : temp/1743968247_1237483_1350134208_5054379442ccbf9e7c2ff320205cc18e.jpg resize: (1080, 1632) 1350134208 -5.485270924121388 treat image : temp/1743968247_1237483_1350134205_4107831795f5a604b2c15d26f1e000a4.jpg resize: (1080, 1632) 1350134205 -5.940031906079909 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.012537240982055664 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.011811971664428711 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013955116271972656 save missing photos in datou_result : time spend for datou_step_exec : 15.525502681732178 time spend to save output : 0.04359626770019531 total time spend for step 1 : 15.569098949432373 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.98user 2.98system 0:21.98elapsed 81%CPU (0avgtext+0avgdata 141116maxresident)k 120inputs+10256outputs (5major+258347minor)pagefaults 0swaps