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 : 384776 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 : 1932>100 please execute split_portfolio.py -i 21605229 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681618'] with mtr_portfolio_ids : ['21605229'] and first list_photo_ids : [] new path : /proc/384776/ 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 : 1.9993233680725098 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 Sat Mar 22 09:32:29 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/1742632347_384776_1346372564_52512aad675b6ad8df4e412e5bf16007.jpg resize: (1080, 1632) 1346372564 -4.519155743681228 treat image : temp/1742632347_384776_1346372561_68e50a529a91ff58ccc3b7e4a2bb047e.jpg resize: (1080, 1632) 1346372561 -6.496020339439128 treat image : temp/1742632347_384776_1346372559_fd9fd3486bc2b808c02e9a1667d86524.jpg resize: (1080, 1632) 1346372559 -4.337523467293951 treat image : temp/1742632347_384776_1346372556_0121c5aa3099f80c2861737b69fbaba4.jpg resize: (1080, 1632) 1346372556 -6.026579518757537 treat image : temp/1742632347_384776_1346372553_b61cfbde112fc20d8a4e72d991d859cd.jpg resize: (1080, 1632) 1346372553 -6.136883860513587 treat image : temp/1742632347_384776_1346372550_4aee21b518824ed4f5904dea97dee432.jpg resize: (1080, 1632) 1346372550 -6.199138660141662 treat image : temp/1742632347_384776_1346372539_c5ab5d288c5a8fb191a153af7a667d4e.jpg resize: (1080, 1632) 1346372539 -5.795885654660617 treat image : temp/1742632347_384776_1346372536_245a1b693bce8737c8e7424cd74b286a.jpg resize: (1080, 1632) 1346372536 -2.1449683018001977 treat image : temp/1742632347_384776_1346372533_4f39a81382fb229ba5a124d6e8948be4.jpg resize: (1080, 1632) 1346372533 -3.9208246993563405 treat image : temp/1742632347_384776_1346372529_8b8a57450ffe6797866651208793f0b7.jpg resize: (1080, 1632) 1346372529 -6.1899585971770295 treat image : temp/1742632347_384776_1346372522_04ae981f71aa0495b0495f3912d5aa3e.jpg resize: (1080, 1632) 1346372522 -6.704013950778013 treat image : temp/1742632347_384776_1346372516_5209c881c702eeeddf39e8fbc9252e71.jpg resize: (1080, 1632) 1346372516 -2.0603845662716282 treat image : temp/1742632347_384776_1346372507_e9c6ac517bde2e527b5d82c9a5ed2e43.jpg resize: (1080, 1632) 1346372507 -2.303739870827803 treat image : temp/1742632347_384776_1346372500_3b5544d92f2037fa35820d936faaff26.jpg resize: (1080, 1632) 1346372500 -5.147111805782929 treat image : temp/1742632347_384776_1346372498_83b5b2d332a22ffb6c6f933fc211e6ca.jpg resize: (1080, 1632) 1346372498 -6.274354049506604 treat image : temp/1742632347_384776_1346372496_aac3d366a28a99a1cea133354f0c518e.jpg resize: (1080, 1632) 1346372496 -6.477095469507062 treat image : temp/1742632347_384776_1346372491_b3d549b9243700e1d48cb913af3ab417.jpg resize: (1080, 1632) 1346372491 -5.637853289270102 treat image : temp/1742632347_384776_1346372462_fc08682622c0b86c91ac4382d860d3f3.jpg resize: (1080, 1632) 1346372462 -5.684290642907967 treat image : temp/1742632347_384776_1346372451_a78a44df4034028e6f65870a654688dd.jpg resize: (1080, 1632) 1346372451 -4.219490898092804 treat image : temp/1742632347_384776_1346372449_9b4556e554e7ca548a7b034547b7bd7f.jpg resize: (1080, 1632) 1346372449 -5.829117671767638 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.015317201614379883 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.012015581130981445 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.05513644218444824 save missing photos in datou_result : time spend for datou_step_exec : 16.451880931854248 time spend to save output : 0.0889589786529541 total time spend for step 1 : 16.540839910507202 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.59user 4.71system 0:20.64elapsed 93%CPU (0avgtext+0avgdata 137968maxresident)k 176inputs+11432outputs (9major+257056minor)pagefaults 0swaps