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 : 1752475 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 : 4614>100 please execute split_portfolio.py -i 24493811 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3224247'] with mtr_portfolio_ids : ['24493811'] and first list_photo_ids : [] new path : /proc/1752475/ 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.2780516147613525 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 2 20:02: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/1751479347_1752475_1370056948_21199da00c2a765bdbbf4bd0fc87e925.jpg resize: (1080, 1632) 1370056948 -5.4018650477412935 treat image : temp/1751479347_1752475_1370056944_4dd374a8e787d4268c8a8c6292ac2ea7.jpg resize: (1080, 1632) 1370056944 -5.4018650477412935 treat image : temp/1751479347_1752475_1370056864_2c49994c8dfb89b0f495decae0394c50.jpg resize: (1080, 1632) 1370056864 -4.315625666912676 treat image : temp/1751479347_1752475_1370056854_8cc8a899402eaf0975d935c34b800f6f.jpg resize: (1080, 1632) 1370056854 -4.315625666912676 treat image : temp/1751479347_1752475_1370056777_6a97804bbbcc10bd3dec6cb7d7459aab.jpg resize: (1080, 1632) 1370056777 -5.089696207019433 treat image : temp/1751479347_1752475_1370056774_202d1c5e6f23403b44ae279c3c6cc985.jpg resize: (1080, 1632) 1370056774 -5.089696207019433 treat image : temp/1751479347_1752475_1370056714_438d30952c0876eb0c928de9ac6f7935.jpg resize: (1080, 1632) 1370056714 -5.2527172434143425 treat image : temp/1751479347_1752475_1370056712_15ed41b978d2564cabd589f11e3ce3e2.jpg resize: (1080, 1632) 1370056712 -5.2527172434143425 treat image : temp/1751479347_1752475_1370056645_8ef1d6f8147abc92e8d6ebe7f4490d09.jpg resize: (1080, 1632) 1370056645 -5.137626799089748 treat image : temp/1751479347_1752475_1370056642_23a9d717af0450182b208c73e3653341.jpg resize: (1080, 1632) 1370056642 -5.137626799089748 treat image : temp/1751479347_1752475_1370056571_6c345994bce8d0b710aca1a8d210fc13.jpg resize: (1080, 1632) 1370056571 -4.410988237777574 treat image : temp/1751479347_1752475_1370056569_663b3c0906d41ce7f2e6e315e85167c5.jpg resize: (1080, 1632) 1370056569 -4.410988237777574 treat image : temp/1751479347_1752475_1370056378_9a072b28ee1cb92ae9e6e4b6299f9371.jpg resize: (1080, 1632) 1370056378 -5.317814171025281 treat image : temp/1751479347_1752475_1370056295_25fdfb343429d130c96948cd4bf5e2ee.jpg resize: (1080, 1632) 1370056295 -4.357622699524201 treat image : temp/1751479347_1752475_1370056232_62ca294d23fae6757c92e7cf8f867d12.jpg resize: (1080, 1632) 1370056232 -5.553353232166574 treat image : temp/1751479347_1752475_1370056169_925425643618fa9e0029cae5ec71f86a.jpg resize: (1080, 1632) 1370056169 -1.8496182722968997 treat image : temp/1751479347_1752475_1370056087_a88a4836827c3ec4808caabb7bd60e37.jpg resize: (1080, 1632) 1370056087 -1.7671124520842796 treat image : temp/1751479347_1752475_1370056021_fc33dbe78ac293c949515ff24a677eb5.jpg resize: (1080, 1632) 1370056021 -2.68994735170042 treat image : temp/1751479347_1752475_1370055680_5149fdac25ff99fb2c05a2feca000937.jpg resize: (1080, 1632) 1370055680 -2.807903719207605 treat image : temp/1751479347_1752475_1370055575_94a0a93ed3fee4971cfc0d67b34bf099.jpg resize: (1080, 1632) 1370055575 -1.374023448594232 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.01962876319885254 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.0218660831451416 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.03213691711425781 save missing photos in datou_result : time spend for datou_step_exec : 16.283323526382446 time spend to save output : 0.07822418212890625 total time spend for step 1 : 16.361547708511353 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.99user 3.52system 0:21.56elapsed 85%CPU (0avgtext+0avgdata 141548maxresident)k 1608inputs+9000outputs (10major+260053minor)pagefaults 0swaps