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 : 3650693 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 : 2610>100 please execute split_portfolio.py -i 21602882 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2681004'] with mtr_portfolio_ids : ['21602882'] and first list_photo_ids : [] new path : /proc/3650693/ 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.9135491847991943 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 Sat Mar 22 04: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/1742615547_3650693_1346335101_67cbd9e34de89f80a4258b8096cccbbd.jpg resize: (1080, 1632) 1346335101 -6.286572778644832 treat image : temp/1742615547_3650693_1346335096_cf5aa1a11962859edf89a77e1c9a8582.jpg resize: (1080, 1632) 1346335096 -6.290343638459708 treat image : temp/1742615547_3650693_1346335093_4149882f9386e963f618c1a414d8f04d.jpg resize: (1080, 1632) 1346335093 -7.067433754466458 treat image : temp/1742615547_3650693_1346335088_a635c5dcfbd45638dde60b5ffe0ea55a.jpg resize: (1080, 1632) 1346335088 -3.965968304695576 treat image : temp/1742615547_3650693_1346335085_c26c44f954d6a514219866e2b18e5db1.jpg resize: (1080, 1632) 1346335085 -2.315923082429164 treat image : temp/1742615547_3650693_1346335081_8d6f48fe6383cb36a6748c17115f2496.jpg resize: (1080, 1632) 1346335081 -2.3066594904969557 treat image : temp/1742615547_3650693_1346335070_95663ad2a4dd56fbccb5ad079821ef10.jpg resize: (1080, 1632) 1346335070 -5.1808666283025335 treat image : temp/1742615547_3650693_1346335067_b3326e043e7985ae606f98d2fcaf191a.jpg resize: (1080, 1632) 1346335067 -5.849869975633327 treat image : temp/1742615547_3650693_1346335064_f3602651eab37169d052c8d7314bb21a.jpg resize: (1080, 1632) 1346335064 -6.636871740978739 treat image : temp/1742615547_3650693_1346335061_2f52c9ded284ad550ccbc5c36b111ed6.jpg resize: (1080, 1632) 1346335061 -6.101473074740521 treat image : temp/1742615547_3650693_1346335056_a5e3b6186306dee70ee4b1073100857a.jpg resize: (1080, 1632) 1346335056 -5.9346652689311705 treat image : temp/1742615547_3650693_1346335053_f6ccdb5ea8f9677f99d80443e5c0e5a4.jpg resize: (1080, 1632) 1346335053 -6.175099076480592 treat image : temp/1742615547_3650693_1346334946_946a8d281c0b498ebdc71b75b0f4bd5b.jpg resize: (1080, 1632) 1346334946 -6.7386052996033365 treat image : temp/1742615547_3650693_1346334943_595db34f1407a0a327b7fc4fd6257185.jpg resize: (1080, 1632) 1346334943 -4.5080147382215205 treat image : temp/1742615547_3650693_1346334940_ab54d4137ea3de709b04bf0b5fd993a9.jpg resize: (1080, 1632) 1346334940 -2.4246976641514584 treat image : temp/1742615547_3650693_1346334939_fe7a3895de2f5ab35c3843965ae0ee11.jpg resize: (1080, 1632) 1346334939 -3.3321910116843143 treat image : temp/1742615547_3650693_1346334929_103c8e1de5fb0ed3a8ef2be01e5fdabf.jpg resize: (1080, 1632) 1346334929 -5.570238831577884 treat image : temp/1742615547_3650693_1346334924_bc06d461a152d84bf0adc42dd429168e.jpg resize: (1080, 1632) 1346334924 -6.433666070067604 treat image : temp/1742615547_3650693_1346334919_cb42fb6054b7461c708171f84f43a011.jpg resize: (1080, 1632) 1346334919 -6.448568407372668 treat image : temp/1742615547_3650693_1346334915_0c1a16e1ca272c2cc1b9d03ca2b85863.jpg resize: (1080, 1632) 1346334915 -6.741598843324565 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.012672901153564453 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.399996280670166 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.5488245487213135 save missing photos in datou_result : time spend for datou_step_exec : 15.028496980667114 time spend to save output : 0.9665911197662354 total time spend for step 1 : 15.99508810043335 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.28user 3.15system 0:21.42elapsed 81%CPU (0avgtext+0avgdata 137724maxresident)k 128inputs+11536outputs (5major+207115minor)pagefaults 0swaps