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 : 2325287 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 : 2172>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/2325287/ 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.062300682067871 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 08:02: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/1753250549_2325287_1373288695_c7fd6547c7094043edcf9ec663d7ca4e.jpg resize: (1080, 1632) 1373288695 -4.760385817090367 treat image : temp/1753250549_2325287_1373288663_996b0a6d85efb8ff4ad76a8a43253c2a.jpg resize: (1080, 1632) 1373288663 -4.596315177910929 treat image : temp/1753250549_2325287_1373288639_95f28bba1a68565a321de7cb31cafe78.jpg resize: (1080, 1632) 1373288639 -4.416770040151832 treat image : temp/1753250549_2325287_1373288614_9409c10608b44643fb066242cf80b52c.jpg resize: (1080, 1632) 1373288614 -4.962465633305654 treat image : temp/1753250549_2325287_1373288586_7988e2fd81946eff1e0f524a5bbdd59f.jpg resize: (1080, 1632) 1373288586 -5.513914172592493 treat image : temp/1753250549_2325287_1373288542_217c07c0f3ffd40879104f3b47261fb2.jpg resize: (1080, 1632) 1373288542 -4.193477461999878 treat image : temp/1753250549_2325287_1373288275_f0720248243b392947c118cc0bd8764c.jpg resize: (1080, 1632) 1373288275 -4.4424083538036 treat image : temp/1753250549_2325287_1373288250_76b87c608fd6be18544a912da527a87a.jpg resize: (1080, 1632) 1373288250 -4.4335857337207525 treat image : temp/1753250549_2325287_1373288222_e8386c7d8f4b3c9c4d0e63362cd7d9ae.jpg resize: (1080, 1632) 1373288222 -5.511704697642012 treat image : temp/1753250549_2325287_1373288188_91eda03ee8c4549ba78710a4ce8ed793.jpg resize: (1080, 1632) 1373288188 -4.9470033652107475 treat image : temp/1753250549_2325287_1373288156_327d69e8c2b67ae635b6d09a31632d27.jpg resize: (1080, 1632) 1373288156 -5.840255230823892 treat image : temp/1753250549_2325287_1373288152_3643b8275a069bc8392ac6b85bfc6fa9.jpg resize: (1080, 1632) 1373288152 -4.738147404082341 treat image : temp/1753250549_2325287_1373288132_69ed43c51564e0a7b418d1b6853b806d.jpg resize: (1080, 1632) 1373288132 -4.600596498190254 treat image : temp/1753250549_2325287_1373288128_3069852bc6acbce149b75d91cc4b5d39.jpg resize: (1080, 1632) 1373288128 -2.4008542756608597 treat image : temp/1753250549_2325287_1373288125_747587950fa1d88e7ac4cc689cb5cd38.jpg resize: (1080, 1632) 1373288125 -2.3742499009388958 treat image : temp/1753250549_2325287_1373288121_496f3b0998856b36554946f620ea003e.jpg resize: (1080, 1632) 1373288121 -2.164359347274912 treat image : temp/1753250549_2325287_1373288116_d0b90423c2c09d49dded3e70c554e83d.jpg resize: (1080, 1632) 1373288116 -3.1647239742814235 treat image : temp/1753250549_2325287_1373288112_06ea2bbb7c6629f866b6cc66276d9e42.jpg resize: (1080, 1632) 1373288112 -2.204924973447846 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.021875858306884766 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.01593494415283203 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01694512367248535 save missing photos in datou_result : time spend for datou_step_exec : 13.24060845375061 time spend to save output : 0.05921483039855957 total time spend for step 1 : 13.29982328414917 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 12.70user 2.98system 0:18.71elapsed 83%CPU (0avgtext+0avgdata 140280maxresident)k 0inputs+8008outputs (13major+240370minor)pagefaults 0swaps