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 : 1461005 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 updating current state to 1 we have a portfolio with more photos than limit : 2702>100 please execute split_portfolio.py -i 26511073 -l 100 size over we load limit photo not treated list_input_json: [] Current got : datou_id : 4871, datou_cur_ids : ['3661506'] with mtr_portfolio_ids : ['26511073'] and first list_photo_ids : [] new path : /proc/1461005/ 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.7240991592407227 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 Sep 4 18:17: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/1757002648_1461005_1381467691_944bd7f66d03085d73ea5b971d0c46f7_80179401.jpg resize: (1080, 1632) 1381467691 -5.875217028685917 treat image : temp/1757002648_1461005_1381467690_b020032c7ff211912e167c3f4877c7b3_68258525.jpg resize: (1080, 1632) 1381467690 -5.925315232120798 treat image : temp/1757002648_1461005_1381467689_acd2f00dcef5a2331a861accfd4ab4d6_35034971.jpg resize: (1080, 1632) 1381467689 -1.9153100095043993 treat image : temp/1757002648_1461005_1381467688_5db8a1d2bc1593a4d640a5161e4b42b1_85048183.jpg resize: (1080, 1632) 1381467688 -0.8685134134785545 treat image : temp/1757002648_1461005_1381467623_052e718f13496b239910bda61aa0fb14_91685476.jpg resize: (1080, 1632) 1381467623 -5.836377338198761 treat image : temp/1757002648_1461005_1381467621_d15b5781661dee68870af0977c9f57b9_7263004.jpg resize: (1080, 1632) 1381467621 -4.6926931178630875 treat image : temp/1757002648_1461005_1381467619_6464c45c6fd181d828158de6bac4db4c_46747692.jpg resize: (1080, 1632) 1381467619 -5.5607547826998935 treat image : temp/1757002648_1461005_1381467617_88aee601f1d057d3ba5d4bfd89d2eaa4_26082001.jpg resize: (1080, 1632) 1381467617 -5.2475627819897355 treat image : temp/1757002648_1461005_1381467616_2d2838fd6d42412a837447ed7025ae4c_15571042.jpg resize: (1080, 1632) 1381467616 -4.151970768150909 treat image : temp/1757002648_1461005_1381467555_f88cc62c3c793c5b16d9d200dbf9d1d6_50817316.jpg resize: (1080, 1632) 1381467555 -5.776141620390528 treat image : temp/1757002648_1461005_1381467554_5d78a37aef7fb1082587ace1988556b6_95838036.jpg resize: (1080, 1632) 1381467554 -5.684948371054498 treat image : temp/1757002648_1461005_1381467553_03576cf07ca352c1e8fcfdb7da127c8e_95387326.jpg resize: (1080, 1632) 1381467553 -5.5713814898023095 treat image : temp/1757002648_1461005_1381467552_87034968e79776847f570fbfe3bd3583_25296661.jpg resize: (1080, 1632) 1381467552 -4.0165100962172495 treat image : temp/1757002648_1461005_1381467551_c5f78e1d6403aa622eb021bce568087f_64006466.jpg resize: (1080, 1632) 1381467551 -5.8182245855536046 treat image : temp/1757002648_1461005_1381448550_a55c8061689ea866bdd8617af0bb8da0_93302995.jpg resize: (1080, 1632) 1381448550 -1.2649392413991967 treat image : temp/1757002648_1461005_1381448544_5f2bda94d67daebd746730e9f27a180a_84739207.jpg resize: (1080, 1632) 1381448544 -1.8794963009322525 treat image : temp/1757002648_1461005_1381448539_23972280788bd8462db2043c2006c854_484206.jpg resize: (1080, 1632) 1381448539 -3.990213729517689 treat image : temp/1757002648_1461005_1381448535_255f67b17ff08a3cf2039a425e210093_44662230.jpg resize: (1080, 1632) 1381448535 -5.452714525693953 treat image : temp/1757002648_1461005_1381448406_87a99a69381ef892ce3a41a25e460604_56928143.jpg resize: (1080, 1632) 1381448406 -4.227109836043227 treat image : temp/1757002648_1461005_1381448402_2ff5162a5d04e82f3e36229bf30aa07c_51919149.jpg resize: (1080, 1632) 1381448402 -5.740868602281594 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.03687167167663574 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.03647613525390625 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.04051494598388672 save missing photos in datou_result : time spend for datou_step_exec : 16.281283855438232 time spend to save output : 0.13166332244873047 total time spend for step 1 : 16.412947177886963 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.75user 3.94system 0:21.89elapsed 85%CPU (0avgtext+0avgdata 139588maxresident)k 152inputs+9784outputs (0major+262557minor)pagefaults 0swaps