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 : 127448 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 : 4791>100 please execute split_portfolio.py -i 19382293 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2460022'] with mtr_portfolio_ids : ['19382293'] and first list_photo_ids : [] new path : /proc/127448/ 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.426525831222534 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 Mar 26 00:27:32 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/1742945249_127448_1333439302_b303efa84523fe52f331f66dd7a7a493.jpg resize: (1080, 1632) 1333439302 7.0380605730421975 treat image : temp/1742945249_127448_1333439276_9673321a0767d752e5077c0bfecd0f6e.jpg resize: (1080, 1632) 1333439276 6.876128563580764 treat image : temp/1742945249_127448_1333439271_0f45173527a3dcdb8d637a5e6c4490cd.jpg resize: (1080, 1632) 1333439271 6.322270710805354 treat image : temp/1742945249_127448_1333439267_65ac57f0e76bf9d518a1cc8e836f2d9e.jpg resize: (1080, 1632) 1333439267 6.183952436783841 treat image : temp/1742945249_127448_1333439263_9d2679b8e05a04d755b48401f9a467e8.jpg resize: (1080, 1632) 1333439263 6.942378508485926 treat image : temp/1742945249_127448_1333439260_5bb15e8c46108f82971d197799a8f31e.jpg resize: (1080, 1632) 1333439260 7.2874087020243055 treat image : temp/1742945249_127448_1333439257_5f8554ef6dacdafb2c9f1bd7f7ed782e.jpg resize: (1080, 1632) 1333439257 2.6329699573381147 treat image : temp/1742945249_127448_1333439006_3e555dc00bb58782ecff7cbb0ea60453.jpg resize: (1080, 1632) 1333439006 3.4434187660190654 treat image : temp/1742945249_127448_1333439003_87055a660cf788c8d6229ca38c01d627.jpg resize: (1080, 1632) 1333439003 5.0835362443651215 treat image : temp/1742945249_127448_1333438998_6af5fb1e9e653454a4d898f982a877d5.jpg resize: (1080, 1632) 1333438998 0.6839488726408257 treat image : temp/1742945249_127448_1333438948_e51ee2159f0f9f24e529c4e930d9dd06.jpg resize: (1080, 1632) 1333438948 0.47032479252467946 treat image : temp/1742945249_127448_1333438916_e4bb7b539de03edf5884fccb18094396.jpg resize: (1080, 1632) 1333438916 1.2455570899039214 treat image : temp/1742945249_127448_1333438910_5417a10510d4d3ce7577ca0e251cdb97.jpg resize: (1080, 1632) 1333438910 2.7717021603526586 treat image : temp/1742945249_127448_1333438606_0336bbafee4f9f08166431fdb9d9e61c.jpg resize: (1080, 1632) 1333438606 4.09178047975183 treat image : temp/1742945249_127448_1333438603_06422c3c1a8ff5dd5233649b488205ae.jpg resize: (1080, 1632) 1333438603 3.663784393231083 treat image : temp/1742945249_127448_1333438598_794acf0beaa9342106261f7a8ae849d7.jpg resize: (1080, 1632) 1333438598 3.926088558069861 treat image : temp/1742945249_127448_1333438594_219bff0f5bd2f589ba1f50bc1db3e4d1.jpg resize: (1080, 1632) 1333438594 3.1398510995236526 treat image : temp/1742945249_127448_1333438590_62fb081a4deb3fa3936db9c84bd0876c.jpg resize: (1080, 1632) 1333438590 5.813046243977576 treat image : temp/1742945249_127448_1333438586_141f04201796eab112b12daf2e377ecb.jpg resize: (1080, 1632) 1333438586 4.723638062408437 treat image : temp/1742945249_127448_1333438459_d3d0027d07ae8afbe376cc40defda816.jpg resize: (1080, 1632) 1333438459 5.323055770923835 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.012499332427978516 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.014917135238647461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015942811965942383 save missing photos in datou_result : time spend for datou_step_exec : 18.623682022094727 time spend to save output : 0.049053192138671875 total time spend for step 1 : 18.6727352142334 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 6.22system 0:25.54elapsed 80%CPU (0avgtext+0avgdata 137792maxresident)k 160inputs+2576outputs (9major+238342minor)pagefaults 0swaps