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 : 2071530 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 : 985>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/2071530/ 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.2418880462646484 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 Thu May 22 08:57: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/1747897050_2071530_1360452060_3a40ff6af7ede3a344c18e98c2b9cc68.jpg resize: (1080, 1632) 1360452060 -5.35262289653387 treat image : temp/1747897050_2071530_1360452009_86267e5af4e2c7496cd44f8810324415.jpg resize: (1080, 1632) 1360452009 -5.174510089276418 treat image : temp/1747897050_2071530_1360451978_6ea637f6abc233fd591ea8d691331e72.jpg resize: (1080, 1632) 1360451978 -5.201432973884093 treat image : temp/1747897050_2071530_1360451968_2ef815bb144c9d23e451b4de4ae9459f.jpg resize: (1080, 1632) 1360451968 -5.283784964644817 treat image : temp/1747897050_2071530_1360451956_7c3afa516d3c176feb56735441978f67.jpg resize: (1080, 1632) 1360451956 -5.894618754586457 treat image : temp/1747897050_2071530_1360451622_2f90612b025f1bdfa3208470d7c149bb.jpg resize: (1080, 1632) 1360451622 -4.43699037505679 treat image : temp/1747897050_2071530_1360451596_599713c7c3383ddba844a6b6599b382f.jpg resize: (1080, 1632) 1360451596 -3.1212925550784387 treat image : temp/1747897050_2071530_1360451569_55b36fe28196aaefa132494350168fd6.jpg resize: (1080, 1632) 1360451569 -4.71534414685307 treat image : temp/1747897050_2071530_1360450953_d710774a36206e546cd0a551667c6d34.jpg resize: (1080, 1632) 1360450953 -1.7319577748056747 treat image : temp/1747897050_2071530_1360450899_6af41c7f27a388dcf2f37838c7bbf891.jpg resize: (1080, 1632) 1360450899 -4.447772252365718 treat image : temp/1747897050_2071530_1360450232_8ba294426a6a76332282007df225447a.jpg resize: (1080, 1632) 1360450232 -3.1775434040956325 treat image : temp/1747897050_2071530_1360450181_b1f8e4b1bc5d1e1a041ecb738d2b924c.jpg resize: (1080, 1632) 1360450181 -6.120046982616549 treat image : temp/1747897050_2071530_1360450123_e83e891fc5d44141be615cbdb8c8521b.jpg resize: (1080, 1632) 1360450123 -4.795849640109409 treat image : temp/1747897050_2071530_1360449793_3c944febcc09bcc709bf5f283d6e6a4c.jpg resize: (1080, 1632) 1360449793 -5.652128693040502 treat image : temp/1747897050_2071530_1360449759_f9c49e222fc5173dddef5f6b0e903357.jpg resize: (1080, 1632) 1360449759 -3.197048872722954 treat image : temp/1747897050_2071530_1360449739_61381b671b7be045354a944922ddbcc3.jpg resize: (1080, 1632) 1360449739 -5.630153257267587 treat image : temp/1747897050_2071530_1360449734_2c753fc295f19ebab353202d02bcb368.jpg resize: (1080, 1632) 1360449734 -2.8131780902880545 treat image : temp/1747897050_2071530_1360449729_01592dd47b95e63b171cda6b7bfd87a4.jpg resize: (1080, 1632) 1360449729 -4.001106066487312 treat image : temp/1747897050_2071530_1360449725_4b85ef6027e666075a3709c0eaa57d3c.jpg resize: (1080, 1632) 1360449725 -3.166974581665425 treat image : temp/1747897050_2071530_1360449448_69b0db6edbf0e37ffeab11e4715f5891.jpg resize: (1080, 1632) 1360449448 -5.809057144455605 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.012512683868408203 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.10031509399414062 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01959228515625 save missing photos in datou_result : time spend for datou_step_exec : 17.66601014137268 time spend to save output : 0.13767457008361816 total time spend for step 1 : 17.8036847114563 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.21user 4.76system 0:24.87elapsed 80%CPU (0avgtext+0avgdata 132612maxresident)k 15952inputs+9568outputs (106major+221053minor)pagefaults 0swaps