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 : 1902471 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 : 841>100 please execute split_portfolio.py -i 23235666 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2930256'] with mtr_portfolio_ids : ['23235666'] and first list_photo_ids : [] new path : /proc/1902471/ 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.102149724960327 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 May 22 08:22: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/1747894949_1902471_1360443787_bab3671ce1509cb5235d4e1b9fcf347d.jpg resize: (1080, 1632) 1360443787 -4.989546090884012 treat image : temp/1747894949_1902471_1360443723_4cd9caedd42ad1950b111395942a06ea.jpg resize: (1080, 1632) 1360443723 -4.840026023224975 treat image : temp/1747894949_1902471_1360443629_4956aaf67ef461025ed7727d9e2984a4.jpg resize: (1080, 1632) 1360443629 -4.332787137559535 treat image : temp/1747894949_1902471_1360443580_5404dcf7eccbebeaf6d7b59d4310c8ed.jpg resize: (1080, 1632) 1360443580 -4.146992139138666 treat image : temp/1747894949_1902471_1360443294_4ea21df7a3bd743fc99817dd661e79a4.jpg resize: (1080, 1632) 1360443294 -5.257278839848615 treat image : temp/1747894949_1902471_1360443265_4b37edcfa71b55ba29fb5fc1ff8c4ce7.jpg resize: (1080, 1632) 1360443265 -4.993399076424902 treat image : temp/1747894949_1902471_1360443057_0adeaf5656c0019b220e6b0206f6222b.jpg resize: (1080, 1632) 1360443057 -2.160546332031025 treat image : temp/1747894949_1902471_1360443043_2c70d3a1028643fa24cd558c5501c21d.jpg resize: (1080, 1632) 1360443043 -2.0357047255200262 treat image : temp/1747894949_1902471_1360443030_c2d49fb327270c51d7867c6c02b435c8.jpg resize: (1080, 1632) 1360443030 -4.0557249294283135 treat image : temp/1747894949_1902471_1360443008_38275e28f0f8ddc0fba3aef6a3945153.jpg resize: (1080, 1632) 1360443008 -2.7683845533191804 treat image : temp/1747894949_1902471_1360442711_42d8a643b8a7e416ed4e5af37464c8a4.jpg resize: (1080, 1632) 1360442711 -1.4400935813363356 treat image : temp/1747894949_1902471_1360442285_5cf0ea961ae134d425940af78be16408.jpg resize: (1080, 1632) 1360442285 -5.59261389549687 treat image : temp/1747894949_1902471_1360442229_04c9ff8e2191bce86619ef29dd07e65e.jpg resize: (1080, 1632) 1360442229 -2.5456766576307914 treat image : temp/1747894949_1902471_1360441997_1e0b34bdc9dea72994852854a4119e1f.jpg resize: (1080, 1632) 1360441997 -6.413136744299007 treat image : temp/1747894949_1902471_1360441961_7a9e0efa39c21bb8b40ba7dd9cbed666.jpg resize: (1080, 1632) 1360441961 -6.188707027047796 treat image : temp/1747894949_1902471_1360441931_fca7ba36a7a9b838036e9fc3230b708a.jpg resize: (1080, 1632) 1360441931 -6.04389854024796 treat image : temp/1747894949_1902471_1360441896_3d4d33f3d326ec2bef4a1397fc6aa3ee.jpg resize: (1080, 1632) 1360441896 -5.361156428433423 treat image : temp/1747894949_1902471_1360441863_dcc2689d1701c8dc107861ea40590dcf.jpg resize: (1080, 1632) 1360441863 -3.354788827499228 treat image : temp/1747894949_1902471_1360441768_7f86f6fca961ced3b06d706ffbc8b84a.jpg resize: (1080, 1632) 1360441768 -5.789719734803121 treat image : temp/1747894949_1902471_1360441765_03c0d0c66d421daf4e817c1e3f866666.jpg resize: (1080, 1632) 1360441765 -5.90617741212342 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.014563322067260742 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.07373666763305664 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.07994318008422852 save missing photos in datou_result : time spend for datou_step_exec : 19.225318670272827 time spend to save output : 0.22990775108337402 total time spend for step 1 : 19.4552264213562 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.96user 7.12system 0:26.02elapsed 84%CPU (0avgtext+0avgdata 137708maxresident)k 18064inputs+9224outputs (128major+256792minor)pagefaults 0swaps