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 : 1542549 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 updating current state to 1 we have a portfolio with more photos than limit : 2897>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1542549/ 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.728029489517212 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 Thu Sep 4 18:57: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/1757005048_1542549_1381471916_4574151b264512e998336d354bea4ce8_48011070.jpg resize: (1080, 1632) 1381471916 -6.128038465252313 treat image : temp/1757005048_1542549_1381471915_ce3db8fa56fb8f011d827c513c405feb_46881840.jpg resize: (1080, 1632) 1381471915 -6.080008454452859 treat image : temp/1757005048_1542549_1381471914_5e8df17b6fb868f9fb0703f2bf9f84cd_76270543.jpg resize: (1080, 1632) 1381471914 -3.8676963487983427 treat image : temp/1757005048_1542549_1381471913_c0cb0cb419ef5f6365106f0ee5f62453_98571701.jpg resize: (1080, 1632) 1381471913 -4.383935352746476 treat image : temp/1757005048_1542549_1381471912_a2a6309b3247a186aa3d38c0a7327fd6_38212047.jpg resize: (1080, 1632) 1381471912 -5.0553583017839605 treat image : temp/1757005048_1542549_1381471911_eb866905ab5fe3b1d79fea8e85409adb_93057982.jpg resize: (1080, 1632) 1381471911 -5.060647974931699 treat image : temp/1757005048_1542549_1381446084_4d871ce9d925fade63c23ba75e9f558c_16702680.jpg resize: (1080, 1632) 1381446084 -5.444334802453532 treat image : temp/1757005048_1542549_1381446083_83cd176a96204e324921ed32bfa9c563_90500517.jpg resize: (1080, 1632) 1381446083 -5.61658580775554 treat image : temp/1757005048_1542549_1381446082_83cd176a96204e324921ed32bfa9c563_90500517.jpg resize: (1080, 1632) 1381446082 -5.61658580775554 treat image : temp/1757005048_1542549_1381446081_4e387425a38c823dbec91ac8805e16f5_85956593.jpg resize: (1080, 1632) 1381446081 -4.946339944041097 treat image : temp/1757005048_1542549_1381446080_4e387425a38c823dbec91ac8805e16f5_85956593.jpg resize: (1080, 1632) 1381446080 -4.946339944041097 treat image : temp/1757005048_1542549_1381446078_40829e90340c8fa2420d9a77e48637b5_72407737.jpg resize: (1080, 1632) 1381446078 -3.7098211978086395 treat image : temp/1757005048_1542549_1381446076_868f6a27109a8c7ea62af2c7e92dc375_17431692.jpg resize: (1080, 1632) 1381446076 -5.435006622144243 treat image : temp/1757005048_1542549_1381446074_7ed9572e301e89a8dae935ddeaf7b637_39669324.jpg resize: (1080, 1632) 1381446074 -3.063601536006952 treat image : temp/1757005048_1542549_1381446071_5ac876810d9cf302cf6afa0e02dda8bd_66868644.jpg resize: (1080, 1632) 1381446071 -1.6814601286208077 treat image : temp/1757005048_1542549_1381446068_162f5e945b5a638cc1fdb95e92955129_72471846.jpg resize: (1080, 1632) 1381446068 -2.0781519367191637 treat image : temp/1757005048_1542549_1381446065_cdc56c20fea07f834b5e2cbe5d76aaad_23009978.jpg resize: (1080, 1632) 1381446065 -2.575381157286077 treat image : temp/1757005048_1542549_1381446061_f019e53e864c18c85731aba0b0d7af1b_62667165.jpg resize: (1080, 1632) 1381446061 -6.01891114952114 treat image : temp/1757005048_1542549_1381446060_6c8c49881f317ca9f7798809009835f0_67690506.jpg resize: (1080, 1632) 1381446060 -5.872863107267149 treat image : temp/1757005048_1542549_1381446058_89d56753170ea6b274af01c3879c2a3a_45121011.jpg resize: (1080, 1632) 1381446058 -5.46216544107245 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.035223960876464844 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.036218881607055664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.036095380783081055 save missing photos in datou_result : time spend for datou_step_exec : 15.240719556808472 time spend to save output : 0.12337064743041992 total time spend for step 1 : 15.364090204238892 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.41user 3.04system 0:21.46elapsed 81%CPU (0avgtext+0avgdata 140364maxresident)k 136inputs+9848outputs (14major+259678minor)pagefaults 0swaps