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 : 2804817 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 : 1254>100 please execute split_portfolio.py -i 21403117 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2667237'] with mtr_portfolio_ids : ['21403117'] and first list_photo_ids : [] new path : /proc/2804817/ 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.871047019958496 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 Fri Mar 14 08:47:31 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/1741938448_2804817_1344093134_6529d03f2e57ac15b73154ed5a791490.jpg resize: (1080, 1632) 1344093134 -5.529086859612511 treat image : temp/1741938448_2804817_1344093127_a4b0ce9634cd112214f47fa5d5563076.jpg resize: (1080, 1632) 1344093127 -4.961055894203815 treat image : temp/1741938448_2804817_1344093110_c4324149a6db90ca189f839ca274391d.jpg resize: (1080, 1632) 1344093110 -6.598629507534421 treat image : temp/1741938448_2804817_1344093104_89f70023310db34e3ba7223e37387fa1.jpg resize: (1080, 1632) 1344093104 -1.4288140810252115 treat image : temp/1741938448_2804817_1344093092_e29b36c9e623735868e8bd572257693a.jpg resize: (1080, 1632) 1344093092 -0.5449001500312213 treat image : temp/1741938448_2804817_1344093088_f1069dafcf2befc12cf482b50cb55321.jpg resize: (1080, 1632) 1344093088 -5.388509419455439 treat image : temp/1741938448_2804817_1344093029_8cbbfb2f48e5f52657d3f939188134b5.jpg resize: (1080, 1632) 1344093029 -5.806287632013372 treat image : temp/1741938448_2804817_1344093023_1be25712b3b4f5852f1801966ab238b1.jpg resize: (1080, 1632) 1344093023 -2.349520393037978 treat image : temp/1741938448_2804817_1344093011_2a16025c01f23327b2bc3861c6aaab13.jpg resize: (1080, 1632) 1344093011 -2.618634235120374 treat image : temp/1741938448_2804817_1344092824_696209bcb65ddbd785c29f71a9d3ab88.jpg resize: (1080, 1632) 1344092824 -4.188158745794283 treat image : temp/1741938448_2804817_1344092823_d8a9b8b66ba8ffbdd3025201cd01b98a.jpg resize: (1080, 1632) 1344092823 -5.925169096370294 treat image : temp/1741938448_2804817_1344092819_d78f3e648dc083e3b345d938ee64a36a.jpg resize: (1080, 1632) 1344092819 -5.5233984356629575 treat image : temp/1741938448_2804817_1344092814_7155ba6c584131f1dbc05cc8b4edda37.jpg resize: (1080, 1632) 1344092814 -6.217319073822844 treat image : temp/1741938448_2804817_1344092810_574f42bce233804941c04a4ba64214e9.jpg resize: (1080, 1632) 1344092810 -6.244199339404781 treat image : temp/1741938448_2804817_1344092688_92579af1b92df2761a7b526017287dbe.jpg resize: (1080, 1632) 1344092688 -5.999862664902254 treat image : temp/1741938448_2804817_1344092684_f7b5a5415b9c3ccb8537d4dcfe34a81d.jpg resize: (1080, 1632) 1344092684 -1.9971039719614168 treat image : temp/1741938448_2804817_1344092675_baef725653264c13921252ec0497a089.jpg resize: (1080, 1632) 1344092675 -2.1625796891650912 treat image : temp/1741938448_2804817_1344092671_54cc2193a14d3d10fdb95aaf88b28904.jpg resize: (1080, 1632) 1344092671 -2.381785578598595 treat image : temp/1741938448_2804817_1344092664_5883d528f73f95326e41a33d287a646c.jpg resize: (1080, 1632) 1344092664 -5.511589270738936 treat image : temp/1741938448_2804817_1344092663_798e299a736f0b3ce045fdbd1b3be39f.jpg resize: (1080, 1632) 1344092663 -6.842200979080814 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.01369929313659668 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.011834859848022461 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.23313546180725098 save missing photos in datou_result : time spend for datou_step_exec : 13.922558307647705 time spend to save output : 0.2631568908691406 total time spend for step 1 : 14.185715198516846 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.89user 3.24system 0:20.72elapsed 82%CPU (0avgtext+0avgdata 140128maxresident)k 3048inputs+10520outputs (24major+201782minor)pagefaults 0swaps