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 : 1986391 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 : 809>100 please execute split_portfolio.py -i 23034647 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2869780'] with mtr_portfolio_ids : ['23034647'] and first list_photo_ids : [] new path : /proc/1986391/ 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.3649797439575195 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 May 16 03:47:31 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/1747360048_1986391_1358765259_e04fb9e430c39b526834948984c5a3f9.jpg resize: (1080, 1632) 1358765259 -5.388498309838185 treat image : temp/1747360048_1986391_1358765257_282775906ac55627488537c5283df89a.jpg resize: (1080, 1632) 1358765257 -5.153574065610515 treat image : temp/1747360048_1986391_1358765254_4a4942577709ce0f1699eb11322209dd.jpg resize: (1080, 1632) 1358765254 -5.468789159625541 treat image : temp/1747360048_1986391_1358765233_4a80ec98ee238dba0195316a0db498ca.jpg resize: (1080, 1632) 1358765233 -4.490297078461155 treat image : temp/1747360048_1986391_1358765232_e18ca2c8cc7a7fc371995ca5012b6707.jpg resize: (1080, 1632) 1358765232 -4.392588493287445 treat image : temp/1747360048_1986391_1358765227_b7bd275695c9e0ac6f3b174ce22a56af.jpg resize: (1080, 1632) 1358765227 -4.524187800045823 treat image : temp/1747360048_1986391_1358765209_beb3b3230b9df9d550ceb837ed2417d0.jpg resize: (1080, 1632) 1358765209 -4.353330631392728 treat image : temp/1747360048_1986391_1358765178_b6371a55f3b78acb3bd678b429e72706.jpg resize: (1080, 1632) 1358765178 -4.337332286364557 treat image : temp/1747360048_1986391_1358765124_a0db1a3f9742874d067824323ef3c7db.jpg resize: (1080, 1632) 1358765124 -3.586660176180552 treat image : temp/1747360048_1986391_1358765119_9898cc09976077c9c6b3f0958598c79a.jpg resize: (1080, 1632) 1358765119 -3.5485277799984254 treat image : temp/1747360048_1986391_1358764900_ebbdd3ad8145582b9e427054691436c3.jpg resize: (1080, 1632) 1358764900 -0.7194899080087349 treat image : temp/1747360048_1986391_1358764892_f7154ae00bd324c7d3089ebf323af923.jpg resize: (1080, 1632) 1358764892 -2.1926438360218103 treat image : temp/1747360048_1986391_1358764889_5f17727e105450a24846abd9df0d5686.jpg resize: (1080, 1632) 1358764889 -2.7409300610646756 treat image : temp/1747360048_1986391_1358764689_b0d45f694123edeb964725e842c3dff3.jpg resize: (1080, 1632) 1358764689 -5.5933386691267675 treat image : temp/1747360048_1986391_1358764687_7f79302641a9b4572d9d61ef8a7bf46b.jpg resize: (1080, 1632) 1358764687 -5.566502222587831 treat image : temp/1747360048_1986391_1358764686_66e344da4968a72a8effbb5ce6a48d85.jpg resize: (1080, 1632) 1358764686 -5.744769976802927 treat image : temp/1747360048_1986391_1358761601_55b339bc64d00992619aecb65439d0ec.jpg resize: (1080, 1632) 1358761601 -6.1431202229734785 treat image : temp/1747360048_1986391_1358761562_af80cdf1134f8e87ae8afca1537b427b.jpg resize: (1080, 1632) 1358761562 -4.1934857375716375 treat image : temp/1747360048_1986391_1358761227_68346716f3cc08ad315c0929ba09d5f1.jpg resize: (1080, 1632) 1358761227 -5.428631267691762 treat image : temp/1747360048_1986391_1358761197_d7e093b492dac3af741cda05c45197c5.jpg resize: (1080, 1632) 1358761197 -5.9872799092661255 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.012283802032470703 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.0181424617767334 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.020894289016723633 save missing photos in datou_result : time spend for datou_step_exec : 15.941747903823853 time spend to save output : 0.05552339553833008 total time spend for step 1 : 15.997271299362183 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.67user 3.91system 0:22.37elapsed 83%CPU (0avgtext+0avgdata 139232maxresident)k 168inputs+9176outputs (0major+258537minor)pagefaults 0swaps