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 : 1698824 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 : 2675>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/1698824/ 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.093952178955078 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:12: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/1738717948_1698824_1334733330_40c9c1bf8b890225efb22f3d98ab0137.jpg resize: (1080, 1632) 1334733330 -3.9992511052500834 treat image : temp/1738717948_1698824_1334733326_d2f41d41186a60557cd81fe0eab669b4.jpg resize: (1080, 1632) 1334733326 -5.42584528454195 treat image : temp/1738717948_1698824_1334733325_d51ae34a06260d726df56f38215677dd.jpg resize: (1080, 1632) 1334733325 -5.932489744991361 treat image : temp/1738717948_1698824_1334733324_5879b681f42e2baf9146e058ea5ddb81.jpg resize: (1080, 1632) 1334733324 -4.831693251172859 treat image : temp/1738717948_1698824_1334733323_6b6c1c905aa948f794c30bb6842d930d.jpg resize: (1080, 1632) 1334733323 -5.552559274197723 treat image : temp/1738717948_1698824_1334733313_0aa34c283455176f9cfbbdd98d7512b5.jpg resize: (1080, 1632) 1334733313 -5.834138031931857 treat image : temp/1738717948_1698824_1334733295_e37a99d1aacf974dd236d6083a1d3c48.jpg resize: (1080, 1632) 1334733295 -6.0873648448172215 treat image : temp/1738717948_1698824_1334733292_660e158326d3be10c852ae339888c184.jpg resize: (1080, 1632) 1334733292 -2.498304098992149 treat image : temp/1738717948_1698824_1334733289_f5b24a05e8a553413ee68cca564d6da8.jpg resize: (1080, 1632) 1334733289 -2.5726714567015625 treat image : temp/1738717948_1698824_1334733258_a8a1e6a02477f9b46f04b1e268498348.jpg resize: (1080, 1632) 1334733258 -5.2245888996100085 treat image : temp/1738717948_1698824_1334733246_c15b20052c3584e9cb8432d77e321f06.jpg resize: (1080, 1632) 1334733246 -5.655880429768853 treat image : temp/1738717948_1698824_1334733244_764a5edf4acc4faedf7b543d8230b72b.jpg resize: (1080, 1632) 1334733244 -3.9428321945502267 treat image : temp/1738717948_1698824_1334733201_3ecb374377f71c9586c0e4bed1bb99f8.jpg resize: (1080, 1632) 1334733201 -5.8136133866553665 treat image : temp/1738717948_1698824_1334733198_055c183f3a6e808a520d64658c899c80.jpg resize: (1080, 1632) 1334733198 -6.084470147143315 treat image : temp/1738717948_1698824_1334733189_fbb888dd51d62f0b72b5347f4c226b94.jpg resize: (1080, 1632) 1334733189 -4.56813676386419 treat image : temp/1738717948_1698824_1334733187_375de47f45a6ffa6354edf017c6bfd6a.jpg resize: (1080, 1632) 1334733187 -2.2193149880312597 treat image : temp/1738717948_1698824_1334733174_7f1f4c66da7e6ef45a52669d5d3aef80.jpg resize: (1080, 1632) 1334733174 -5.502764650018403 treat image : temp/1738717948_1698824_1334733172_59ac83d10141f24eee1967030cbfbbfd.jpg resize: (1080, 1632) 1334733172 -4.915561395458287 treat image : temp/1738717948_1698824_1334733032_d721feb53585fd9c62d331ffdb93d5f7.jpg resize: (1080, 1632) 1334733032 -2.5481272181609116 treat image : temp/1738717948_1698824_1334733031_dc12e171f8103990c4508d4837bd728f.jpg resize: (1080, 1632) 1334733031 -2.5481272181609116 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.018633127212524414 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.07803225517272949 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.018940448760986328 save missing photos in datou_result : time spend for datou_step_exec : 13.271943092346191 time spend to save output : 0.12088179588317871 total time spend for step 1 : 13.39282488822937 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.10user 1.60system 0:19.51elapsed 80%CPU (0avgtext+0avgdata 139552maxresident)k 0inputs+9744outputs (19major+119512minor)pagefaults 0swaps