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 : 93397 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 : 4186>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/93397/ 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.639639377593994 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 12:32: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/1752748348_93397_1372398300_60d0737aed233dd9d5fb8b7d310ec003.jpg resize: (1080, 1632) 1372398300 -5.218296727731243 treat image : temp/1752748348_93397_1372398254_c1608a97c3a2ec8f0689cff6226932c5.jpg resize: (1080, 1632) 1372398254 -5.203340226519454 treat image : temp/1752748348_93397_1372398250_9515c017f826dc0966e892abcf9a9c51.jpg resize: (1080, 1632) 1372398250 -5.201349781326449 treat image : temp/1752748348_93397_1372398246_4c3234aa9b33166cd8a3eb6b977c54b7.jpg resize: (1080, 1632) 1372398246 -5.215723690970348 treat image : temp/1752748348_93397_1372398242_b68c48c1d209a5a218e6f6c5a36062f1.jpg resize: (1080, 1632) 1372398242 -5.214494204774836 treat image : temp/1752748348_93397_1372398238_8ab8937ef333d7ca87d049aee2946c5f.jpg resize: (1080, 1632) 1372398238 -5.2218169125753695 treat image : temp/1752748348_93397_1372398234_edbdbba85dd4b0ccfd4554c0c42d4ff0.jpg resize: (1080, 1632) 1372398234 -5.220717848677481 treat image : temp/1752748348_93397_1372345136_d331d2f3c1fa963efdef1cc17baf349d.jpg resize: (1080, 1632) 1372345136 -3.0438032234290215 treat image : temp/1752748348_93397_1372345134_7c3665269436041ffcd2b45662aa43ce.jpg resize: (1080, 1632) 1372345134 -3.047953896075039 treat image : temp/1752748348_93397_1372345131_5c4681d3e2be224a2e596820d8d784ae.jpg resize: (1080, 1632) 1372345131 -3.045187444559458 treat image : temp/1752748348_93397_1372345130_f09f82ab350e3706a01f3e306e842083.jpg resize: (1080, 1632) 1372345130 -3.0401909310222934 treat image : temp/1752748348_93397_1372345111_226754e4d1ab6bf1f468c2b63c061e04.jpg resize: (1080, 1632) 1372345111 -3.0384317076146377 treat image : temp/1752748348_93397_1372345109_2b74bbb06b5bc1f82091f2db4d4b7698.jpg resize: (1080, 1632) 1372345109 -3.0433114961711065 treat image : temp/1752748348_93397_1372345106_b0b6e1d33ab1bcb86b3e8f0a7d5b0d04.jpg resize: (1080, 1632) 1372345106 -2.960167466727737 treat image : temp/1752748348_93397_1372345104_f589e9ca95e5da731f75ee7a0e19147d.jpg resize: (1080, 1632) 1372345104 -3.033538323940568 treat image : temp/1752748348_93397_1372345102_af343adcde3e956ffab67821ae5bb575.jpg resize: (1080, 1632) 1372345102 -2.994570416259895 treat image : temp/1752748348_93397_1372345098_f4dd0a0c3b01b05bc39cb52f4ce82b23.jpg resize: (1080, 1632) 1372345098 -3.029659868219739 treat image : temp/1752748348_93397_1372345087_a79a22032cf73d88c72a4666aca6320b.jpg resize: (1080, 1632) 1372345087 -3.0322119524303024 treat image : temp/1752748348_93397_1372345084_8d542ca648db68e6f64f6b59efcf911c.jpg resize: (1080, 1632) 1372345084 -3.0427866266538603 treat image : temp/1752748348_93397_1372345083_a2c91f4bcdeb0dcae3d21f0c3232c24c.jpg resize: (1080, 1632) 1372345083 -3.0551336953305994 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.03522753715515137 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.032029151916503906 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.034421443939208984 save missing photos in datou_result : time spend for datou_step_exec : 14.565547704696655 time spend to save output : 0.11916303634643555 total time spend for step 1 : 14.68471074104309 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.87user 3.38system 0:19.77elapsed 87%CPU (0avgtext+0avgdata 139336maxresident)k 0inputs+8320outputs (9major+259285minor)pagefaults 0swaps