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 : 1112146 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 : 139>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1112146/ 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.475672960281372 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 May 21 05: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/1747797749_1112146_1359956993_859e6c8617d314fb97dd37da2855929d.jpg resize: (1080, 1632) 1359956993 -1.3851841570552832 treat image : temp/1747797749_1112146_1359956966_1b3eafda5063929215b27c3fc5bf5062.jpg resize: (1080, 1632) 1359956966 -4.389888293731489 treat image : temp/1747797749_1112146_1359956959_c02d75257d334cecb1faaab9cc925026.jpg resize: (1080, 1632) 1359956959 -5.898062333893488 treat image : temp/1747797749_1112146_1359956958_3e19fe00c00e49361f032638496f3823.jpg resize: (1080, 1632) 1359956958 -3.80155446443018 treat image : temp/1747797749_1112146_1359956947_f1e58394fc795257537d724417acbcf3.jpg resize: (1080, 1632) 1359956947 -5.288537106464857 treat image : temp/1747797749_1112146_1359956919_88ac1a1b54fa59fe5362ba0b16e7e0d9.jpg resize: (1080, 1632) 1359956919 -4.935230533887739 treat image : temp/1747797749_1112146_1359956789_0658bb922a57a99ce5434445bf652c7e.jpg resize: (1080, 1632) 1359956789 -5.791978198428561 treat image : temp/1747797749_1112146_1359956784_d148ce799617cece4f1138a9c4fe6be2.jpg resize: (1080, 1632) 1359956784 -6.147489326211719 treat image : temp/1747797749_1112146_1359956768_a4fa0d36e721938573d54cfdbf22c21a.jpg resize: (1080, 1632) 1359956768 -5.506729005838043 treat image : temp/1747797749_1112146_1359956766_ca8a0f6f883318b7ab49e83982cc1f32.jpg resize: (1080, 1632) 1359956766 -4.448905389348112 treat image : temp/1747797749_1112146_1359956764_59fab3f82586b664a2b296862f67e42b.jpg resize: (1080, 1632) 1359956764 -5.336963115221534 treat image : temp/1747797749_1112146_1359956761_5e1e2eeae1df370a937214958e9ea2ed.jpg resize: (1080, 1632) 1359956761 -5.837595593967517 treat image : temp/1747797749_1112146_1359956758_c968ca603436363dfcf9b6398149e2fd.jpg resize: (1080, 1632) 1359956758 -3.370124264008033 treat image : temp/1747797749_1112146_1359956748_d27912eda87e39f79ec45fcd2ddded1c.jpg resize: (1080, 1632) 1359956748 -6.037419303683499 treat image : temp/1747797749_1112146_1359956498_76a1cbfd09ce011ffb28394e452a0dd0.jpg resize: (1080, 1632) 1359956498 -1.207212037726279 treat image : temp/1747797749_1112146_1359956467_974aa1107d3b11f871238c52d175f8d8.jpg resize: (1080, 1632) 1359956467 -2.5318507812309683 treat image : temp/1747797749_1112146_1359956435_4d8415a406d55bd7157cb045649fbcc8.jpg resize: (1080, 1632) 1359956435 -2.6856526657262947 treat image : temp/1747797749_1112146_1359956423_921dea3d82d5fb4b16d3a10c9425b086.jpg resize: (1080, 1632) 1359956423 -4.866210059530342 treat image : temp/1747797749_1112146_1359956420_180e601dbb94f52f340c700e40d62adf.jpg resize: (1080, 1632) 1359956420 -5.81303692680249 treat image : temp/1747797749_1112146_1359955806_ff86ec4e268e430d4c5d9f029021839b.jpg resize: (1080, 1632) 1359955806 -6.205494894267009 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.013569116592407227 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.05585193634033203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.017083406448364258 save missing photos in datou_result : time spend for datou_step_exec : 17.56235980987549 time spend to save output : 0.16803479194641113 total time spend for step 1 : 17.7303946018219 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.89user 5.24system 0:23.43elapsed 85%CPU (0avgtext+0avgdata 138524maxresident)k 19464inputs+9512outputs (340major+260033minor)pagefaults 0swaps