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 : 3995071 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 : 3173>100 please execute split_portfolio.py -i 25001616 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3300033'] with mtr_portfolio_ids : ['25001616'] and first list_photo_ids : [] new path : /proc/3995071/ 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.45164155960083 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 17 09:32:32 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/1752737549_3995071_1372377485_149459dde10d886618cbe9c4dcc89901.jpg resize: (1080, 1632) 1372377485 -4.882511224148595 treat image : temp/1752737549_3995071_1372377483_8ae04b342ce8a6393c9d63aa8ae2af26.jpg resize: (1080, 1632) 1372377483 -4.868680598673457 treat image : temp/1752737549_3995071_1372377480_30f4f7e2ac8f0a654c08ff069dd4adff.jpg resize: (1080, 1632) 1372377480 -4.854882914627243 treat image : temp/1752737549_3995071_1372377479_e4aa7d8f5aa53dfa23e873d267985d34.jpg resize: (1080, 1632) 1372377479 -5.128136492081125 treat image : temp/1752737549_3995071_1372377475_d66325e294d569b7fd514cba5a9b524b.jpg resize: (1080, 1632) 1372377475 -4.1374148588074915 treat image : temp/1752737549_3995071_1372377471_99b7b608baf4e296cc3977be5ba0ef8e.jpg resize: (1080, 1632) 1372377471 -5.357312875372012 treat image : temp/1752737549_3995071_1372377445_6eef2eaafe92ce221c71b33dafc02f1a.jpg resize: (1080, 1632) 1372377445 -4.890626758847042 treat image : temp/1752737549_3995071_1372377442_720dda7315f91b3cd39a50230bf09756.jpg resize: (1080, 1632) 1372377442 -4.88647868513244 treat image : temp/1752737549_3995071_1372377439_501fd1269a9b8b1dc46b76ba915af1ad.jpg resize: (1080, 1632) 1372377439 -4.892172478086865 treat image : temp/1752737549_3995071_1372377435_c58e40d2dfcaf120f99372dbf3997017.jpg resize: (1080, 1632) 1372377435 -4.891945087653948 treat image : temp/1752737549_3995071_1372377427_ec3450d24a7f872c8186b184fba672dd.jpg resize: (1080, 1632) 1372377427 -4.891727830950696 treat image : temp/1752737549_3995071_1372377424_1438e5b63c97a1504ca2364e6a9cf966.jpg resize: (1080, 1632) 1372377424 -4.887727541881823 treat image : temp/1752737549_3995071_1372377257_54b9e351d4c5609ab5560c5de6b7afd2.jpg resize: (1080, 1632) 1372377257 -4.882577710322543 treat image : temp/1752737549_3995071_1372377202_29a697e95db20381fa71449c23c6bb10.jpg resize: (1080, 1632) 1372377202 -4.875399842218241 treat image : temp/1752737549_3995071_1372377174_e1d191baed60cc01f1c6787383f725d7.jpg resize: (1080, 1632) 1372377174 -4.866255362649983 treat image : temp/1752737549_3995071_1372377144_6164616bbb489cf15eb8263ebc917488.jpg resize: (1080, 1632) 1372377144 -4.868292461417966 treat image : temp/1752737549_3995071_1372377124_b5fceed3233d140ed478596f81118625.jpg resize: (1080, 1632) 1372377124 -4.880093103252372 treat image : temp/1752737549_3995071_1372377096_6080f3d5c2c272913151523bdc22fb71.jpg resize: (1080, 1632) 1372377096 -4.892316135965279 treat image : temp/1752737549_3995071_1372350373_434cf09de500afc21a499799aafd824e.jpg resize: (1080, 1632) 1372350373 -5.893351336976583 treat image : temp/1752737549_3995071_1372350369_a510dea06b31e1dccb65dfaf98bbd421.jpg resize: (1080, 1632) 1372350369 -5.877662565576914 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.013827323913574219 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.012804508209228516 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013927459716796875 save missing photos in datou_result : time spend for datou_step_exec : 14.63636827468872 time spend to save output : 0.04527783393859863 total time spend for step 1 : 14.68164610862732 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.45user 2.80system 0:21.40elapsed 80%CPU (0avgtext+0avgdata 138640maxresident)k 0inputs+9672outputs (16major+260007minor)pagefaults 0swaps