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 : 1720940 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 : 3427>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1720940/ 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.6173095703125 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 Aug 22 01:17:32 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/1755818250_1720940_1378371606_d036f7755c30458f3f7d27f4f2e24363.jpg resize: (1080, 1632) 1378371606 -5.594837529875215 treat image : temp/1755818250_1720940_1378371578_a701dd7728626d771dbc1b6b15ff366d.jpg resize: (1080, 1632) 1378371578 -5.365054906440356 treat image : temp/1755818250_1720940_1378371553_77e15838ef05cde4cccd3f0f802bc2bc.jpg resize: (1080, 1632) 1378371553 -5.557643220445361 treat image : temp/1755818250_1720940_1378371526_b1e30ee9863021e46227ab422405ae57.jpg resize: (1080, 1632) 1378371526 -5.598942705158206 treat image : temp/1755818250_1720940_1378371462_00ca6cd6d45b7323a0c3019095390df9.jpg resize: (1080, 1632) 1378371462 -5.64461165174033 treat image : temp/1755818250_1720940_1378371459_823f867ae121b0b65193a8fbf6eabc38.jpg resize: (1080, 1632) 1378371459 -2.6626138657184404 treat image : temp/1755818250_1720940_1378371455_b4c4dd59dec0f46fdf3cf140286c41be.jpg resize: (1080, 1632) 1378371455 -1.3686999619400693 treat image : temp/1755818250_1720940_1378371453_b03c3eceaaae1fcbd4906bde8a1ac8d1.jpg resize: (1080, 1632) 1378371453 -1.4030624865108847 treat image : temp/1755818250_1720940_1378371451_fe17f29685de0b38c7f9a2e8540c8168.jpg resize: (1080, 1632) 1378371451 -4.793613370432405 treat image : temp/1755818250_1720940_1378371449_2e762f9924a4f596c1109c1e4a01a1a4.jpg resize: (1080, 1632) 1378371449 -4.914659817022594 treat image : temp/1755818250_1720940_1378371393_0497ef03e929a4e1bb266d8a13ba8f34.jpg resize: (1080, 1632) 1378371393 -3.822784764329669 treat image : temp/1755818250_1720940_1378371387_b1dc2370d447ef853853332d0613f5a7.jpg resize: (1080, 1632) 1378371387 -4.204628306294313 treat image : temp/1755818250_1720940_1378371385_36108023c8daa0800521be8c3c537008.jpg resize: (1080, 1632) 1378371385 -5.228251960228104 treat image : temp/1755818250_1720940_1378371367_eefbe54e6d30b62b4d4366e3c7aec3a3.jpg resize: (1080, 1632) 1378371367 -4.163954498142966 treat image : temp/1755818250_1720940_1378371364_37a8785780f98a0624e50ea87d150a77.jpg resize: (1080, 1632) 1378371364 -5.3576136590575665 treat image : temp/1755818250_1720940_1378371325_beb15b3fb0b14a72e526065976d98761.jpg resize: (1080, 1632) 1378371325 -3.9839415016289244 treat image : temp/1755818250_1720940_1378371166_610b9045ae4afccd29f356fed0f9f38b.jpg resize: (1080, 1632) 1378371166 -5.653127125283111 treat image : temp/1755818250_1720940_1378371163_f062ea53f065d711b5a8fc3f07243955.jpg resize: (1080, 1632) 1378371163 -5.512258572297275 treat image : temp/1755818250_1720940_1378371159_9bbe25bbcdd87a0d423e87c093576b75.jpg resize: (1080, 1632) 1378371159 -4.043486561515524 treat image : temp/1755818250_1720940_1378371155_2384a209537903bc311758e33630f69b.jpg resize: (1080, 1632) 1378371155 -1.1940214072869395 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.011894941329956055 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.07098126411437988 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.06291484832763672 save missing photos in datou_result : time spend for datou_step_exec : 15.343722581863403 time spend to save output : 0.15038824081420898 total time spend for step 1 : 15.494110822677612 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.37user 3.56system 0:22.09elapsed 81%CPU (0avgtext+0avgdata 139084maxresident)k 192inputs+9320outputs (9major+239743minor)pagefaults 0swaps