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 : 26388 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 : 3243>100 please execute split_portfolio.py -i 22899558 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2832080'] with mtr_portfolio_ids : ['22899558'] and first list_photo_ids : [] new path : /proc/26388/ 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.2248294353485107 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 May 13 20:37: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/1747161448_26388_1357929070_2f28344e89b46fdf405af81db5191995.jpg resize: (1080, 1632) 1357929070 -6.277748362267793 treat image : temp/1747161448_26388_1357929016_9a5d9f00f15dc680c8640d84cbf54497.jpg resize: (1080, 1632) 1357929016 -5.891467704042215 treat image : temp/1747161448_26388_1357928959_4ce39ef8c146d873f3636ee4b3438f1e.jpg resize: (1080, 1632) 1357928959 -3.022656666197438 treat image : temp/1747161448_26388_1357928900_f1b63dee2328effb025644b90cb076f9.jpg resize: (1080, 1632) 1357928900 -5.491830111100648 treat image : temp/1747161448_26388_1357928461_fe444192a289f436e74a7d3b61974ada.jpg resize: (1080, 1632) 1357928461 -5.91301813692774 treat image : temp/1747161448_26388_1357928434_f17b92d57b3b02c0703cff54f6a6ba4d.jpg resize: (1080, 1632) 1357928434 -5.8969787921643455 treat image : temp/1747161448_26388_1357928430_303e054b22aa353fb893b99e8952ca4b.jpg resize: (1080, 1632) 1357928430 -4.223165303081176 treat image : temp/1747161448_26388_1357928427_1880083ed7ba6ee28ec952969ca8aa62.jpg resize: (1080, 1632) 1357928427 -5.992219766188295 treat image : temp/1747161448_26388_1357928424_fcbf317f35a9dbea573d493bd9cadcf6.jpg resize: (1080, 1632) 1357928424 -5.647267865583224 treat image : temp/1747161448_26388_1357928421_754cce10edda36bba453fe8ff43130c8.jpg resize: (1080, 1632) 1357928421 -5.70926252971523 treat image : temp/1747161448_26388_1357928209_11db5d124105c5884cd7baf163f7d6bc.jpg resize: (1080, 1632) 1357928209 -6.0618398079833415 treat image : temp/1747161448_26388_1357928180_83d4ce6aa4e4043c10acdef4d49d0ca2.jpg resize: (1080, 1632) 1357928180 -5.838068941781366 treat image : temp/1747161448_26388_1357928153_e25ac466064da973778abdf8e575c56e.jpg resize: (1080, 1632) 1357928153 -5.808295038971989 treat image : temp/1747161448_26388_1357927677_59b438f0ced15f2b329d6c79a8a8ebdb.jpg resize: (1080, 1632) 1357927677 -1.0860742850816643 treat image : temp/1747161448_26388_1357927672_e1472dc1bff0b7a5dd0a7e665f9194d0.jpg resize: (1080, 1632) 1357927672 -1.2456047613306986 treat image : temp/1747161448_26388_1357927671_d2717f8666327d0978159a7f121e44ff.jpg resize: (1080, 1632) 1357927671 -4.196708963791669 treat image : temp/1747161448_26388_1357927375_fd06368381d8fbc75e5f2a06b0382832.jpg resize: (1080, 1632) 1357927375 -6.202710822823295 treat image : temp/1747161448_26388_1357927350_24e1ae7593072ce531c757a8b801785f.jpg resize: (1080, 1632) 1357927350 -4.611313652507235 treat image : temp/1747161448_26388_1357922348_94543bebf750ee3e5d9f4690aa491db9.jpg resize: (1080, 1632) 1357922348 -5.229140832283007 treat image : temp/1747161448_26388_1357922330_82553ade6dd5bc64a1392564c4fef915.jpg resize: (1080, 1632) 1357922330 -3.6696301550119257 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.012429237365722656 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.01240992546081543 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014376163482666016 save missing photos in datou_result : time spend for datou_step_exec : 17.88804006576538 time spend to save output : 0.24007201194763184 total time spend for step 1 : 18.128112077713013 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.21user 5.09system 0:23.40elapsed 86%CPU (0avgtext+0avgdata 140928maxresident)k 5176inputs+10208outputs (52major+265067minor)pagefaults 0swaps