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 : 2246219 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 : 4490>100 please execute split_portfolio.py -i 24449702 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3218216'] with mtr_portfolio_ids : ['24449702'] and first list_photo_ids : [] new path : /proc/2246219/ 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.256381034851074 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 3 01:57: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/1751500647_2246219_1370218835_21ce6d6e78a6d2073b003ee62c4c1850.jpg resize: (1080, 1632) 1370218835 -4.645085624831747 treat image : temp/1751500647_2246219_1370218794_85f15fdf117fd3fe4642036816e665bd.jpg resize: (1080, 1632) 1370218794 -4.654326907189201 treat image : temp/1751500647_2246219_1370218782_ba68fb9bb28382902380711128b0b082.jpg resize: (1080, 1632) 1370218782 -4.225870430598923 treat image : temp/1751500647_2246219_1370218780_619985afa480b9e81f68d0185bc04c69.jpg resize: (1080, 1632) 1370218780 -4.2199637528524985 treat image : temp/1751500647_2246219_1370218749_10e1ef5de03145dd51428a071dbb4b35.jpg resize: (1080, 1632) 1370218749 -3.1737791246924942 treat image : temp/1751500647_2246219_1370218725_031664388f9bea66ead23d442ace4696.jpg resize: (1080, 1632) 1370218725 -1.283549688541508 treat image : temp/1751500647_2246219_1370217676_9bed59f7ad359a8d76529cb30aeeee71.jpg resize: (1080, 1632) 1370217676 -3.150379097985937 treat image : temp/1751500647_2246219_1370217585_afadf818398c76bfff41bc76270ab918.jpg resize: (1080, 1632) 1370217585 -4.285629635862139 treat image : temp/1751500647_2246219_1370217518_f57a1e40129e1dcd5c4c8b12c8acfbc7.jpg resize: (1080, 1632) 1370217518 -4.722918849867587 treat image : temp/1751500647_2246219_1370217451_a0d40ba433a360b9ade9faa3f386b0b3.jpg resize: (1080, 1632) 1370217451 -4.750277966782898 treat image : temp/1751500647_2246219_1370217417_7b3691571d8fbc4cdad7df2c92d56fd7.jpg resize: (1080, 1632) 1370217417 -5.475504857253731 treat image : temp/1751500647_2246219_1370217366_c89547005db3016837c1639dc880ac03.jpg resize: (1080, 1632) 1370217366 -5.448582521924667 treat image : temp/1751500647_2246219_1370216434_1e612993c18db92a56a13ed9a0d18dc8.jpg resize: (1080, 1632) 1370216434 -1.6581661782911137 treat image : temp/1751500647_2246219_1370216415_1974db5ad3dd3b5e4bc85cfa9f152f80.jpg resize: (1080, 1632) 1370216415 -3.0518420863624782 treat image : temp/1751500647_2246219_1370216382_ae12f6b3fd8ebfab989bee5b38f69320.jpg resize: (1080, 1632) 1370216382 -3.0282633141280413 treat image : temp/1751500647_2246219_1370216347_861da76038e97454e50e3fcc13cb131a.jpg resize: (1080, 1632) 1370216347 -3.014875081764067 treat image : temp/1751500647_2246219_1370216301_24e94c995d917464bdf015d0895dda57.jpg resize: (1080, 1632) 1370216301 -3.182192569282079 treat image : temp/1751500647_2246219_1370216262_5dd87015c060e0732c25aa14a12b4df7.jpg resize: (1080, 1632) 1370216262 -3.163724789614035 treat image : temp/1751500647_2246219_1370193043_688d46e8083705966ff36c29598bb002.jpg resize: (1080, 1632) 1370193043 -5.763379253470688 treat image : temp/1751500647_2246219_1370193042_5ae87eb020fe2dc51f4c9497ce96e7ea.jpg resize: (1080, 1632) 1370193042 -5.755872242042428 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.015744447708129883 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.015865325927734375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.25304484367370605 save missing photos in datou_result : time spend for datou_step_exec : 15.293386936187744 time spend to save output : 0.28931522369384766 total time spend for step 1 : 15.582702159881592 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.40user 3.60system 0:20.41elapsed 88%CPU (0avgtext+0avgdata 138192maxresident)k 1104inputs+8168outputs (5major+231978minor)pagefaults 0swaps