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 : 3714782 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 : 3201>100 please execute split_portfolio.py -i 23145313 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2900260'] with mtr_portfolio_ids : ['23145313'] and first list_photo_ids : [] new path : /proc/3714782/ 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.24963641166687 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 20 20:02: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/1747764146_3714782_1359850100_3aecb84d32dbd2b6f8c1c5893f5a35e5.jpg resize: (1080, 1632) 1359850100 -5.73272730273861 treat image : temp/1747764146_3714782_1359850081_8ea3f2eb74166d0d9c1baca88589d948.jpg resize: (1080, 1632) 1359850081 -0.5735759059351087 treat image : temp/1747764146_3714782_1359850077_05426876bbc9c47cd364c32d8833d657.jpg resize: (1080, 1632) 1359850077 -1.5187871959825006 treat image : temp/1747764146_3714782_1359850073_56f26f4a693a1c4128576c6992f6fb1a.jpg resize: (1080, 1632) 1359850073 -1.0428241360684578 treat image : temp/1747764146_3714782_1359850042_c06f107ae88d913a59637e389bf10c87.jpg resize: (1080, 1632) 1359850042 -5.216230307090832 treat image : temp/1747764146_3714782_1359850037_b6003d2db4ae28c52b5b6d85b2501655.jpg resize: (1080, 1632) 1359850037 -5.573227882353649 treat image : temp/1747764146_3714782_1359849983_f42faed24d217e39e7548444436706d4.jpg resize: (1080, 1632) 1359849983 -3.3674217624754954 treat image : temp/1747764146_3714782_1359849980_e8e7a829ea5945a21f5b26b05bc68537.jpg resize: (1080, 1632) 1359849980 -4.88227064021527 treat image : temp/1747764146_3714782_1359849976_273e34f6f62fb8dee514425ac59df27f.jpg resize: (1080, 1632) 1359849976 -4.785187040014547 treat image : temp/1747764146_3714782_1359849863_9351d96e077a09831d688ca5a496fbaa.jpg resize: (1080, 1632) 1359849863 -3.048082511876093 treat image : temp/1747764146_3714782_1359849841_8ff41b5c6965e5b1ac895fb4bc609581.jpg resize: (1080, 1632) 1359849841 -2.7073866711184857 treat image : temp/1747764146_3714782_1359849835_ad07c4adb4622ef80ee007e92769644c.jpg resize: (1080, 1632) 1359849835 -4.185672676790224 treat image : temp/1747764146_3714782_1359849799_e76281cb4d5f336c13301a5b537dfecb.jpg resize: (1080, 1632) 1359849799 -5.03266159455461 treat image : temp/1747764146_3714782_1359849712_c50d7eccaa4c812bfe3e812efde2bc37.jpg resize: (1080, 1632) 1359849712 -5.788034238429534 treat image : temp/1747764146_3714782_1359849699_56bd2008d24ffcacba96946b3c2ab448.jpg resize: (1080, 1632) 1359849699 -1.3136228655778321 treat image : temp/1747764146_3714782_1359849694_78ae0b9b72bd8ef4847772a52c7b8e11.jpg resize: (1080, 1632) 1359849694 -2.656955112765547 treat image : temp/1747764146_3714782_1359849668_f4df9b48461e6effb58f002555dafc3e.jpg resize: (1080, 1632) 1359849668 -4.4320567838250104 treat image : temp/1747764146_3714782_1359849665_7d9de8a18189d785ba202c9ef06abf09.jpg resize: (1080, 1632) 1359849665 -4.98999834236249 treat image : temp/1747764146_3714782_1359849663_ee66ad127b776a8898e74dd010f67933.jpg resize: (1080, 1632) 1359849663 -5.105926186699208 treat image : temp/1747764146_3714782_1359849660_8038a502ae58febc10eedf20036e8553.jpg resize: (1080, 1632) 1359849660 -5.58632294946091 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.012479782104492188 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.013644218444824219 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.015977859497070312 save missing photos in datou_result : time spend for datou_step_exec : 16.990576028823853 time spend to save output : 0.04763936996459961 total time spend for step 1 : 17.038215398788452 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.77user 3.93system 0:21.02elapsed 93%CPU (0avgtext+0avgdata 140772maxresident)k 4496inputs+8464outputs (39major+263007minor)pagefaults 0swaps