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 : 3596415 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 : 2279>100 please execute split_portfolio.py -i 20234215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2547945'] with mtr_portfolio_ids : ['20234215'] and first list_photo_ids : [] new path : /proc/3596415/ 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.3898766040802 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 12:07: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/1738753647_3596415_1334905811_c8bf4d18a967ade302a40379eab20a95.jpg resize: (1080, 1632) 1334905811 -6.149714741380994 treat image : temp/1738753647_3596415_1334905806_0acb7b143bcae1f091779e72cf064727.jpg resize: (1080, 1632) 1334905806 -5.670491263620621 treat image : temp/1738753647_3596415_1334905802_02e358e80a5b90a6110312464809661c.jpg resize: (1080, 1632) 1334905802 -6.183754592455834 treat image : temp/1738753647_3596415_1334905799_fc39188ca9d39bf14d408ba6540d10bb.jpg resize: (1080, 1632) 1334905799 -4.6555099950852075 treat image : temp/1738753647_3596415_1334905776_a1894ce63a18a021ec8d441e976408f8.jpg resize: (1080, 1632) 1334905776 -4.770005184488799 treat image : temp/1738753647_3596415_1334905773_282ec0cc13c60966eb65345b8248dd97.jpg resize: (1080, 1632) 1334905773 -6.214483313842405 treat image : temp/1738753647_3596415_1334905770_157ff31c2d612e7f4735bf5a98735024.jpg resize: (1080, 1632) 1334905770 -6.764786388998255 treat image : temp/1738753647_3596415_1334905768_9eabf97ba59d569c3d6d0c925e082a00.jpg resize: (1080, 1632) 1334905768 -6.330860729081348 treat image : temp/1738753647_3596415_1334905698_f37732e848192e27fbe1e9b749fa846d.jpg resize: (1080, 1632) 1334905698 -2.5229870614343364 treat image : temp/1738753647_3596415_1334905693_e384b2cfd1e8569e86031bcb6ae27035.jpg resize: (1080, 1632) 1334905693 -5.378912961926455 treat image : temp/1738753647_3596415_1334905674_005345368e673f9bfcccc495464507e1.jpg resize: (1080, 1632) 1334905674 -6.22733188020246 treat image : temp/1738753647_3596415_1334905671_97a610627721775029ba636ebff253ba.jpg resize: (1080, 1632) 1334905671 -5.954837231721454 treat image : temp/1738753647_3596415_1334905667_cd38759c52c228a13c897a82f1674934.jpg resize: (1080, 1632) 1334905667 -6.036439208310964 treat image : temp/1738753647_3596415_1334905663_aa566fddb43ced0df2a407b87e1cf1da.jpg resize: (1080, 1632) 1334905663 -5.805081487597765 treat image : temp/1738753647_3596415_1334905659_c689f7839686cd06a1d6bec203b683ee.jpg resize: (1080, 1632) 1334905659 -6.532181812011647 treat image : temp/1738753647_3596415_1334905653_e9a15514f4bf27808d7c411c6ebf6b88.jpg resize: (1080, 1632) 1334905653 -5.210078740807294 treat image : temp/1738753647_3596415_1334905511_3e4a39b6799ee6c8d0f2c129196738ec.jpg resize: (1080, 1632) 1334905511 -5.7984100893631165 treat image : temp/1738753647_3596415_1334905488_7cf1fa050ef0216f41dc3475a9ea8125.jpg resize: (1080, 1632) 1334905488 -6.027799921935724 treat image : temp/1738753647_3596415_1334905473_697dcf32764c944ef158047808c30661.jpg resize: (1080, 1632) 1334905473 -5.772472797307966 treat image : temp/1738753647_3596415_1334905466_a7432521ef8847c447a96c29de5c970a.jpg resize: (1080, 1632) 1334905466 -6.232597387620396 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.012557268142700195 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.4090077877044678 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014662742614746094 save missing photos in datou_result : time spend for datou_step_exec : 13.152783870697021 time spend to save output : 0.44145631790161133 total time spend for step 1 : 13.594240188598633 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.02user 1.49system 0:17.91elapsed 86%CPU (0avgtext+0avgdata 140768maxresident)k 144inputs+11896outputs (11major+114799minor)pagefaults 0swaps