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 : 1549968 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 : 1026>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/1549968/ 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.315568208694458 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 Mon May 12 09:37: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/1747035447_1549968_1357611161_d11706e40ba3e2beab24f5433068d326.jpg resize: (1080, 1632) 1357611161 -5.339554800733258 treat image : temp/1747035447_1549968_1357611159_cdfa6e2e5970ccde352ee56ce7091fa7.jpg resize: (1080, 1632) 1357611159 -5.644523545322286 treat image : temp/1747035447_1549968_1357611156_7ff76755c8d4259fadb05c8839df2d1e.jpg resize: (1080, 1632) 1357611156 -3.778986687561522 treat image : temp/1747035447_1549968_1357611154_c4dc602572f00c08660a54bee5c04982.jpg resize: (1080, 1632) 1357611154 -6.053503162294259 treat image : temp/1747035447_1549968_1357611151_d8fbf893bf1ecc55e3b219dcaa8fd0bf.jpg resize: (1080, 1632) 1357611151 -6.063825056071704 treat image : temp/1747035447_1549968_1357611128_448c4b041bb85091f80c6998a6dde9da.jpg resize: (1080, 1632) 1357611128 -2.8774916025633814 treat image : temp/1747035447_1549968_1357611127_2aaa9e01d653f8afe91d0a096b7a3bc4.jpg resize: (1080, 1632) 1357611127 -3.4287092639465504 treat image : temp/1747035447_1549968_1357611125_cc5457fc4985b180547c2301bc69614a.jpg resize: (1080, 1632) 1357611125 -4.1713482516379266 treat image : temp/1747035447_1549968_1357611122_aeb595d080a5b5c14564d9b5d01305c2.jpg resize: (1080, 1632) 1357611122 -5.772761512014382 treat image : temp/1747035447_1549968_1357611118_600fdd5c354dd18b81015f96748bd9d7.jpg resize: (1080, 1632) 1357611118 -3.4419429595391913 treat image : temp/1747035447_1549968_1357611090_46f99a04822ee68ccc2176aa77c50b26.jpg resize: (1080, 1632) 1357611090 -1.9169858994434656 treat image : temp/1747035447_1549968_1357611088_997e2efd59c59488972f1b60af0cf0eb.jpg resize: (1080, 1632) 1357611088 -2.582734744642997 treat image : temp/1747035447_1549968_1357610989_d85d38e127c631b87fedc0d23cffef99.jpg resize: (1080, 1632) 1357610989 -6.167394563546533 treat image : temp/1747035447_1549968_1357610987_2efc9faa5377dc192979ed4ffcee7a0a.jpg resize: (1080, 1632) 1357610987 -5.930185227295311 treat image : temp/1747035447_1549968_1357610984_8413daa39b06c35a42e2c331a9777dbd.jpg resize: (1080, 1632) 1357610984 -3.8665328078188916 treat image : temp/1747035447_1549968_1357610964_d2d0432ef97065571cefc1003770a9a9.jpg resize: (1080, 1632) 1357610964 -5.899801407955204 treat image : temp/1747035447_1549968_1357610961_b1ae6a5099f12afe4327df402a83235a.jpg resize: (1080, 1632) 1357610961 -4.9020232611210774 treat image : temp/1747035447_1549968_1357610958_afcb59c5dadf5ff42134740e5785a67f.jpg resize: (1080, 1632) 1357610958 -5.587044214989689 treat image : temp/1747035447_1549968_1357610956_bae89ef0e2bfc4e5a4213df28a551d74.jpg resize: (1080, 1632) 1357610956 -5.857626479943406 treat image : temp/1747035447_1549968_1357610954_bb87db32091ef98fc101d82f9372680f.jpg resize: (1080, 1632) 1357610954 -6.2154608219408205 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.012877941131591797 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.012978076934814453 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015736818313598633 save missing photos in datou_result : time spend for datou_step_exec : 15.059258699417114 time spend to save output : 0.046869754791259766 total time spend for step 1 : 15.106128454208374 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.38user 3.16system 0:20.00elapsed 87%CPU (0avgtext+0avgdata 140612maxresident)k 1168inputs+10192outputs (19major+263529minor)pagefaults 0swaps