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 : 2002882 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 : 6613>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/2002882/ 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.3087077140808105 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 Jul 10 20:47: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/1752173248_2002882_1371519976_052406030ccef692b602060808cb5f58.jpg resize: (1080, 1632) 1371519976 -1.8902827625459462 treat image : temp/1752173248_2002882_1371519939_dc982012b69be48ba50c5c8b577800c7.jpg resize: (1080, 1632) 1371519939 -3.494701522345436 treat image : temp/1752173248_2002882_1371519657_cc456fbeabbf54698a9cfc32c563d0ba.jpg resize: (1080, 1632) 1371519657 -1.9909410208143148 treat image : temp/1752173248_2002882_1371519605_467f584f7d3db5ca5bd5b5da7255dfe8.jpg resize: (1080, 1632) 1371519605 -5.169499905135333 treat image : temp/1752173248_2002882_1371519264_cea0af5e8e26741b5642bd8ca282d388.jpg resize: (1080, 1632) 1371519264 -2.7019630164414568 treat image : temp/1752173248_2002882_1371519255_8c62590e9b13f1e3278ee7ea0484b1ed.jpg resize: (1080, 1632) 1371519255 -3.992532847556141 treat image : temp/1752173248_2002882_1371518970_ad894ec01dd1d8c6d0e0de7a0ad876c3.jpg resize: (1080, 1632) 1371518970 -2.378298096711694 treat image : temp/1752173248_2002882_1371518909_dc156e8dbad738e0b89b45fe3ba08dba.jpg resize: (1080, 1632) 1371518909 -1.6968503550201572 treat image : temp/1752173248_2002882_1371518639_3831631ebb2b1017f002db5e22574db3.jpg resize: (1080, 1632) 1371518639 -0.48591846120665527 treat image : temp/1752173248_2002882_1371518556_7d634f4a1d79c32d292ee021fcb3df74.jpg resize: (1080, 1632) 1371518556 -2.5277647855945005 treat image : temp/1752173248_2002882_1371518456_8f370eef00547b463ef14e1764a97596.jpg resize: (1080, 1632) 1371518456 -4.092810034714893 treat image : temp/1752173248_2002882_1371518298_a62f8cd337a2623a36ff8a2fac3f5d72.jpg resize: (1080, 1632) 1371518298 -2.63644648000013 treat image : temp/1752173248_2002882_1371518170_c41099863ff8d4c3e3397ea4b22654a2.jpg resize: (1080, 1632) 1371518170 -5.618443631957877 treat image : temp/1752173248_2002882_1371518119_11abd457d656756afd8413b29984fb3a.jpg resize: (1080, 1632) 1371518119 -2.414884753071554 treat image : temp/1752173248_2002882_1371518024_acc5e073167bec206144bb65b37f155f.jpg resize: (1080, 1632) 1371518024 -4.819850125383936 treat image : temp/1752173248_2002882_1371518002_b379142d3334824f2e504d3f18396074.jpg resize: (1080, 1632) 1371518002 -4.330230580078325 treat image : temp/1752173248_2002882_1371518001_2fb939f6bee5d840c50ad409946d7a0b.jpg resize: (1080, 1632) 1371518001 -1.987876484581614 treat image : temp/1752173248_2002882_1371517955_dad48c9a11b0ecd966ab9b0c30986186.jpg resize: (1080, 1632) 1371517955 -4.972474545603848 treat image : temp/1752173248_2002882_1371517941_fccd82d4ea63a2afc170dca305445e7b.jpg resize: (1080, 1632) 1371517941 -1.7391663541549263 treat image : temp/1752173248_2002882_1371517940_e7633b6c5eab16f833ac5719814ae57c.jpg resize: (1080, 1632) 1371517940 -4.021347201014644 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.036496639251708984 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.018381595611572266 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02134108543395996 save missing photos in datou_result : time spend for datou_step_exec : 14.210492610931396 time spend to save output : 0.08082056045532227 total time spend for step 1 : 14.291313171386719 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.02user 3.60system 0:20.01elapsed 83%CPU (0avgtext+0avgdata 141120maxresident)k 0inputs+7736outputs (21major+256607minor)pagefaults 0swaps