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 : 1460094 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 : 1134>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/1460094/ 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.557100772857666 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 May 20 09:17: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/1747725447_1460094_1359778465_b69ca51809902c3d59006cd421ff3777.jpg resize: (1080, 1632) 1359778465 -3.4839176165075494 treat image : temp/1747725447_1460094_1359778462_8937966cd893ca6418e0a0d63c97804b.jpg resize: (1080, 1632) 1359778462 -5.256238661531166 treat image : temp/1747725447_1460094_1359778460_978ecd686dfb2ef597fc50d87055562a.jpg resize: (1080, 1632) 1359778460 -5.244003431299903 treat image : temp/1747725447_1460094_1359778141_14e3b359236df795696803ea4ad934b3.jpg resize: (1080, 1632) 1359778141 -1.0555561917195262 treat image : temp/1747725447_1460094_1359778137_0f53ceebe9cc3434ff37ef1d3bf997f5.jpg resize: (1080, 1632) 1359778137 -5.458555587483152 treat image : temp/1747725447_1460094_1359778109_a55bb07d44eb4b0184ef64ad15bfe1c4.jpg resize: (1080, 1632) 1359778109 -4.6180535254129795 treat image : temp/1747725447_1460094_1359778105_fa383071208a0d4ab8bdee3af38b5661.jpg resize: (1080, 1632) 1359778105 -4.389903260328034 treat image : temp/1747725447_1460094_1359778104_95ef8a3232c0db4bb813fb77bacf6d7d.jpg resize: (1080, 1632) 1359778104 -5.899521194596047 treat image : temp/1747725447_1460094_1359778101_052e9197f256a03e586db6d192f99e66.jpg resize: (1080, 1632) 1359778101 -6.029761851574988 treat image : temp/1747725447_1460094_1359778098_0fce16e3fb858a095d60a5af87c426e6.jpg resize: (1080, 1632) 1359778098 -6.264497954193595 treat image : temp/1747725447_1460094_1359778096_3e33ad1a548bf41de2f62ecbf025fd09.jpg resize: (1080, 1632) 1359778096 -4.001882151529325 treat image : temp/1747725447_1460094_1359778023_9c74dea479164977a3daa6ff366a41de.jpg resize: (1080, 1632) 1359778023 -1.40000877674461 treat image : temp/1747725447_1460094_1359778008_8f2f8310865fd7745fa196973eb4fdc1.jpg resize: (1080, 1632) 1359778008 -1.1764899980320886 treat image : temp/1747725447_1460094_1359777996_dfd8cb7a4a363d3bd0d8cf74b42dc713.jpg resize: (1080, 1632) 1359777996 -5.474490105737341 treat image : temp/1747725447_1460094_1359777984_615a1a1369af2c1b8f76f46cb7241ea0.jpg resize: (1080, 1632) 1359777984 -5.770015573236555 treat image : temp/1747725447_1460094_1359777955_4a88fc9c7a328d9c2a13e60825845c07.jpg resize: (1080, 1632) 1359777955 -5.576839401998864 treat image : temp/1747725447_1460094_1359777856_e3f317d4d37f20e37b656f6c0c9d78d3.jpg resize: (1080, 1632) 1359777856 -5.626821920185907 treat image : temp/1747725447_1460094_1359777843_50648f62589745dd926d44dc8a767e22.jpg resize: (1080, 1632) 1359777843 -5.049284771404207 treat image : temp/1747725447_1460094_1359777840_4a67cdc4720b1dc6b4107ec0a74d61e7.jpg resize: (1080, 1632) 1359777840 -3.740856783478326 treat image : temp/1747725447_1460094_1359777837_7c88e28afb3c1ff37585160550826f3d.jpg resize: (1080, 1632) 1359777837 -5.0789136670067805 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.01344442367553711 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.493405818939209 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.11313247680664062 save missing photos in datou_result : time spend for datou_step_exec : 15.911465644836426 time spend to save output : 0.6255588531494141 total time spend for step 1 : 16.53702449798584 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.90user 3.98system 0:22.26elapsed 84%CPU (0avgtext+0avgdata 139764maxresident)k 3192inputs+9768outputs (31major+260634minor)pagefaults 0swaps