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 : 4134871 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 : 7348>100 please execute split_portfolio.py -i 24536011 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3231073'] with mtr_portfolio_ids : ['24536011'] and first list_photo_ids : [] new path : /proc/4134871/ 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 : 2.3784875869750977 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 Sat Jul 5 14:22:30 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/1751718148_4134871_1370794733_e47b7f8a3052538fe99c2fc57c9b794d.jpg resize: (1080, 1632) 1370794733 -5.359414906448065 treat image : temp/1751718148_4134871_1370794729_239b30952ff8477bc6f0eba2dac1ec84.jpg resize: (1080, 1632) 1370794729 -5.36378919379787 treat image : temp/1751718148_4134871_1370794724_51cf84cf026a72e16b9b3ad928a2e0c1.jpg resize: (1080, 1632) 1370794724 -5.374546279452385 treat image : temp/1751718148_4134871_1370794723_6aa25436ba17d5cfcc075848f9b676bb.jpg resize: (1080, 1632) 1370794723 -5.373607366500981 treat image : temp/1751718148_4134871_1370794721_a9e6d1c9bca7a003600310efb6a246de.jpg resize: (1080, 1632) 1370794721 -5.373945329507868 treat image : temp/1751718148_4134871_1370794719_a25967fbd06c81f1b64d59c52432a333.jpg resize: (1080, 1632) 1370794719 -5.3747078818464695 treat image : temp/1751718148_4134871_1370794711_e10c491d99d532523679c566398156dc.jpg resize: (1080, 1632) 1370794711 -5.384273829665405 treat image : temp/1751718148_4134871_1370794708_b111edc23e4b51248ecb410ba6969b14.jpg resize: (1080, 1632) 1370794708 -5.384273829665405 treat image : temp/1751718148_4134871_1370794707_a2daeaa662d738d4bd8c60051830b1a1.jpg resize: (1080, 1632) 1370794707 -5.375159826067319 treat image : temp/1751718148_4134871_1370794705_6a7136197628eec7d2045f8da1415afe.jpg resize: (1080, 1632) 1370794705 -5.375159826067319 treat image : temp/1751718148_4134871_1370794702_c8945ce478cff60b821a31b7f32e9cb7.jpg resize: (1080, 1632) 1370794702 -5.372589428374452 treat image : temp/1751718148_4134871_1370794701_5c2476ccc39913f87a4cda3dadf09553.jpg resize: (1080, 1632) 1370794701 -5.372589428374452 treat image : temp/1751718148_4134871_1370794697_5847e26cb437c0a5b106d8b95fe8687b.jpg resize: (1080, 1632) 1370794697 -5.361917276704849 treat image : temp/1751718148_4134871_1370794696_77f59195360910029a3ef9594b04df2e.jpg resize: (1080, 1632) 1370794696 -5.361917276704849 treat image : temp/1751718148_4134871_1370794693_57f12316a0e322588ac47179575ed05e.jpg resize: (1080, 1632) 1370794693 -5.355421948790889 treat image : temp/1751718148_4134871_1370794692_3bc6f411681144875eb3288c5e28eecf.jpg resize: (1080, 1632) 1370794692 -5.355421948790889 treat image : temp/1751718148_4134871_1370794691_e3fb07c5e89bdd490663f594f6167435.jpg resize: (1080, 1632) 1370794691 -5.372950581573909 treat image : temp/1751718148_4134871_1370794690_36b0a23d6b32468dd605c4407fb8e26a.jpg resize: (1080, 1632) 1370794690 -5.372950581573909 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.012412786483764648 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.01395559310913086 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.022907495498657227 save missing photos in datou_result : time spend for datou_step_exec : 16.97326350212097 time spend to save output : 0.05432558059692383 total time spend for step 1 : 17.027589082717896 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 13.31user 6.29system 0:21.45elapsed 91%CPU (0avgtext+0avgdata 138252maxresident)k 0inputs+9272outputs (6major+241253minor)pagefaults 0swaps