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 : 4005425 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 : 4824>100 please execute split_portfolio.py -i 24747185 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3252349'] with mtr_portfolio_ids : ['24747185'] and first list_photo_ids : [] new path : /proc/4005425/ 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.2468442916870117 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 Wed Jul 9 21:12: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/1752088348_4005425_1371431228_b479e0fcc4a5e9903f954403747674be.jpg resize: (1080, 1632) 1371431228 -4.922260166450549 treat image : temp/1752088348_4005425_1371431227_edf397444e27dc047c92173e234f8fe2.jpg resize: (1080, 1632) 1371431227 -4.916885539240649 treat image : temp/1752088348_4005425_1371431225_d3cebba10b85c35417ea1da2382ff6f3.jpg resize: (1080, 1632) 1371431225 -4.924537895632909 treat image : temp/1752088348_4005425_1371431223_c6202fcc55051c1a17b6a90fab83176b.jpg resize: (1080, 1632) 1371431223 -4.913785001380392 treat image : temp/1752088348_4005425_1371431222_4804cf5142044b5fcd3d4dd4e2ebcdac.jpg resize: (1080, 1632) 1371431222 -4.575215183837834 treat image : temp/1752088348_4005425_1371431220_2a74b6e67ca85e9fac0ee75f2778afc7.jpg resize: (1080, 1632) 1371431220 -4.564053355980988 treat image : temp/1752088348_4005425_1371431218_3dd3b6f0a504696f0d072f23196a8b5e.jpg resize: (1080, 1632) 1371431218 -4.957825351887471 treat image : temp/1752088348_4005425_1371431217_7e485abcd5dd0f22f804547acc7d9bed.jpg resize: (1080, 1632) 1371431217 -4.964927467280785 treat image : temp/1752088348_4005425_1371431216_5d9d16cc4920ee483be973033ff98eed.jpg resize: (1080, 1632) 1371431216 -4.931753263938546 treat image : temp/1752088348_4005425_1371431214_7077fc8526ae04c92b05033e0126f2e0.jpg resize: (1080, 1632) 1371431214 -4.903667069410462 treat image : temp/1752088348_4005425_1371431210_fb6a96ad8c34e7a4587ed66f0a046c21.jpg resize: (1080, 1632) 1371431210 -1.862170901015787 treat image : temp/1752088348_4005425_1371431209_91ffccd94214313f781e0563a536d216.jpg resize: (1080, 1632) 1371431209 -2.7002477521349206 treat image : temp/1752088348_4005425_1371431208_90473b2ebf7d50552e8e31e4b4c623ad.jpg resize: (1080, 1632) 1371431208 -2.724799879697807 treat image : temp/1752088348_4005425_1371431207_8acd9d624aff0fae57e92a33fe8cc998.jpg resize: (1080, 1632) 1371431207 -2.720107840530795 treat image : temp/1752088348_4005425_1371431206_20b5b1552ed301e157f93f32b9f05164.jpg resize: (1080, 1632) 1371431206 -2.7059296260439525 treat image : temp/1752088348_4005425_1371431205_04274131ed91754a58af4f61defc41a6.jpg resize: (1080, 1632) 1371431205 -2.7237975003490487 treat image : temp/1752088348_4005425_1371431046_de7bb3719fb811a676d8019d99e4ae25.jpg resize: (1080, 1632) 1371431046 -1.925687136756265 treat image : temp/1752088348_4005425_1371431045_93c1ec2a3f7cee997d2f1ba06e0d2a39.jpg resize: (1080, 1632) 1371431045 -2.767347141481538 treat image : temp/1752088348_4005425_1371431044_56ae91671de08a498a632994ba83e94d.jpg resize: (1080, 1632) 1371431044 -2.6108106566036695 treat image : temp/1752088348_4005425_1371431042_40b3b505edd9a4cb701eb3dfe8de34aa.jpg resize: (1080, 1632) 1371431042 -2.597183690669982 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.012681722640991211 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.012015581130981445 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.013990640640258789 save missing photos in datou_result : time spend for datou_step_exec : 15.030181169509888 time spend to save output : 0.04387664794921875 total time spend for step 1 : 15.074057817459106 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.26user 3.51system 0:20.57elapsed 86%CPU (0avgtext+0avgdata 139768maxresident)k 0inputs+8152outputs (9major+226038minor)pagefaults 0swaps