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 : 707928 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 : 591>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/707928/ 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.519017219543457 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 13 02:52: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/1747097547_707928_1357760176_6d0c25fa47c6f5f376a9017599ca182d.jpg resize: (1080, 1632) 1357760176 -0.8898249900814824 treat image : temp/1747097547_707928_1357759872_d08270ed1993256b98bd76eaf600d0f2.jpg resize: (1080, 1632) 1357759872 -1.6467969654880106 treat image : temp/1747097547_707928_1357759870_ba57f2a0a6e7ce5b2fa854bacc40c791.jpg resize: (1080, 1632) 1357759870 -1.4274852344041806 treat image : temp/1747097547_707928_1357759868_cf3364256b2209695f621974ef5c7e53.jpg resize: (1080, 1632) 1357759868 -5.95057178426642 treat image : temp/1747097547_707928_1357759866_2b21d46a9b30fd7c134a927c02ab97af.jpg resize: (1080, 1632) 1357759866 -6.220379871579302 treat image : temp/1747097547_707928_1357759864_a2110ef4dcfdcb21f6b077724ba43456.jpg resize: (1080, 1632) 1357759864 -6.6206277031235325 treat image : temp/1747097547_707928_1357759499_1d40417e5e5dc98135dd12ebece2cadd.jpg resize: (1080, 1632) 1357759499 -5.7284520517452915 treat image : temp/1747097547_707928_1357759497_7932caadddd597813a53be5f45805ba4.jpg resize: (1080, 1632) 1357759497 -5.569766284182045 treat image : temp/1747097547_707928_1357759495_2cca1cbe24a86f207756f234eec07b82.jpg resize: (1080, 1632) 1357759495 -5.45800962124081 treat image : temp/1747097547_707928_1357759493_5851feac44ffacbc680904e639f3fd72.jpg resize: (1080, 1632) 1357759493 -2.893760723168227 treat image : temp/1747097547_707928_1357759478_ec319f14d5ce4b5a0907879571c94168.jpg resize: (1080, 1632) 1357759478 -4.595113578250202 treat image : temp/1747097547_707928_1357759476_62f4338611d363bcb2fa8fce7e3c355b.jpg resize: (1080, 1632) 1357759476 -5.78933888357168 treat image : temp/1747097547_707928_1357759473_2b4668eba97c93426663d7d2dce7c468.jpg resize: (1080, 1632) 1357759473 -3.634162098587335 treat image : temp/1747097547_707928_1357759470_0b88d438807d712d9b5e6f2c138d8bd3.jpg resize: (1080, 1632) 1357759470 -6.358612866145729 treat image : temp/1747097547_707928_1357759468_895ce35fae922d664e997603088bc5a5.jpg resize: (1080, 1632) 1357759468 -3.2621940396781572 treat image : temp/1747097547_707928_1357759465_55a27fc6d6edd919adb55f3d8d415941.jpg resize: (1080, 1632) 1357759465 -5.9523892714711035 treat image : temp/1747097547_707928_1357759002_7c3803216c0e1e84cffe6d4af3a09ebc.jpg resize: (1080, 1632) 1357759002 -6.275329548665424 treat image : temp/1747097547_707928_1357758999_59b924d55033389bed14bdc905be9f3b.jpg resize: (1080, 1632) 1357758999 -5.702897796019173 treat image : temp/1747097547_707928_1357757794_bf88b36c589c21c1a17d919ec3d99742.jpg resize: (1080, 1632) 1357757794 -2.9602169801543283 treat image : temp/1747097547_707928_1357757791_f1c20b8b6a6d0987bae0624b422ab1a0.jpg resize: (1080, 1632) 1357757791 -5.96615286338484 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.014400720596313477 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.013040304183959961 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014791250228881836 save missing photos in datou_result : time spend for datou_step_exec : 15.87223482131958 time spend to save output : 0.04872632026672363 total time spend for step 1 : 15.920961141586304 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.16user 4.43system 0:20.25elapsed 91%CPU (0avgtext+0avgdata 139184maxresident)k 48inputs+10248outputs (1major+258001minor)pagefaults 0swaps