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 : 1776006 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 : 2759>100 please execute split_portfolio.py -i 20195867 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2542720'] with mtr_portfolio_ids : ['20195867'] and first list_photo_ids : [] new path : /proc/1776006/ 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.3047091960906982 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 Feb 5 02:57:34 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/1738720652_1776006_1334746264_d215c7cf8a4f027d33faccc5f3610e74.jpg resize: (1080, 1632) 1334746264 -4.054998449928929 treat image : temp/1738720652_1776006_1334746263_eb9e751ad56f7bb437ce23eecb5c972f.jpg resize: (1080, 1632) 1334746263 -5.952813505566235 treat image : temp/1738720652_1776006_1334746262_c1f5a0d407a74a5afa107b44e5879fe2.jpg resize: (1080, 1632) 1334746262 -4.772512620331759 treat image : temp/1738720652_1776006_1334746220_fe50fa2799d03f7ea8824355a721f9ef.jpg resize: (1080, 1632) 1334746220 -5.794876145865793 treat image : temp/1738720652_1776006_1334746214_bf7af013294d6e8881ee6f8344568ce0.jpg resize: (1080, 1632) 1334746214 -6.016263149153566 treat image : temp/1738720652_1776006_1334746209_19ad6263e716b6309d1939755b781ad5.jpg resize: (1080, 1632) 1334746209 -6.126180876368633 treat image : temp/1738720652_1776006_1334746175_0974b52044f97f42af773928028325df.jpg resize: (1080, 1632) 1334746175 -6.33383874681713 treat image : temp/1738720652_1776006_1334746174_7fa0d050cc72bf2c1ed8304c60dbc418.jpg resize: (1080, 1632) 1334746174 -3.212259231333583 treat image : temp/1738720652_1776006_1334746173_225636acfed890072d366c30e114c8e4.jpg resize: (1080, 1632) 1334746173 -1.2740508238255772 treat image : temp/1738720652_1776006_1334746172_5853c69b839c4f738f7f191fc4d4b79a.jpg resize: (1080, 1632) 1334746172 -2.483112790827283 treat image : temp/1738720652_1776006_1334746171_f9b787e05509342a330e5ea2e2512062.jpg resize: (1080, 1632) 1334746171 -6.135974670093161 treat image : temp/1738720652_1776006_1334746165_417ae0ee33c18fcdd5ec895d370e15f7.jpg resize: (1080, 1632) 1334746165 -5.865592935011651 treat image : temp/1738720652_1776006_1334737133_dccaaff4425fecc8a139912ba41ac99b.jpg resize: (1080, 1632) 1334737133 -2.533906191610961 treat image : temp/1738720652_1776006_1334737056_b342bab1dee2d93cb9832bf90bc1d035.jpg resize: (1080, 1632) 1334737056 -1.5742836773271747 treat image : temp/1738720652_1776006_1334736915_c710716f073b0549060a104e92043b3a.jpg resize: (1080, 1632) 1334736915 -3.541459756731315 treat image : temp/1738720652_1776006_1334736913_ed2ddafdbee5985201592d3e26626116.jpg resize: (1080, 1632) 1334736913 -3.8240879359342843 treat image : temp/1738720652_1776006_1334736910_d1f1feae3f08b98dedc3918cbf7d0a2a.jpg resize: (1080, 1632) 1334736910 -5.725442347016062 treat image : temp/1738720652_1776006_1334736866_aa632c05bc1aae9f8ff43e644ccd2c37.jpg resize: (1080, 1632) 1334736866 -5.804556506274213 treat image : temp/1738720652_1776006_1334736861_b08bc7c96823c9f9df36f22f030dff7b.jpg resize: (1080, 1632) 1334736861 -5.535421916877356 treat image : temp/1738720652_1776006_1334736858_ae8f77948ad82538bae8e3d23d7aa19b.jpg resize: (1080, 1632) 1334736858 -4.929982845818753 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.014707326889038086 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.013985157012939453 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015979290008544922 save missing photos in datou_result : time spend for datou_step_exec : 13.202735900878906 time spend to save output : 0.04981398582458496 total time spend for step 1 : 13.252549886703491 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.27user 1.46system 0:18.19elapsed 86%CPU (0avgtext+0avgdata 141452maxresident)k 3880inputs+10208outputs (54major+123741minor)pagefaults 0swaps