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 : 2989859 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 : 2911>100 please execute split_portfolio.py -i 21962613 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2714916'] with mtr_portfolio_ids : ['21962613'] and first list_photo_ids : [] new path : /proc/2989859/ 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 : 3.3015449047088623 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 Apr 2 19:17:29 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/1743614246_2989859_1349579499_6c809e5d7d442531a3ce3e6ee8e6506c.jpg resize: (1080, 1632) 1349579499 -4.701312490826142 treat image : temp/1743614246_2989859_1349486280_f54db4eacf7435e4e1d3dcd395662400.jpg resize: (1080, 1632) 1349486280 -5.691648898722049 treat image : temp/1743614246_2989859_1349486275_eca2b0b0959c0bdbcf7252d2deb01e0c.jpg resize: (1080, 1632) 1349486275 -6.16661983594231 treat image : temp/1743614246_2989859_1349486271_75a44a00495dfe78f24fc0d73b723252.jpg resize: (1080, 1632) 1349486271 -4.207639820503424 treat image : temp/1743614246_2989859_1349486267_8b3fdc07e60f2e8346f57611781e7590.jpg resize: (1080, 1632) 1349486267 -3.8974373955163917 treat image : temp/1743614246_2989859_1349486265_65b4ef258a3777a19fec5c01f0af9957.jpg resize: (1080, 1632) 1349486265 -5.99039933054766 treat image : temp/1743614246_2989859_1349486237_c991472e5163faca2ee1e2bec2dbabe0.jpg resize: (1080, 1632) 1349486237 -3.297730259181238 treat image : temp/1743614246_2989859_1349486234_008bc27239b1e4caca193aa928b66c57.jpg resize: (1080, 1632) 1349486234 -1.6270017454185155 treat image : temp/1743614246_2989859_1349486231_d1aca26aa44260cb268836370f284631.jpg resize: (1080, 1632) 1349486231 -3.126486579967025 treat image : temp/1743614246_2989859_1349486230_4f468917033b836b72a64fe3d8d0d92b.jpg resize: (1080, 1632) 1349486230 -5.572730933957956 treat image : temp/1743614246_2989859_1349486206_49608f94499d3628053ed4e9af4db6e3.jpg resize: (1080, 1632) 1349486206 -5.2113022946250664 treat image : temp/1743614246_2989859_1349486204_2d23810e920ce4093012668e884aac4c.jpg resize: (1080, 1632) 1349486204 -6.0348025938943435 treat image : temp/1743614246_2989859_1349486201_ee955edd870748e9fc272c5d6b83a480.jpg resize: (1080, 1632) 1349486201 -5.855935220438815 treat image : temp/1743614246_2989859_1349486196_605459215d32fc48e35d0aa8d2601357.jpg resize: (1080, 1632) 1349486196 -5.382238447624132 treat image : temp/1743614246_2989859_1349486192_e38a28e0c98baf8113b7774ca6b44149.jpg resize: (1080, 1632) 1349486192 -3.7719434496274182 treat image : temp/1743614246_2989859_1349486178_5cc181c37df6c70cadaa3ccfa4cea9ff.jpg resize: (1080, 1632) 1349486178 -4.9015853891863825 treat image : temp/1743614246_2989859_1349486152_99dcd0333360d1dd4c492fa599db4a85.jpg resize: (1080, 1632) 1349486152 -5.6966425136625425 treat image : temp/1743614246_2989859_1349486150_7b5aac2833f4b7d77cefbaa462ff4042.jpg resize: (1080, 1632) 1349486150 -2.7365131339552136 treat image : temp/1743614246_2989859_1349486147_75b76f2e853753ac5739603b0e44a727.jpg resize: (1080, 1632) 1349486147 -4.682296054569499 treat image : temp/1743614246_2989859_1349486144_b19b437b457325e19f7b4c757f29a874.jpg resize: (1080, 1632) 1349486144 -0.46656330238780863 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.01493215560913086 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.013796329498291016 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01708197593688965 save missing photos in datou_result : time spend for datou_step_exec : 15.890323638916016 time spend to save output : 0.050891876220703125 total time spend for step 1 : 15.941215515136719 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.81user 3.75system 0:20.60elapsed 90%CPU (0avgtext+0avgdata 140016maxresident)k 72inputs+9408outputs (2major+251898minor)pagefaults 0swaps