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 : 824711 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 : 753>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/824711/ 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.4899303913116455 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 03:37: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/1747100245_824711_1357763476_668c54d7620b12cdcea29ff7d0f6e405.jpg resize: (1080, 1632) 1357763476 -1.5495230730124137 treat image : temp/1747100245_824711_1357763475_fdc68587b68528fdcb6642f48bcdfb6c.jpg resize: (1080, 1632) 1357763475 -5.46971151073446 treat image : temp/1747100245_824711_1357763471_e8aeacfc8b37364737f394f80193fae4.jpg resize: (1080, 1632) 1357763471 -5.548184778057988 treat image : temp/1747100245_824711_1357763452_4c35b8a68c741bb3be0757295ac7ec28.jpg resize: (1080, 1632) 1357763452 -5.734512392991666 treat image : temp/1747100245_824711_1357763448_ad5e56dbb6b960350ce4eab5cbe96141.jpg resize: (1080, 1632) 1357763448 -5.288774713501727 treat image : temp/1747100245_824711_1357763445_329c80dd662dc295b96c53c186e9b6ff.jpg resize: (1080, 1632) 1357763445 -5.243264577831348 treat image : temp/1747100245_824711_1357763442_b86eab88e1f57a650797ea42d399a398.jpg resize: (1080, 1632) 1357763442 -5.683780776120452 treat image : temp/1747100245_824711_1357763439_80a681429347ecf69cb558f56d202014.jpg resize: (1080, 1632) 1357763439 -6.122661745166024 treat image : temp/1747100245_824711_1357763381_d91f1015532352d4370f3a59c2f441e4.jpg resize: (1080, 1632) 1357763381 -3.2126757924019094 treat image : temp/1747100245_824711_1357763378_4245c6b2870a586fe9517b2241464b2d.jpg resize: (1080, 1632) 1357763378 -4.440740765611806 treat image : temp/1747100245_824711_1357763376_133e46d5aa4e5a5abbf2034aa2d44518.jpg resize: (1080, 1632) 1357763376 -5.9843562765086995 treat image : temp/1747100245_824711_1357763374_a4f5d6a4b36590434f1b053df536679b.jpg resize: (1080, 1632) 1357763374 -5.768350295246713 treat image : temp/1747100245_824711_1357763371_009ec7d7674a2b0db35e2ce1e6223c21.jpg resize: (1080, 1632) 1357763371 -5.709628984912896 treat image : temp/1747100245_824711_1357763343_5fbfb955e34a131219fcdd3741db7d7c.jpg resize: (1080, 1632) 1357763343 -1.5095208488250984 treat image : temp/1747100245_824711_1357763341_b7eaa6caa23a9c3da1dd677ad4e29d49.jpg resize: (1080, 1632) 1357763341 -3.4110558959427113 treat image : temp/1747100245_824711_1357763338_f6cbecb354521c200a6147703813b656.jpg resize: (1080, 1632) 1357763338 -5.412518368535627 treat image : temp/1747100245_824711_1357763294_9405db411592751502d7dce013c6ab9a.jpg resize: (1080, 1632) 1357763294 -5.2361543994225705 treat image : temp/1747100245_824711_1357763291_4bdaf623de3bbc08a659b77354eade85.jpg resize: (1080, 1632) 1357763291 -5.745928464865443 treat image : temp/1747100245_824711_1357763289_4c12061f1224369390c6a991081b9852.jpg resize: (1080, 1632) 1357763289 -4.831377616177401 treat image : temp/1747100245_824711_1357763287_6efa13cd93e048ee41e375c21226c068.jpg resize: (1080, 1632) 1357763287 -5.247874651926349 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.016234159469604492 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.01595163345336914 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01679062843322754 save missing photos in datou_result : time spend for datou_step_exec : 15.293375492095947 time spend to save output : 0.054863691329956055 total time spend for step 1 : 15.348239183425903 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.02user 3.67system 0:19.31elapsed 91%CPU (0avgtext+0avgdata 140876maxresident)k 120inputs+10056outputs (2major+253235minor)pagefaults 0swaps