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 : 1403174 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 : 574>100 please execute split_portfolio.py -i 23183727 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2914480'] with mtr_portfolio_ids : ['23183727'] and first list_photo_ids : [] new path : /proc/1403174/ 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.267676591873169 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 May 21 06:57: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/1747803448_1403174_1359968192_dc8677220568c293dc4e707edda4cf2d.jpg resize: (1080, 1632) 1359968192 -6.04992033088288 treat image : temp/1747803448_1403174_1359968189_995f1b991132562212898317db71e66a.jpg resize: (1080, 1632) 1359968189 -6.159362647953687 treat image : temp/1747803448_1403174_1359968186_23360cb9c50d11477cc6e9ca81e6d322.jpg resize: (1080, 1632) 1359968186 -3.403371657212147 treat image : temp/1747803448_1403174_1359968163_1a327d8a24d72ac5859b9e5fd495aa83.jpg resize: (1080, 1632) 1359968163 -1.7471602982331904 treat image : temp/1747803448_1403174_1359968161_e88068b6d217627221de2325bf926e08.jpg resize: (1080, 1632) 1359968161 -3.044500025113693 treat image : temp/1747803448_1403174_1359968140_02fbd7b19b46249e199b780d35622c52.jpg resize: (1080, 1632) 1359968140 -5.1743241671290034 treat image : temp/1747803448_1403174_1359968137_9232a8f51016fd366f32f11bdd20054d.jpg resize: (1080, 1632) 1359968137 -5.306593211778362 treat image : temp/1747803448_1403174_1359968136_2ff7ae761d1090d51a2c4ce84250d4ef.jpg resize: (1080, 1632) 1359968136 -5.469478592661936 treat image : temp/1747803448_1403174_1359968132_0d4067ecde58e0527fa86f21e75eddc8.jpg resize: (1080, 1632) 1359968132 -2.794115003084923 treat image : temp/1747803448_1403174_1359968125_5c945b4e661648f3c399f0aa6404013a.jpg resize: (1080, 1632) 1359968125 -0.7174376382269608 treat image : temp/1747803448_1403174_1359968097_346cba375a275f0a76800191fb5f209b.jpg resize: (1080, 1632) 1359968097 -5.291002895583536 treat image : temp/1747803448_1403174_1359968093_13639a079e8029e5eee5c3c7c794bd99.jpg resize: (1080, 1632) 1359968093 -5.5318519676814555 treat image : temp/1747803448_1403174_1359968091_6a4aee4a8d84de3688bcf1bfb1dd4e64.jpg resize: (1080, 1632) 1359968091 -3.756650412393971 treat image : temp/1747803448_1403174_1359968089_5675402f3b682463c18fc816936e69e9.jpg resize: (1080, 1632) 1359968089 -5.24856779442773 treat image : temp/1747803448_1403174_1359968069_f71facbf9fabc3b22c47def5bfe47ed6.jpg resize: (1080, 1632) 1359968069 -1.173831830510902 treat image : temp/1747803448_1403174_1359968067_5a1d3e9c56ad4fe85cc2ab994c656337.jpg resize: (1080, 1632) 1359968067 -2.39295497647021 treat image : temp/1747803448_1403174_1359968064_3976fed06fefa1a5417d6b17183057b8.jpg resize: (1080, 1632) 1359968064 -5.419347187788291 treat image : temp/1747803448_1403174_1359968061_3bb0df8393aba399ad031d81d4aa5e74.jpg resize: (1080, 1632) 1359968061 -5.917453418194613 treat image : temp/1747803448_1403174_1359968058_10635fc66ba906dfbbce5db17690303c.jpg resize: (1080, 1632) 1359968058 -4.13636966518514 treat image : temp/1747803448_1403174_1359968055_c37e401b5e984f6bedc02ab493b418ed.jpg resize: (1080, 1632) 1359968055 -5.904456605710972 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.013826608657836914 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.015805721282958984 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018074750900268555 save missing photos in datou_result : time spend for datou_step_exec : 17.548935413360596 time spend to save output : 0.05252814292907715 total time spend for step 1 : 17.601463556289673 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.19user 5.58system 0:23.15elapsed 85%CPU (0avgtext+0avgdata 137016maxresident)k 136inputs+9368outputs (9major+255987minor)pagefaults 0swaps