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 : 3274214 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 : 3208>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/3274214/ 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.9854676723480225 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 20:22:34 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/1743618151_3274214_1349592092_89f5fbb1b770b1908e9c4e197d2f312b.jpg resize: (1080, 1632) 1349592092 -6.1224304152172735 treat image : temp/1743618151_3274214_1349592089_4b1317388c7e5e2227c8434fffde8da6.jpg resize: (1080, 1632) 1349592089 -6.090983448447067 treat image : temp/1743618151_3274214_1349592085_626a1766dbf389c2f65051252be7bd29.jpg resize: (1080, 1632) 1349592085 -6.1335555427819815 treat image : temp/1743618151_3274214_1349592083_b4d1b5d147346aea02c47ffc3196dc00.jpg resize: (1080, 1632) 1349592083 -6.130836067288904 treat image : temp/1743618151_3274214_1349592079_516f0a88bb0a5212a7ac5b969ab7d528.jpg resize: (1080, 1632) 1349592079 -6.018522982291618 treat image : temp/1743618151_3274214_1349481296_66c026c516c47942611103a587c97775.jpg resize: (1080, 1632) 1349481296 -3.338889665799506 treat image : temp/1743618151_3274214_1349481293_fe7c8e686c35d18459b5c62750292015.jpg resize: (1080, 1632) 1349481293 -4.1742161418668475 treat image : temp/1743618151_3274214_1349481290_66a17d72cbbfee5ba03b2dd35695e63b.jpg resize: (1080, 1632) 1349481290 -5.908906038513816 treat image : temp/1743618151_3274214_1349481257_32891ca055c2ece6c0a7eec84124d8aa.jpg resize: (1080, 1632) 1349481257 -6.152285798919841 treat image : temp/1743618151_3274214_1349481255_1fa272a78e6807ad3ada67e9322722d9.jpg resize: (1080, 1632) 1349481255 -5.7838544243809045 treat image : temp/1743618151_3274214_1349481252_f487e2413ad0c3dedf36ada838add43d.jpg resize: (1080, 1632) 1349481252 -4.410089424893397 treat image : temp/1743618151_3274214_1349481248_0c8e8286e10b55e91c69ef320bc82b1d.jpg resize: (1080, 1632) 1349481248 -0.8509434677508598 treat image : temp/1743618151_3274214_1349481136_5395391a2468bc87925b3149a6022114.jpg resize: (1080, 1632) 1349481136 -1.4558924065406154 treat image : temp/1743618151_3274214_1349481133_58893e89fd9024e0e503bd4ceba5adf3.jpg resize: (1080, 1632) 1349481133 -1.952437498677336 treat image : temp/1743618151_3274214_1349481122_0705697e1557db4b7fd85fb22a6da3fc.jpg resize: (1080, 1632) 1349481122 -3.060050946156244 treat image : temp/1743618151_3274214_1349481117_f74c4affd6febdc5f8b0c0b4074db4ad.jpg resize: (1080, 1632) 1349481117 -5.854479841716429 treat image : temp/1743618151_3274214_1349481115_c9fd007baa84505e631de13c24d89630.jpg resize: (1080, 1632) 1349481115 -5.758161963272431 treat image : temp/1743618151_3274214_1349481108_f7ef1190ed7f12367606fc048fc178d7.jpg resize: (1080, 1632) 1349481108 -5.912865697232422 treat image : temp/1743618151_3274214_1349480960_0de072d8e761686a112ad0ced1f9d52d.jpg resize: (1080, 1632) 1349480960 -5.27231028581266 treat image : temp/1743618151_3274214_1349480957_7ff8d1d9ba53287408d1775472639a3f.jpg resize: (1080, 1632) 1349480957 -4.622494240121499 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.1417710781097412 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.01482534408569336 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.0162353515625 save missing photos in datou_result : time spend for datou_step_exec : 16.339930534362793 time spend to save output : 0.17736029624938965 total time spend for step 1 : 16.517290830612183 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.76user 4.05system 0:24.96elapsed 75%CPU (0avgtext+0avgdata 140232maxresident)k 88inputs+10520outputs (4major+258031minor)pagefaults 0swaps