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 : 1817797 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 : 5932>100 please execute split_portfolio.py -i 25117783 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3312460'] with mtr_portfolio_ids : ['25117783'] and first list_photo_ids : [] new path : /proc/1817797/ 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.2661051750183105 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 Aug 1 20:27: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/1754072847_1817797_1374805981_8273132a2e95c6cc7016f7d11e428e81.jpg resize: (1080, 1632) 1374805981 -4.336089372606981 treat image : temp/1754072847_1817797_1374805979_d13b191d3983191150342c0a10b285d1.jpg resize: (1080, 1632) 1374805979 -1.7690997715719339 treat image : temp/1754072847_1817797_1374805977_d3382fc245fe4ad291594b6c31e144c9.jpg resize: (1080, 1632) 1374805977 -0.8910699616272321 treat image : temp/1754072847_1817797_1374805974_9277dac092b2cf8678c506e3bd215330.jpg resize: (1080, 1632) 1374805974 -0.8040438441030338 treat image : temp/1754072847_1817797_1374805971_66727626652384dbab9ed920e3fc67bd.jpg resize: (1080, 1632) 1374805971 -4.816316927586862 treat image : temp/1754072847_1817797_1374805968_1b1b23d862adbe7a52584b180837a010.jpg resize: (1080, 1632) 1374805968 -4.61928663655398 treat image : temp/1754072847_1817797_1374805866_9b2e3b4fb47e74a8495b29b4e103f936.jpg resize: (1080, 1632) 1374805866 -4.336089372606981 treat image : temp/1754072847_1817797_1374805865_32a151d3c0f7915bc5f6b2bc6eb32284.jpg resize: (1080, 1632) 1374805865 -1.7690997715719339 treat image : temp/1754072847_1817797_1374805863_0ec6f3c030c5ee69bd64433a0a733318.jpg resize: (1080, 1632) 1374805863 -0.8910699616272321 treat image : temp/1754072847_1817797_1374805861_148262c9524ccd829e3ad60b25298aa5.jpg resize: (1080, 1632) 1374805861 -0.8040438441030338 treat image : temp/1754072847_1817797_1374805857_1ada832952685e465e7ce2591890616b.jpg resize: (1080, 1632) 1374805857 -4.816316927586862 treat image : temp/1754072847_1817797_1374805831_c3f6ed2de4f03522b5f4644207a85431.jpg resize: (1080, 1632) 1374805831 -4.61928663655398 treat image : temp/1754072847_1817797_1374805731_0f0d29fcf13c9da5468c6aea3e78a9c2.jpg resize: (1080, 1632) 1374805731 -4.397648508880547 treat image : temp/1754072847_1817797_1374805729_892108edd654a411e0ef797a9b5d4db6.jpg resize: (1080, 1632) 1374805729 -4.523070357121447 treat image : temp/1754072847_1817797_1374805727_f7c3ba78e6498fe88037442810ff5303.jpg resize: (1080, 1632) 1374805727 -2.6598732634573334 treat image : temp/1754072847_1817797_1374805724_2fdac9b772f4d1053c68dbf6e14e20bc.jpg resize: (1080, 1632) 1374805724 -2.7182606680079306 treat image : temp/1754072847_1817797_1374805721_0b9c908e8041f7d21f27aebf0d588b4f.jpg resize: (1080, 1632) 1374805721 -1.6789616728319 treat image : temp/1754072847_1817797_1374805711_69188be730d7bf85bd4b936b728f885c.jpg resize: (1080, 1632) 1374805711 -5.065035434554621 treat image : temp/1754072847_1817797_1374805569_cdccc540b3cd6b46b95c26aba0731c6e.jpg resize: (1080, 1632) 1374805569 -4.693487751012288 treat image : temp/1754072847_1817797_1374805548_0a69146ae39c77d69ab9a634f0f9ff5a.jpg resize: (1080, 1632) 1374805548 -0.37832022741473864 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.01561427116394043 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.019992589950561523 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01695537567138672 save missing photos in datou_result : time spend for datou_step_exec : 15.52877926826477 time spend to save output : 0.05780529975891113 total time spend for step 1 : 15.586584568023682 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.07user 3.96system 0:19.98elapsed 90%CPU (0avgtext+0avgdata 137876maxresident)k 0inputs+7848outputs (1major+254919minor)pagefaults 0swaps