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 : 430476 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 : 2106>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/430476/ 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.5461955070495605 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:47: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/1742633249_430476_1346374263_5c05a4a3851d3f66a48c702a289072b6.jpg resize: (1080, 1632) 1346374263 -6.467370662522885 treat image : temp/1742633249_430476_1346374260_30a564e5a991329678682434540d68dc.jpg resize: (1080, 1632) 1346374260 -6.676066265421089 treat image : temp/1742633249_430476_1346374257_87e5fb43b9af96edb8f60ec1bfbecf60.jpg resize: (1080, 1632) 1346374257 -6.667604611237164 treat image : temp/1742633249_430476_1346374253_03b9adc46e2ce3603a7cc7e2ad0bb23f.jpg resize: (1080, 1632) 1346374253 -5.669066776098258 treat image : temp/1742633249_430476_1346374248_6b766a82be1b1f675934bd5b691cbf07.jpg resize: (1080, 1632) 1346374248 -5.575431050584403 treat image : temp/1742633249_430476_1346374243_e5c1bb287dfac09396edf384f7c9d999.jpg resize: (1080, 1632) 1346374243 -5.451296256810857 treat image : temp/1742633249_430476_1346374187_7b389a40ebe7fdcd1e67a941052590f0.jpg resize: (1080, 1632) 1346374187 -4.883059047602674 treat image : temp/1742633249_430476_1346374179_c771bfb729dfc09d7c96cb51f150acf6.jpg resize: (1080, 1632) 1346374179 -3.5696600061923065 treat image : temp/1742633249_430476_1346374164_1c1548bf0baadf728f4cb32fda06a2b2.jpg resize: (1080, 1632) 1346374164 -5.750538193933477 treat image : temp/1742633249_430476_1346374159_b3f48b8614fc7eed7c9b5a3ba8393a7d.jpg resize: (1080, 1632) 1346374159 -3.8050451285537044 treat image : temp/1742633249_430476_1346374155_7bc1a595da5fd34ec1f2d7b60fc819c9.jpg resize: (1080, 1632) 1346374155 -5.66250956670109 treat image : temp/1742633249_430476_1346374151_5208430e7b277f194808d89155a259d9.jpg resize: (1080, 1632) 1346374151 -4.6984066243051466 treat image : temp/1742633249_430476_1346374107_80c623b496f7a5d91d76bc123d9051b6.jpg resize: (1080, 1632) 1346374107 -3.5542170348378437 treat image : temp/1742633249_430476_1346374094_da8d721cb3741119131db85d5029af23.jpg resize: (1080, 1632) 1346374094 -2.336271981722287 treat image : temp/1742633249_430476_1346374091_d607ed9048bce1fdcacea71e4ad1d830.jpg resize: (1080, 1632) 1346374091 -2.2937526504682806 treat image : temp/1742633249_430476_1346374087_3ba8571e4f50fc867ff8f80d2f5ab647.jpg resize: (1080, 1632) 1346374087 -5.336485312164509 treat image : temp/1742633249_430476_1346374078_c188e6244a6bbf89071974a0184d72cb.jpg resize: (1080, 1632) 1346374078 -5.733186416686786 treat image : temp/1742633249_430476_1346374067_afcf921e834e71634dd919603133ec38.jpg resize: (1080, 1632) 1346374067 -6.192901230386246 treat image : temp/1742633249_430476_1346373953_974a5a8922f865cdcddf123a48c803a5.jpg resize: (1080, 1632) 1346373953 -3.966668234673365 treat image : temp/1742633249_430476_1346373950_114f4442556db5d4f39324cf175084d0.jpg resize: (1080, 1632) 1346373950 -4.989000368580036 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.013588666915893555 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.012024879455566406 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015016317367553711 save missing photos in datou_result : time spend for datou_step_exec : 14.821052074432373 time spend to save output : 0.04534149169921875 total time spend for step 1 : 14.866393566131592 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.05user 3.13system 0:20.90elapsed 82%CPU (0avgtext+0avgdata 138776maxresident)k 120inputs+10768outputs (16major+231136minor)pagefaults 0swaps