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 : 1491628 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 : 1938>100 please execute split_portfolio.py -i 21319625 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2660211'] with mtr_portfolio_ids : ['21319625'] and first list_photo_ids : [] new path : /proc/1491628/ 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 ! BFBFBFBFBFBFBFBFBFBFBFBFBFBFBFBFwe have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB length of list_filenames : 16 ; length of list_pids : 16 ; length of list_args : 16 time to download the photos : 2.807657480239868 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 Mar 12 10:02: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/1741770147_1491628_1343344163_3c96d46a671bb3aac46fd35c76e5e356.jpg resize: (1080, 1632) 1343344163 -5.585303426740483 treat image : temp/1741770147_1491628_1343344157_e31ea3c5b8167dfa898e9ece8bc50b31.jpg resize: (1080, 1632) 1343344157 -5.3556037684750235 treat image : temp/1741770147_1491628_1343344155_fb74b467a306708cd5d3284f90c40a52.jpg resize: (1080, 1632) 1343344155 -5.310616543195788 treat image : temp/1741770147_1491628_1343344152_1fd2ac3609a74954b787487443f9f213.jpg resize: (1080, 1632) 1343344152 -4.904728587132029 treat image : temp/1741770147_1491628_1343344148_e7f159c58197f3fc3af97bb13b34032e.jpg resize: (1080, 1632) 1343344148 -5.036517226578333 treat image : temp/1741770147_1491628_1343344144_9df3a3fc60874f448e76e13e66548f95.jpg resize: (1080, 1632) 1343344144 -5.363830938173356 treat image : temp/1741770147_1491628_1343344035_a68986d93f3461383045867984b76b74.jpg resize: (1080, 1632) 1343344035 -2.460429268737431 treat image : temp/1741770147_1491628_1343343982_e3c837d244b9fbbc17300ce056383a4e.jpg resize: (1080, 1632) 1343343982 -2.5322986948415522 treat image : temp/1741770147_1491628_1343343955_abba2ae9899b7ce23ff524d7bfd200ec.jpg resize: (1080, 1632) 1343343955 -5.298269210525096 treat image : temp/1741770147_1491628_1343343929_f5997ec25b9373ebac40b17c946399a4.jpg resize: (1080, 1632) 1343343929 -5.417218654355359 treat image : temp/1741770147_1491628_1343343827_eafbf6be1fa55ca964ab38cbab30571b.jpg resize: (1080, 1632) 1343343827 -6.134936371339327 treat image : temp/1741770147_1491628_1343343806_f09d3ea838b7bab76375f0d9ab925edc.jpg resize: (1080, 1632) 1343343806 -5.187938765275294 treat image : temp/1741770147_1491628_1343343770_70bf280df895aba195ad7d917de627ca.jpg resize: (1080, 1632) 1343343770 -5.861310684957578 treat image : temp/1741770147_1491628_1343343736_462b6cc8a91c6d6fb28eb46e41e94e15.jpg resize: (1080, 1632) 1343343736 -4.485056815184159 treat image : temp/1741770147_1491628_1343343670_e801f144465f973f7e678eb09a10539a.jpg resize: (1080, 1632) 1343343670 -5.236947471964442 treat image : temp/1741770147_1491628_1343343628_b9e985e060d1c7e20ad318abc4ee11ce.jpg resize: (1080, 1632) 1343343628 -3.0979381567964017 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 : 16 time used for this insertion : 0.013570785522460938 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 16 time used for this insertion : 0.7581634521484375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 16 time used for this insertion : 0.013851404190063477 save missing photos in datou_result : time spend for datou_step_exec : 15.216813087463379 time spend to save output : 0.7909557819366455 total time spend for step 1 : 16.007768869400024 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 16 set_done_treatment 12.59user 5.36system 0:20.80elapsed 86%CPU (0avgtext+0avgdata 140564maxresident)k 2808inputs+7672outputs (17major+199236minor)pagefaults 0swaps