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 : 1095985 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 : 1552>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/1095985/ 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.353297710418701 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 Mar 21 19:27: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/1742581646_1095985_1346154242_0366648676e425960ebb3081bbd1e471.jpg resize: (1080, 1632) 1346154242 -6.262644286997224 treat image : temp/1742581646_1095985_1346154237_9b7e8a40eab3d012020e2015fd6597fa.jpg resize: (1080, 1632) 1346154237 -6.001384612164878 treat image : temp/1742581646_1095985_1346154234_d7d2058bfd47ae574834f05bebda89d1.jpg resize: (1080, 1632) 1346154234 -5.686289952721561 treat image : temp/1742581646_1095985_1346154223_61e78cd5c6c4cf255dd52e3438c53773.jpg resize: (1080, 1632) 1346154223 -5.172049875991644 treat image : temp/1742581646_1095985_1346154220_f925869dc4f2b4b907077bffefd4be8f.jpg resize: (1080, 1632) 1346154220 -6.2394895305840175 treat image : temp/1742581646_1095985_1346154207_0b5bdcb924b6a5ccc0975ac39790e3ad.jpg resize: (1080, 1632) 1346154207 -6.388659249682668 treat image : temp/1742581646_1095985_1346154138_c5909ff3adeafefd5dfad2fda22a0cd8.jpg resize: (1080, 1632) 1346154138 -6.390985639899875 treat image : temp/1742581646_1095985_1346154135_a653548b8bc5326cc81ad50b919a6bd3.jpg resize: (1080, 1632) 1346154135 -6.396653530339131 treat image : temp/1742581646_1095985_1346154121_f65b4c9ebf87c931306990c29d9b27c7.jpg resize: (1080, 1632) 1346154121 -6.347070563262042 treat image : temp/1742581646_1095985_1346154107_e0028e15b4878a7e349804e02479de76.jpg resize: (1080, 1632) 1346154107 -6.119948156408702 treat image : temp/1742581646_1095985_1346154079_72d9ef8ac3b95e3143d3895c594e07ba.jpg resize: (1080, 1632) 1346154079 -2.320279309264028 treat image : temp/1742581646_1095985_1346154019_97e49da52e4abbf214c209ff7671de6c.jpg resize: (1080, 1632) 1346154019 -2.4031238441958678 treat image : temp/1742581646_1095985_1346153812_61939e5fec6cad59fadb6fa4232a77c9.jpg resize: (1080, 1632) 1346153812 -4.78051218536135 treat image : temp/1742581646_1095985_1346153784_6de87dab11c9393f1e436395dfc63eb4.jpg resize: (1080, 1632) 1346153784 -5.046915287648029 treat image : temp/1742581646_1095985_1346153775_929cf3a8e4713a43791f2b6f148a3c3f.jpg resize: (1080, 1632) 1346153775 -6.888211649757744 treat image : temp/1742581646_1095985_1346153728_b1161e4642e986d031dd1d58399a116e.jpg resize: (1080, 1632) 1346153728 -6.201915302496243 treat image : temp/1742581646_1095985_1346153566_a682ea543074df48b709bfd11b6e7c34.jpg resize: (1080, 1632) 1346153566 -6.36443476954828 treat image : temp/1742581646_1095985_1346153433_048056a52a961422bbce5d6c1de9fbe6.jpg resize: (1080, 1632) 1346153433 -6.192986690936351 treat image : temp/1742581646_1095985_1346152960_752a6cd82417dcbc805615ab0232a91c.jpg resize: (1080, 1632) 1346152960 -5.995359266704137 treat image : temp/1742581646_1095985_1346152925_f2ee9b02aba0e68f2504ff4d748cd7b8.jpg resize: (1080, 1632) 1346152925 -5.83982735990687 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.012362480163574219 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.012734174728393555 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02299666404724121 save missing photos in datou_result : time spend for datou_step_exec : 15.00675654411316 time spend to save output : 0.053087711334228516 total time spend for step 1 : 15.059844255447388 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.40user 2.94system 0:19.03elapsed 91%CPU (0avgtext+0avgdata 141864maxresident)k 80inputs+11752outputs (12major+190139minor)pagefaults 0swaps