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 : 1011828 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 : 4227>100 please execute split_portfolio.py -i 25155834 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3316381'] with mtr_portfolio_ids : ['25155834'] and first list_photo_ids : [] new path : /proc/1011828/ 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.95231294631958 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 Tue Jul 22 16:32: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/1753194748_1011828_1373172445_9664dfef1f8d28c78a732b07e5595274.jpg resize: (1080, 1632) 1373172445 -2.271704056676919 treat image : temp/1753194748_1011828_1373172418_c641ec815aa3d5ccf6381e08f364e1b4.jpg resize: (1080, 1632) 1373172418 -2.2575545138617095 treat image : temp/1753194748_1011828_1373172392_4b03c39d8aa63fb05a123b91806916b8.jpg resize: (1080, 1632) 1373172392 -2.2758629293236066 treat image : temp/1753194748_1011828_1373172390_a6909d0420ad8e3b59f899290965d60a.jpg resize: (1080, 1632) 1373172390 -2.268123160717944 treat image : temp/1753194748_1011828_1373172388_bcbb25b133a4f3d566e77f9405dcadf0.jpg resize: (1080, 1632) 1373172388 -2.2965521233899233 treat image : temp/1753194748_1011828_1373172387_49ae2eebb2bc891adbd7e170dd0a0a02.jpg resize: (1080, 1632) 1373172387 -2.140357193619717 treat image : temp/1753194748_1011828_1373172355_bfbb2934b84bf6f66f80b827447bc6ae.jpg resize: (1080, 1632) 1373172355 -2.3164590002210645 treat image : temp/1753194748_1011828_1373172352_26c0108c15951a28ac60adbae646c6ff.jpg resize: (1080, 1632) 1373172352 -2.308446514000877 treat image : temp/1753194748_1011828_1373172310_32f3f80f34c4a2038db0b9be78ab2bc9.jpg resize: (1080, 1632) 1373172310 -2.3549873814535354 treat image : temp/1753194748_1011828_1373172264_22f1382c5a88f970079c916d48aefb70.jpg resize: (1080, 1632) 1373172264 -2.363734416584698 treat image : temp/1753194748_1011828_1373172227_4883b11c32f68439b7ad89aef8788f7a.jpg resize: (1080, 1632) 1373172227 -2.3218968690232797 treat image : temp/1753194748_1011828_1373172183_1b3dc4926a8ce4789e625fa55956fed1.jpg resize: (1080, 1632) 1373172183 -2.307262029522994 treat image : temp/1753194748_1011828_1373171979_632a452d914ab43778cf87cb3ea7e691.jpg resize: (1080, 1632) 1373171979 -5.040684413883364 treat image : temp/1753194748_1011828_1373171971_47415bc03d52bce34b8941611eb866fb.jpg resize: (1080, 1632) 1373171971 -5.040878656998572 treat image : temp/1753194748_1011828_1373171967_574893b993772c96b21351e613c4700c.jpg resize: (1080, 1632) 1373171967 -5.037038826740796 treat image : temp/1753194748_1011828_1373171964_3c7a8f8c9aa2ed3042cbed036ad28369.jpg resize: (1080, 1632) 1373171964 -1.143344523183351 treat image : temp/1753194748_1011828_1373171961_457d9d6ab9c8ff4ebd755fd6ada60078.jpg resize: (1080, 1632) 1373171961 -2.347648890910477 treat image : temp/1753194748_1011828_1373171956_fe5d9dee60675f2e219f46e507100f89.jpg resize: (1080, 1632) 1373171956 -2.3060769319061207 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.013664722442626953 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.011905908584594727 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 18 time used for this insertion : 0.014812469482421875 save missing photos in datou_result : time spend for datou_step_exec : 14.83730173110962 time spend to save output : 0.04563260078430176 total time spend for step 1 : 14.882934331893921 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.32user 3.28system 0:19.62elapsed 84%CPU (0avgtext+0avgdata 138676maxresident)k 0inputs+6496outputs (0major+240046minor)pagefaults 0swaps