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 : 1364071 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 : 2263>100 please execute split_portfolio.py -i 26103981 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3565041'] with mtr_portfolio_ids : ['26103981'] and first list_photo_ids : [] new path : /proc/1364071/ 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.371208906173706 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 Thu Aug 21 22:52: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/1755809548_1364071_1378315031_e13af5838b1e855cf5af35758610630e.jpg resize: (1080, 1632) 1378315031 -4.739819405457168 treat image : temp/1755809548_1364071_1378314997_ea36499a1a3b05ca544c5e8d02e6e628.jpg resize: (1080, 1632) 1378314997 -4.805958142394315 treat image : temp/1755809548_1364071_1378314938_cb10bb49a466e0b640502c0909d7f74d.jpg resize: (1080, 1632) 1378314938 -5.118076211205966 treat image : temp/1755809548_1364071_1378314869_e92dff8de12912b49d1972f306091920.jpg resize: (1080, 1632) 1378314869 -4.660544562092131 treat image : temp/1755809548_1364071_1378314792_163a4eda720f3a1fe2c3bb11fe59b1dc.jpg resize: (1080, 1632) 1378314792 -2.6687052968641276 treat image : temp/1755809548_1364071_1378314720_9f3b9ddf7a8c215d565b38a77650fe38.jpg resize: (1080, 1632) 1378314720 -1.8673388160622866 treat image : temp/1755809548_1364071_1378314566_96b58abe8f34935d401aed7333ce5286.jpg resize: (1080, 1632) 1378314566 -1.1608793647012077 treat image : temp/1755809548_1364071_1378314541_769bbf6aec79dd052c620df1749bd287.jpg resize: (1080, 1632) 1378314541 -1.566012813846816 treat image : temp/1755809548_1364071_1378314512_3f00c770f3257e39bff5ed40a73e0626.jpg resize: (1080, 1632) 1378314512 -5.3516449409120685 treat image : temp/1755809548_1364071_1378314484_c3f1830755d6b77a193fe8c2a1dcdc17.jpg resize: (1080, 1632) 1378314484 -4.809693692860077 treat image : temp/1755809548_1364071_1378314459_44f7ca08a32707e3df87aebfeb7e651a.jpg resize: (1080, 1632) 1378314459 -5.04854180472733 treat image : temp/1755809548_1364071_1378314415_5bf5b193192cf17db9ff58f5c46f7f07.jpg resize: (1080, 1632) 1378314415 -5.085581577030387 treat image : temp/1755809548_1364071_1378312712_edb6128738fb15f05f2b19cc20690328.jpg resize: (1080, 1632) 1378312712 -4.840599947877534 treat image : temp/1755809548_1364071_1378312710_d726f98da0ceeeda41827649486d1da5.jpg resize: (1080, 1632) 1378312710 -4.840599947877534 treat image : temp/1755809548_1364071_1378312678_3c295b39c04da0c1f9b256e0c12f6860.jpg resize: (1080, 1632) 1378312678 -5.233363823327622 treat image : temp/1755809548_1364071_1378312677_1296e2b1b08b82e964ed38ff7929a3d7.jpg resize: (1080, 1632) 1378312677 -5.233363823327622 treat image : temp/1755809548_1364071_1378312425_660d884567dbf09a6a58aafc9d71e684.jpg resize: (1080, 1632) 1378312425 -4.757419644542862 treat image : temp/1755809548_1364071_1378312353_41b082029c96ad1513b6d9f6da037013.jpg resize: (1080, 1632) 1378312353 -1.1914597569796936 treat image : temp/1755809548_1364071_1378312315_f4abc717f39664bba9291e0f0398a399.jpg resize: (1080, 1632) 1378312315 -3.203450939916364 treat image : temp/1755809548_1364071_1378312268_ae63646d4d0768e07105c8df9fe2cbbb.jpg resize: (1080, 1632) 1378312268 -5.126836325595606 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.013592958450317383 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.013841390609741211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014915227890014648 save missing photos in datou_result : time spend for datou_step_exec : 15.659314393997192 time spend to save output : 0.047850608825683594 total time spend for step 1 : 15.707165002822876 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.06user 3.20system 0:20.83elapsed 87%CPU (0avgtext+0avgdata 140824maxresident)k 600inputs+8480outputs (20major+260070minor)pagefaults 0swaps