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 : 3689543 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 : 3006>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/3689543/ 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.3516805171966553 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 Wed Jul 9 18:22: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/1752078147_3689543_1371426358_98c1b39d282725ca21ee40e9d7cc645b.jpg resize: (1080, 1632) 1371426358 -5.232894890647692 treat image : temp/1752078147_3689543_1371426353_9b745b5562c0cec314afd010830ea53e.jpg resize: (1080, 1632) 1371426353 -0.8445733941603738 treat image : temp/1752078147_3689543_1371426346_07c6c081a6bff48bf2190509684968ed.jpg resize: (1080, 1632) 1371426346 -1.5462674725954493 treat image : temp/1752078147_3689543_1371426318_96e607a7e9b930ded8a105b008935d1e.jpg resize: (1080, 1632) 1371426318 -2.2602917031474745 treat image : temp/1752078147_3689543_1371426288_9532346d1439d91fc4f8f133f6d606ea.jpg resize: (1080, 1632) 1371426288 -1.926130053145075 treat image : temp/1752078147_3689543_1371426240_002896ecbfcd2c3d43bd263b9ba278f6.jpg resize: (1080, 1632) 1371426240 -2.186747732417399 treat image : temp/1752078147_3689543_1371426147_049abbe9957bcbdf78f39c800683fe6b.jpg resize: (1080, 1632) 1371426147 -5.028077221398495 treat image : temp/1752078147_3689543_1371426112_6df0a39a58e05231dcc632d4c25b00f3.jpg resize: (1080, 1632) 1371426112 -5.73103453197058 treat image : temp/1752078147_3689543_1371426063_064fcd7546458e8befcd8c94a672b318.jpg resize: (1080, 1632) 1371426063 -5.764831824463095 treat image : temp/1752078147_3689543_1371426025_60d2e694c41e976f3db8ac2807e6d312.jpg resize: (1080, 1632) 1371426025 -5.251616443245152 treat image : temp/1752078147_3689543_1371425989_4eaeebae29398f29530267aa9d4c2304.jpg resize: (1080, 1632) 1371425989 -5.060957263303282 treat image : temp/1752078147_3689543_1371425961_7a742c1961bd75b16a3eb00357fba0b0.jpg resize: (1080, 1632) 1371425961 -2.9869157138480666 treat image : temp/1752078147_3689543_1371425856_5724609217264541ee6b72e2bb602506.jpg resize: (1080, 1632) 1371425856 -1.9165148092402648 treat image : temp/1752078147_3689543_1371425854_45ec978b0c5f0fa96cc0399a04899dde.jpg resize: (1080, 1632) 1371425854 -4.422517058009043 treat image : temp/1752078147_3689543_1371425851_c6a916beb9e1056e115541b67dd20397.jpg resize: (1080, 1632) 1371425851 -5.299485181049198 treat image : temp/1752078147_3689543_1371425848_0ee52ac1fddaaa40f0d1c40ea40494c5.jpg resize: (1080, 1632) 1371425848 -4.163390328694238 treat image : temp/1752078147_3689543_1371425841_75a278321ef9570e70e7a0ed6116a160.jpg resize: (1080, 1632) 1371425841 -4.547716361690951 treat image : temp/1752078147_3689543_1371425838_f6cba385b87aec4b2b4f847db96926ae.jpg resize: (1080, 1632) 1371425838 -5.097469643292416 treat image : temp/1752078147_3689543_1371425837_449e5bd0cc347d0b94fc79dd282330ab.jpg resize: (1080, 1632) 1371425837 -5.569435756866014 treat image : temp/1752078147_3689543_1371425834_db440bd0dd95053bb5dec39cbd81685a.jpg resize: (1080, 1632) 1371425834 -5.534153439761558 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.012851238250732422 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.012914419174194336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01491236686706543 save missing photos in datou_result : time spend for datou_step_exec : 15.919187307357788 time spend to save output : 0.04496479034423828 total time spend for step 1 : 15.964152097702026 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.14user 4.17system 0:21.46elapsed 85%CPU (0avgtext+0avgdata 141092maxresident)k 168inputs+8984outputs (2major+227612minor)pagefaults 0swaps