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 : 3179302 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 : 3586>100 please execute split_portfolio.py -i 24901762 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3277872'] with mtr_portfolio_ids : ['24901762'] and first list_photo_ids : [] new path : /proc/3179302/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 18 ; length of list_pids : 18 ; length of list_args : 18 time to download the photos : 1.9113552570343018 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 Mon Jul 14 15:32: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/1752499947_3179302_1372116365_fc34348d72a90635f1d3c19ab2038b4f.jpg resize: (1080, 1632) 1372116365 -5.582136390422994 treat image : temp/1752499947_3179302_1372116361_440a18faead957366def8af245defd12.jpg resize: (1080, 1632) 1372116361 -5.588669302317638 treat image : temp/1752499947_3179302_1372116359_fd3af2540a6213827f05f8c0274326e4.jpg resize: (1080, 1632) 1372116359 -5.591899231093141 treat image : temp/1752499947_3179302_1372116357_d5be8f4c5b6e4047bf7d34c6e2d2e868.jpg resize: (1080, 1632) 1372116357 -5.5969361029413776 treat image : temp/1752499947_3179302_1372116355_48fd731ef84e838b16864cdd56829f38.jpg resize: (1080, 1632) 1372116355 -5.606530747121537 treat image : temp/1752499947_3179302_1372116353_9ca2f8c6ffbf873388dcdb990d226e11.jpg resize: (1080, 1632) 1372116353 -5.606285130806803 treat image : temp/1752499947_3179302_1372116346_e48c1247b78f617adf2df536e6f9c73f.jpg resize: (1080, 1632) 1372116346 -5.536846194727251 treat image : temp/1752499947_3179302_1372116344_c5839772dd500a9852dbdab3cec36b6f.jpg resize: (1080, 1632) 1372116344 -5.542584853019026 treat image : temp/1752499947_3179302_1372116342_4ee62c3eead170a17285a7aa9d20d251.jpg resize: (1080, 1632) 1372116342 -5.547318391953319 treat image : temp/1752499947_3179302_1372116341_e90c98caa7857a7324487596e13e0fec.jpg resize: (1080, 1632) 1372116341 -5.558845147354457 treat image : temp/1752499947_3179302_1372116338_f49d98cd7a7707ca6d24dcd44863f8f3.jpg resize: (1080, 1632) 1372116338 -5.562011290315196 treat image : temp/1752499947_3179302_1372116337_cc6d1d2884aeb7b7fe0064c68c3243c8.jpg resize: (1080, 1632) 1372116337 -5.575629061139363 treat image : temp/1752499947_3179302_1372116320_088010a10d67f7d13ed4214603b8a23d.jpg resize: (1080, 1632) 1372116320 -5.515690927622639 treat image : temp/1752499947_3179302_1372116318_cafb07b6ee106f1f17b22b616f2545eb.jpg resize: (1080, 1632) 1372116318 -5.5177165562879535 treat image : temp/1752499947_3179302_1372116317_4efb69ab28ddefb0316962141e664851.jpg resize: (1080, 1632) 1372116317 -5.521691012426227 treat image : temp/1752499947_3179302_1372116315_bdad79fb4eeeecd32a95f4a9f2bdbb54.jpg resize: (1080, 1632) 1372116315 -5.527892381439506 treat image : temp/1752499947_3179302_1372116314_0096c141163df641019e58e16cce2bef.jpg resize: (1080, 1632) 1372116314 -5.530661054816604 treat image : temp/1752499947_3179302_1372116313_13fc21b55b92a9e6f4c1c32433dfc083.jpg resize: (1080, 1632) 1372116313 -5.532278327816939 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 : 18 time used for this insertion : 0.014952421188354492 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 18 time used for this insertion : 0.015027999877929688 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.01677703857421875 save missing photos in datou_result : time spend for datou_step_exec : 13.705875396728516 time spend to save output : 0.05161166191101074 total time spend for step 1 : 13.757487058639526 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 18 set_done_treatment 12.43user 3.70system 0:18.46elapsed 87%CPU (0avgtext+0avgdata 139028maxresident)k 88inputs+8896outputs (2major+240597minor)pagefaults 0swaps