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 : 1674639 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 : 526>100 please execute split_portfolio.py -i 22940775 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2844070'] with mtr_portfolio_ids : ['22940775'] and first list_photo_ids : [] new path : /proc/1674639/ 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.385282516479492 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 May 14 07:12:30 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/1747199548_1674639_1358096902_a6870f213fdfb064d4795fae8068f139.jpg resize: (1080, 1632) 1358096902 -4.861458186848778 treat image : temp/1747199548_1674639_1358096900_832ba2872b4ac22c198b78549db65573.jpg resize: (1080, 1632) 1358096900 -6.472130725563574 treat image : temp/1747199548_1674639_1358096896_808f841bf015e7fd8acd7384de581e7f.jpg resize: (1080, 1632) 1358096896 -6.473042108371555 treat image : temp/1747199548_1674639_1358096893_f4f4ea2944c107170cd6287ab1fedae1.jpg resize: (1080, 1632) 1358096893 -6.30457266616348 treat image : temp/1747199548_1674639_1358096891_f073ea89d5e4581c815a7181907448de.jpg resize: (1080, 1632) 1358096891 -5.837705033939708 treat image : temp/1747199548_1674639_1358096851_ffc7450846b2557d354bc02bb5338682.jpg resize: (1080, 1632) 1358096851 -3.1473467301779894 treat image : temp/1747199548_1674639_1358096848_a6d0e6e41595c8fcf85b9e8db99860df.jpg resize: (1080, 1632) 1358096848 -2.0214739437059874 treat image : temp/1747199548_1674639_1358096845_6fcc57ae5e2198a59233c3bc583185e8.jpg resize: (1080, 1632) 1358096845 -1.5680060866727963 treat image : temp/1747199548_1674639_1358096840_f0cd504c2d66075f7cbb85b77e95caf5.jpg resize: (1080, 1632) 1358096840 -6.468924993850875 treat image : temp/1747199548_1674639_1358096807_de5f2a7992ee86c7635521cc7c145463.jpg resize: (1080, 1632) 1358096807 -6.763115663370075 treat image : temp/1747199548_1674639_1358096802_87a42192bca2f5093a18c8777efad711.jpg resize: (1080, 1632) 1358096802 -3.164124793198973 treat image : temp/1747199548_1674639_1358096799_dc94245e486bf4e61ef43b58949b7574.jpg resize: (1080, 1632) 1358096799 -5.952970901184955 treat image : temp/1747199548_1674639_1358096796_132dc08f138da2b99c08a9588786275c.jpg resize: (1080, 1632) 1358096796 -5.525935317851383 treat image : temp/1747199548_1674639_1358096794_ce2b166feff1ba2e9422f59303aba77e.jpg resize: (1080, 1632) 1358096794 -5.898073299149675 treat image : temp/1747199548_1674639_1358096791_4caf327b7322ab2ec7e71bc2aa579c3e.jpg resize: (1080, 1632) 1358096791 -5.182044296802446 treat image : temp/1747199548_1674639_1358096762_043c3723118b8796d1bd10b296d61c6c.jpg resize: (1080, 1632) 1358096762 -2.061949868708849 treat image : temp/1747199548_1674639_1358096758_6979319bcc61d243cca3a652a1d43d49.jpg resize: (1080, 1632) 1358096758 -3.0271745736080957 treat image : temp/1747199548_1674639_1358096751_5338a844a9ca7eb1080c62dee163123b.jpg resize: (1080, 1632) 1358096751 -6.445474452884294 treat image : temp/1747199548_1674639_1358096748_aa102045bc48b5d107e67be457e8258d.jpg resize: (1080, 1632) 1358096748 -5.915012973117942 treat image : temp/1747199548_1674639_1358096559_1182aa638067af77a1342521db793273.jpg resize: (1080, 1632) 1358096559 -5.38516367052259 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.018709421157836914 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.1219325065612793 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.18083429336547852 save missing photos in datou_result : time spend for datou_step_exec : 15.930166482925415 time spend to save output : 0.3262917995452881 total time spend for step 1 : 16.256458282470703 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.57user 3.80system 0:22.13elapsed 83%CPU (0avgtext+0avgdata 141428maxresident)k 128inputs+10768outputs (3major+259640minor)pagefaults 0swaps