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 : 1769329 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 : 1405>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/1769329/ 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.165015459060669 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 Tue May 20 10:27: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/1747729649_1769329_1359791528_a4a9986baac2682341df3cc089e3afb6.jpg resize: (1080, 1632) 1359791528 -1.2726649263195573 treat image : temp/1747729649_1769329_1359791525_bcd6a6fb496c3f3289f7a9495c873425.jpg resize: (1080, 1632) 1359791525 -0.6589191041189948 treat image : temp/1747729649_1769329_1359791522_e84b838c2cd32abf959edff92b8c322b.jpg resize: (1080, 1632) 1359791522 -3.2067894426571106 treat image : temp/1747729649_1769329_1359791519_4f56d200d95ae31f380bd3a36659caf5.jpg resize: (1080, 1632) 1359791519 -3.4664066654529697 treat image : temp/1747729649_1769329_1359791517_e5e6401b7d3f4ace1237a79ef5ec4985.jpg resize: (1080, 1632) 1359791517 -4.432679906391644 treat image : temp/1747729649_1769329_1359791486_7ce0f544eaa39424355a17664f5be50e.jpg resize: (1080, 1632) 1359791486 -5.131921299236571 treat image : temp/1747729649_1769329_1359791476_c6ea9225db99b9f189193d78a405a429.jpg resize: (1080, 1632) 1359791476 -3.14960786088368 treat image : temp/1747729649_1769329_1359791458_a14fa0c5ab3deff2584f4b9461dcc914.jpg resize: (1080, 1632) 1359791458 -3.9693234884525856 treat image : temp/1747729649_1769329_1359791439_feefe01109130868d96b857ac265bbda.jpg resize: (1080, 1632) 1359791439 -5.097234697171573 treat image : temp/1747729649_1769329_1359791428_d6901627ba7b7d2141aa8f974643fad5.jpg resize: (1080, 1632) 1359791428 -2.000754093261994 treat image : temp/1747729649_1769329_1359791270_bfed3a4ff25e2b9adfd8df3898b3bd72.jpg resize: (1080, 1632) 1359791270 -1.7421356667508447 treat image : temp/1747729649_1769329_1359791268_dfd90e134cad38e4a687aebce8f1e9cf.jpg resize: (1080, 1632) 1359791268 -2.499242142243344 treat image : temp/1747729649_1769329_1359791266_b2a0acbafab279935c947f03e098aff8.jpg resize: (1080, 1632) 1359791266 -4.342029705855298 treat image : temp/1747729649_1769329_1359791257_56cbc44e6e2974ebab2c0fc09761cd07.jpg resize: (1080, 1632) 1359791257 -4.131003925369934 treat image : temp/1747729649_1769329_1359791247_285474c351ee9b0bb52cd57d98f82d55.jpg resize: (1080, 1632) 1359791247 -4.998249418052845 treat image : temp/1747729649_1769329_1359791239_7f6a83c7099cf8dba2b891fc17172a84.jpg resize: (1080, 1632) 1359791239 -5.292883111752503 treat image : temp/1747729649_1769329_1359791196_f680de3b95d976a8639897ba5a67a69b.jpg resize: (1080, 1632) 1359791196 -5.03668267292259 treat image : temp/1747729649_1769329_1359791194_c2819259b95ec38ccc5f528c83f54177.jpg resize: (1080, 1632) 1359791194 -4.480885870656936 treat image : temp/1747729649_1769329_1359791188_87f672a1b19a7f0882512ac6df9b1c50.jpg resize: (1080, 1632) 1359791188 -4.766259403101047 treat image : temp/1747729649_1769329_1359791182_8e998db95a7340d2ecc5c5f1da89b61c.jpg resize: (1080, 1632) 1359791182 -4.740143137129101 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.015755414962768555 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.014879465103149414 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01688671112060547 save missing photos in datou_result : time spend for datou_step_exec : 17.357202291488647 time spend to save output : 0.0528106689453125 total time spend for step 1 : 17.41001296043396 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.33user 4.61system 0:23.77elapsed 83%CPU (0avgtext+0avgdata 137916maxresident)k 3280inputs+8592outputs (15major+260787minor)pagefaults 0swaps