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 : 1642716 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 : 5005>100 please execute split_portfolio.py -i 24774035 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['3262193'] with mtr_portfolio_ids : ['24774035'] and first list_photo_ids : [] new path : /proc/1642716/ 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 ! BFBFBFBFBFBFBFBFBFBHTTP Error 404: Not Found can't download the photo : 1371505941 complete_path : /home/admin/workarea/git/Velours/python/temp/1752155547_1642716_1371505941_905295203ce5a46ea0fb63cd27a5a537.jpg FBFBFBFBFBFBFBFBFBFBFwe have missing 1 photos in the step downloads : photo missing : [1371505941] try to delete the photos missing in DB Url missing : :https://www.fotonower.com/api/v1/photo/onerrorloadautomation/1371505941 length of list_filenames : 19 ; length of list_pids : 19 ; length of list_args : 19 time to download the photos : 3.0630362033843994 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 Thu Jul 10 15:52: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/1752155547_1642716_1371506407_7dc9d73ac69d9fe4dada48c10632c723.jpg resize: (1080, 1632) 1371506407 -5.379255918927985 treat image : temp/1752155547_1642716_1371506406_1b2493e6e1507f3782f89f68fcfab46c.jpg resize: (1080, 1632) 1371506406 -5.37304376207741 treat image : temp/1752155547_1642716_1371506401_c7de61458c2e81142d2f223c8e08c587.jpg resize: (1080, 1632) 1371506401 -5.378360468102042 treat image : temp/1752155547_1642716_1371506399_5788d5b30f43d47072fde20f3666bfda.jpg resize: (1080, 1632) 1371506399 -5.307280762201776 treat image : temp/1752155547_1642716_1371506392_d4b366a2760805aca4c1a5edc1ba29c0.jpg resize: (1080, 1632) 1371506392 -5.379255918927985 treat image : temp/1752155547_1642716_1371506341_4fe88dbdad0e9d06a7b85a5392354623.jpg resize: (1080, 1632) 1371506341 -5.37506830402431 treat image : temp/1752155547_1642716_1371505946_332fef0193b476ecbd48fcc123b4b0c0.jpg resize: (1080, 1632) 1371505946 -5.382370372779316 treat image : temp/1752155547_1642716_1371505945_7ee831f3c4a9726f7d682edd1d84c6c1.jpg resize: (1080, 1632) 1371505945 -5.377324516668457 treat image : temp/1752155547_1642716_1371505942_196fd7c7354b93d8ccd9d58f7c236d0e.jpg resize: (1080, 1632) 1371505942 -5.324817131935801 treat image : temp/1752155547_1642716_1371505940_2e2d64d44ab7bca384bba09940235ccc.jpg resize: (1080, 1632) 1371505940 -5.3746542609771595 treat image : temp/1752155547_1642716_1371505934_39eee8292e606210b5f624c9eff3a2ee.jpg resize: (1080, 1632) 1371505934 -5.3746542609771595 treat image : temp/1752155547_1642716_1371505662_8e770a2d609f8e9a62fd4de3de5f38c6.jpg resize: (1080, 1632) 1371505662 -5.378309494853043 treat image : temp/1752155547_1642716_1371505655_d996aa9e4200d89fe1865aa7d5d676f0.jpg resize: (1080, 1632) 1371505655 -5.3748276387248595 treat image : temp/1752155547_1642716_1371505596_1103fc8879d451aa3ff3ead67c0be181.jpg resize: (1080, 1632) 1371505596 -5.375434151198281 treat image : temp/1752155547_1642716_1371505518_e344d024bff5c4742ecde745a3769e45.jpg resize: (1080, 1632) 1371505518 -5.3748276387248595 treat image : temp/1752155547_1642716_1371505514_b8d26d23c9fbdb541100dabe0f71e89e.jpg resize: (1080, 1632) 1371505514 -5.376547380052535 treat image : temp/1752155547_1642716_1371505512_be0315587df29c9811b90d6999d0478b.jpg resize: (1080, 1632) 1371505512 -5.319905624510391 treat image : temp/1752155547_1642716_1371505198_eb7b13096d19c75751c733bff9ec234a.jpg resize: (1080, 1632) 1371505198 -5.368727923127339 treat image : temp/1752155547_1642716_1371505108_4e24a219cd74967b86491a2002fe62cd.jpg resize: (1080, 1632) 1371505108 -5.37645200468048 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 : 19 time used for this insertion : 0.013319969177246094 begin to insert list_values into photo_hahstag_ids : length of list_valuse in save_photo_hashtag_id_type : 19 time used for this insertion : 0.012235641479492188 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 19 time used for this insertion : 0.015979766845703125 save missing photos in datou_result : begin to insert list_values into mtr_datou_result : length of list_values in save_final : 1 time used for this insertion : 0.012625694274902344 time spend for datou_step_exec : 14.578992366790771 time spend to save output : 0.059554338455200195 total time spend for step 1 : 14.638546705245972 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.16user 3.81system 0:20.75elapsed 81%CPU (0avgtext+0avgdata 140380maxresident)k 88inputs+9432outputs (13major+250591minor)pagefaults 0swaps