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 : 286609 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 : 1238>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/286609/ 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 : 1.9861087799072266 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 Feb 4 16:07:28 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/1738681646_286609_1334585573_7cea257a4043eedcec5b76134b042c30.jpg resize: (1080, 1632) 1334585573 -5.103805174253975 treat image : temp/1738681646_286609_1334585568_aff0bd456a3f4e1b94c19100bd5d3e7e.jpg resize: (1080, 1632) 1334585568 -2.4960972999221966 treat image : temp/1738681646_286609_1334585524_5b3c07619c0f55da4f92e399b6a69fcc.jpg resize: (1080, 1632) 1334585524 -4.566240694643038 treat image : temp/1738681646_286609_1334585262_a57cb75e6b2970f3dc78069836ca5768.jpg resize: (1080, 1632) 1334585262 -3.4085268778709956 treat image : temp/1738681646_286609_1334585256_deb7a4de3176a2be3dfdbb93f71e09c5.jpg resize: (1080, 1632) 1334585256 -6.442436852152253 treat image : temp/1738681646_286609_1334585253_0dc7d6729d0ba0eded0d789efb69c626.jpg resize: (1080, 1632) 1334585253 -5.174670079207733 treat image : temp/1738681646_286609_1334585249_19c35c5ae07a65a82e79c704ededa123.jpg resize: (1080, 1632) 1334585249 -6.000311098430966 treat image : temp/1738681646_286609_1334585245_1570d4066e1b21dd84190cbe52a43896.jpg resize: (1080, 1632) 1334585245 -5.736994115005263 treat image : temp/1738681646_286609_1334585159_32bb543c64cc1043656accdfd6d970f0.jpg resize: (1080, 1632) 1334585159 -4.471611983021484 treat image : temp/1738681646_286609_1334585061_3b57c4ef0cea0919611a6eec55a9264e.jpg resize: (1080, 1632) 1334585061 -2.5722814498532673 treat image : temp/1738681646_286609_1334585057_d796a82910796d366c5745d1f7e94250.jpg resize: (1080, 1632) 1334585057 -5.6742954626703215 treat image : temp/1738681646_286609_1334585052_2e8e230b67e0cfed14b1c4f9ab94ba4c.jpg resize: (1080, 1632) 1334585052 -6.736351690414342 treat image : temp/1738681646_286609_1334585049_bc684fb30cdb7e2a60360eef75726e7d.jpg resize: (1080, 1632) 1334585049 -6.164729952329605 treat image : temp/1738681646_286609_1334585043_6ecef6d17ec23354ad0828e6051d7867.jpg resize: (1080, 1632) 1334585043 -2.02510889523961 treat image : temp/1738681646_286609_1334584991_fa21892af851ec57d444fe8c785c2b52.jpg resize: (1080, 1632) 1334584991 -5.311525948471327 treat image : temp/1738681646_286609_1334584989_ae0a6a30c7abde338f151980e783766f.jpg resize: (1080, 1632) 1334584989 -5.463377410937407 treat image : temp/1738681646_286609_1334584985_173c0dce801082a0daa703b34edeecf7.jpg resize: (1080, 1632) 1334584985 -3.646016784423485 treat image : temp/1738681646_286609_1334584926_e059c8caa154d724762ac830ec84948f.jpg resize: (1080, 1632) 1334584926 -5.519120434130394 treat image : temp/1738681646_286609_1334584923_1fa1a381e448d7a9eeaebea159283aa4.jpg resize: (1080, 1632) 1334584923 -5.9893029224504275 treat image : temp/1738681646_286609_1334584919_122160da7cda7031faa84e6851b746bd.jpg resize: (1080, 1632) 1334584919 -5.274048115000961 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.01236724853515625 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.0120086669921875 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01516103744506836 save missing photos in datou_result : time spend for datou_step_exec : 12.953261375427246 time spend to save output : 0.045258283615112305 total time spend for step 1 : 12.998519659042358 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.98user 1.35system 0:17.56elapsed 87%CPU (0avgtext+0avgdata 138696maxresident)k 0inputs+10672outputs (6major+119650minor)pagefaults 0swaps