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 : 1242184 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 : 225>100 please execute split_portfolio.py -i 20315060 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2560927'] with mtr_portfolio_ids : ['20315060'] and first list_photo_ids : [] new path : /proc/1242184/ 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.220583200454712 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 Fri Feb 7 02:37:28 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/1738892246_1242184_1335350593_a2d62d9dac1c71fe3f86042dc3291f7a.jpg resize: (1080, 1632) 1335350593 -6.981351282815274 treat image : temp/1738892246_1242184_1335350587_905637f09144c6be28e47acdb585a3ec.jpg resize: (1080, 1632) 1335350587 -6.045079195553278 treat image : temp/1738892246_1242184_1335348346_f7538a0d011ab48dc80620459999c1b3.jpg resize: (1080, 1632) 1335348346 -5.712015464131208 treat image : temp/1738892246_1242184_1335348328_7ad33f6cc76f5abc3caaec1e941d7c87.jpg resize: (1080, 1632) 1335348328 -5.813147714993426 treat image : temp/1738892246_1242184_1335348325_a0dd4279975b5e3bdba72d1b284b7242.jpg resize: (1080, 1632) 1335348325 -5.949471131298725 treat image : temp/1738892246_1242184_1335348110_b37273c15c5cd80548c545adc3e62fc1.jpg resize: (1080, 1632) 1335348110 -5.8545890040011574 treat image : temp/1738892246_1242184_1335348106_d15878e6003d708337f263bd05cacce6.jpg resize: (1080, 1632) 1335348106 -2.4550990679762825 treat image : temp/1738892246_1242184_1335348068_eee782c2aa8cba85cf513f1bc5201f56.jpg resize: (1080, 1632) 1335348068 -2.3641359729245974 treat image : temp/1738892246_1242184_1335348046_92dc3a465d06e1415ae49bd99e7a032f.jpg resize: (1080, 1632) 1335348046 -3.36808996506754 treat image : temp/1738892246_1242184_1335348017_7537e9f788db7ebb920af2c739bae793.jpg resize: (1080, 1632) 1335348017 -5.508099210603353 treat image : temp/1738892246_1242184_1335344455_dd8f42333a7bc37ca9c365d6b014ce43.jpg resize: (1080, 1632) 1335344455 -5.683068293633829 treat image : temp/1738892246_1242184_1335344453_e8d798e9ac06368150afb54865ccd1f7.jpg resize: (1080, 1632) 1335344453 -2.9521080536618434 treat image : temp/1738892246_1242184_1335344452_b667ea4440f99b8d5464bfd5b97c7739.jpg resize: (1080, 1632) 1335344452 -2.4401558395578076 treat image : temp/1738892246_1242184_1335344450_a3bf04ae845430a3836aa7b00d7c1725.jpg resize: (1080, 1632) 1335344450 -4.612794152986833 treat image : temp/1738892246_1242184_1335344190_1e8292cbcf70385a59b5431c8f80317e.jpg resize: (1080, 1632) 1335344190 -6.27546696647492 treat image : temp/1738892246_1242184_1335344172_b4105d2118974fdf492dbab220fd0735.jpg resize: (1080, 1632) 1335344172 -6.4661791380636275 treat image : temp/1738892246_1242184_1335344133_09ba175e1bc21e100f4269f1d2459a7d.jpg resize: (1080, 1632) 1335344133 -5.484157534408222 treat image : temp/1738892246_1242184_1335344127_4e0a93e4fe32887bc54eeefeb8ffa05d.jpg resize: (1080, 1632) 1335344127 -6.516813225490261 treat image : temp/1738892246_1242184_1335342019_055b97bca2b149abd076379ce35fa12d.jpg resize: (1080, 1632) 1335342019 -5.667707101278932 treat image : temp/1738892246_1242184_1335341954_89ab9c3227e60aace14ac48b25e8b535.jpg resize: (1080, 1632) 1335341954 -5.9722287204124616 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.01363992691040039 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.04494500160217285 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0188901424407959 save missing photos in datou_result : time spend for datou_step_exec : 16.22275424003601 time spend to save output : 0.10976314544677734 total time spend for step 1 : 16.332517385482788 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.45user 3.54system 0:20.69elapsed 91%CPU (0avgtext+0avgdata 139508maxresident)k 13064inputs+10568outputs (101major+240353minor)pagefaults 0swaps