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 : 3244536 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 : 7890>100 please execute split_portfolio.py -i 24978206 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3297606'] with mtr_portfolio_ids : ['24978206'] and first list_photo_ids : [] new path : /proc/3244536/ 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 : 3.1602070331573486 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 Fri Jul 18 09:27:33 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/1752823649_3244536_1372323011_2c555206636368d03164a50b10df31fc.jpg resize: (1080, 1632) 1372323011 -2.4331674900389446 treat image : temp/1752823649_3244536_1372323008_30f61dcbfb839c0dfe44cf40b03addba.jpg resize: (1080, 1632) 1372323008 -2.354368886870247 treat image : temp/1752823649_3244536_1372322985_77947a386571766082fba1d02bc33ca5.jpg resize: (1080, 1632) 1372322985 -5.215725030248727 treat image : temp/1752823649_3244536_1372322983_46a13952075563a0f920d23456e10bf5.jpg resize: (1080, 1632) 1372322983 -5.416217033389937 treat image : temp/1752823649_3244536_1372322982_de60ef774a69223756199cf106941080.jpg resize: (1080, 1632) 1372322982 -5.386416493696188 treat image : temp/1752823649_3244536_1372322981_8c2f8c9acc6e914e7b65b474c6fb6090.jpg resize: (1080, 1632) 1372322981 -4.833174650274288 treat image : temp/1752823649_3244536_1372322980_3888d1eb7a6e037afd6f3af720fe9f9a.jpg resize: (1080, 1632) 1372322980 -4.867869140810958 treat image : temp/1752823649_3244536_1372322979_c729309ff0747f373b5ae8f824d5e18a.jpg resize: (1080, 1632) 1372322979 -4.602070029953752 treat image : temp/1752823649_3244536_1372322961_7a52c6fe401a0b036babee24a73ebb90.jpg resize: (1080, 1632) 1372322961 -5.087431766455376 treat image : temp/1752823649_3244536_1372322959_388b78e7007879ff6277e1170c64512e.jpg resize: (1080, 1632) 1372322959 -5.392422858067183 treat image : temp/1752823649_3244536_1372322957_e9bf2cbeadedf0ddb22f8888c129fc7b.jpg resize: (1080, 1632) 1372322957 -4.473367490129212 treat image : temp/1752823649_3244536_1372322956_cd5c9996b5fa465fa806beda4a0d9b02.jpg resize: (1080, 1632) 1372322956 -4.43339404266892 treat image : temp/1752823649_3244536_1372322955_bef00df032e878445a90bdf75efbb7f6.jpg resize: (1080, 1632) 1372322955 -4.45993975714163 treat image : temp/1752823649_3244536_1372322954_514a83028199f79cfc897946742020e6.jpg resize: (1080, 1632) 1372322954 -5.251674992963187 treat image : temp/1752823649_3244536_1372322930_dfc5143e4d9678eab92bdc87a67cd349.jpg resize: (1080, 1632) 1372322930 -1.4160711020316419 treat image : temp/1752823649_3244536_1372322927_3823e9016f7460fdf661f36d0121c58b.jpg resize: (1080, 1632) 1372322927 -2.4737270562715143 treat image : temp/1752823649_3244536_1372322925_46d2eb2707c71113722990462973cb68.jpg resize: (1080, 1632) 1372322925 -2.5857569084801573 treat image : temp/1752823649_3244536_1372322924_0b8c8b3ab9829bb80c47c667f193f67e.jpg resize: (1080, 1632) 1372322924 -2.5503128154660595 treat image : temp/1752823649_3244536_1372322923_68ff46a579bdaa06186e123f122eee86.jpg resize: (1080, 1632) 1372322923 -3.5323420296461903 treat image : temp/1752823649_3244536_1372322922_6049af428e23e45f9939d42cb466441f.jpg resize: (1080, 1632) 1372322922 -4.281805902246635 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.01365804672241211 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.09798455238342285 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.08101058006286621 save missing photos in datou_result : time spend for datou_step_exec : 15.930079221725464 time spend to save output : 0.19731616973876953 total time spend for step 1 : 16.127395391464233 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.05user 4.28system 0:22.95elapsed 79%CPU (0avgtext+0avgdata 137760maxresident)k 136inputs+8608outputs (2major+239006minor)pagefaults 0swaps