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 : 2988770 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 : 1146>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/2988770/ 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.099820137023926 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 Sat Mar 22 02:32:29 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/1742607147_2988770_1346318131_477685790da58e2857313ea82a50dfb8.jpg resize: (1080, 1632) 1346318131 -4.564469936505781 treat image : temp/1742607147_2988770_1346318128_a8043cd7f3e40648fd90807f0c6809f7.jpg resize: (1080, 1632) 1346318128 -5.738792322537321 treat image : temp/1742607147_2988770_1346318127_800eafb61ed14c93a57dd5e6e5ac96bb.jpg resize: (1080, 1632) 1346318127 -5.915062160433404 treat image : temp/1742607147_2988770_1346318124_fb20b8bb49c533a3fee4a1dc7e47e614.jpg resize: (1080, 1632) 1346318124 -5.201674532351163 treat image : temp/1742607147_2988770_1346318119_7a390034ab372aec64a0272eeef5fe21.jpg resize: (1080, 1632) 1346318119 -6.370562043579206 treat image : temp/1742607147_2988770_1346318112_b087e5f9d7f878127c09d35a92ce79c1.jpg resize: (1080, 1632) 1346318112 -6.090109552846227 treat image : temp/1742607147_2988770_1346318094_4493c26fefb7fbe7263aef6cdc44c518.jpg resize: (1080, 1632) 1346318094 -5.731921269077836 treat image : temp/1742607147_2988770_1346318089_44e0c34eacbef9fd4f6fd97c9fd6140b.jpg resize: (1080, 1632) 1346318089 -3.9229766362108833 treat image : temp/1742607147_2988770_1346318085_48d79edf8d42e2b33c2bb8bd12b04ea1.jpg resize: (1080, 1632) 1346318085 -5.585615831540865 treat image : temp/1742607147_2988770_1346318080_4e74432dc791a42040eff6eaa7d7dd64.jpg resize: (1080, 1632) 1346318080 -5.646053142377529 treat image : temp/1742607147_2988770_1346318076_ae4d9f3f774d9c51b8eb82aab097b2d8.jpg resize: (1080, 1632) 1346318076 -5.288055036352672 treat image : temp/1742607147_2988770_1346318072_fb83446c0f4fc3a1478c2f2ea57607ac.jpg resize: (1080, 1632) 1346318072 -5.056410101473628 treat image : temp/1742607147_2988770_1346318051_bd9d079ebeb7f1e3a560d028b6107a22.jpg resize: (1080, 1632) 1346318051 -5.377505457777695 treat image : temp/1742607147_2988770_1346318046_ac571e1a2fb54ac0ab990bd4e65e3065.jpg resize: (1080, 1632) 1346318046 -6.509421328814596 treat image : temp/1742607147_2988770_1346318035_8995b20e0a7beab64bb49282fff46171.jpg resize: (1080, 1632) 1346318035 -1.7181305590395366 treat image : temp/1742607147_2988770_1346318030_075fb4649b203599fd65f9542f375caa.jpg resize: (1080, 1632) 1346318030 -2.720240881900203 treat image : temp/1742607147_2988770_1346318025_56071b6c2aa7291281f7c5ebaed41f33.jpg resize: (1080, 1632) 1346318025 -5.230001104161822 treat image : temp/1742607147_2988770_1346318017_f9dab38ab6ce4b28de830a7dc18db974.jpg resize: (1080, 1632) 1346318017 -5.887067589950458 treat image : temp/1742607147_2988770_1346317892_2ba04edf70074be2e527e683b4259728.jpg resize: (1080, 1632) 1346317892 -5.084231684783573 treat image : temp/1742607147_2988770_1346317889_d16cdf74dd8cc87fbd616f8722c0a020.jpg resize: (1080, 1632) 1346317889 -6.077223322598355 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.015718936920166016 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.01699066162109375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018767595291137695 save missing photos in datou_result : time spend for datou_step_exec : 15.02485466003418 time spend to save output : 0.056181907653808594 total time spend for step 1 : 15.081036567687988 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.23user 3.70system 0:19.61elapsed 91%CPU (0avgtext+0avgdata 140284maxresident)k 32inputs+10392outputs (7major+260479minor)pagefaults 0swaps