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 : 1779944 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 : 3906>100 please execute split_portfolio.py -i 21608215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2682218'] with mtr_portfolio_ids : ['21608215'] and first list_photo_ids : [] new path : /proc/1779944/ 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 : 1.9865014553070068 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 17:42: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/1742661749_1779944_1346463656_4a53d670d3bfe88da2d4a61f414fde91.jpg resize: (1080, 1632) 1346463656 -6.357227912596628 treat image : temp/1742661749_1779944_1346463648_3eb712019cf97824648ab912f50b8d97.jpg resize: (1080, 1632) 1346463648 -5.72705740380232 treat image : temp/1742661749_1779944_1346463645_ae7279dd55f599d082ae427d936a8c94.jpg resize: (1080, 1632) 1346463645 -5.625249487700063 treat image : temp/1742661749_1779944_1346463619_6a0d7540cc675275e470c4e3bf9bf65a.jpg resize: (1080, 1632) 1346463619 -4.141284806364889 treat image : temp/1742661749_1779944_1346463596_4da1aa0211ecb5ad2c15d6a453d6e2af.jpg resize: (1080, 1632) 1346463596 -5.742443565524611 treat image : temp/1742661749_1779944_1346463593_99edb9d2764f0160bf4f3c0694c4394c.jpg resize: (1080, 1632) 1346463593 -2.6183476066863585 treat image : temp/1742661749_1779944_1346462886_0bc4e29e70ad88a0938bf5bf81e5f6cf.jpg resize: (1080, 1632) 1346462886 -5.132058087379532 treat image : temp/1742661749_1779944_1346462883_6a015eb4cde1d1ca6b13a4a74f34221f.jpg resize: (1080, 1632) 1346462883 -5.132058087379532 treat image : temp/1742661749_1779944_1346462881_b2c6dfa6220982abe250db746e495b1a.jpg resize: (1080, 1632) 1346462881 -2.588324968109583 treat image : temp/1742661749_1779944_1346462873_f7c04fe7debf3a9f6fbe5ce7b0610679.jpg resize: (1080, 1632) 1346462873 -2.588324968109583 treat image : temp/1742661749_1779944_1346462862_929dff34fc82ff805fa62f219924800a.jpg resize: (1080, 1632) 1346462862 -2.9221043952930406 treat image : temp/1742661749_1779944_1346462844_1c07a43f20cbcdd0668a122f6e874c18.jpg resize: (1080, 1632) 1346462844 -2.9221043952930406 treat image : temp/1742661749_1779944_1346462834_1724a57edf1b3477b701fa9701c933c2.jpg resize: (1080, 1632) 1346462834 -3.713498915480955 treat image : temp/1742661749_1779944_1346462816_542db47f859a88eded59640c4380f967.jpg resize: (1080, 1632) 1346462816 -3.713498915480955 treat image : temp/1742661749_1779944_1346462804_44c39d1ad794ce06132197320fbe8bff.jpg resize: (1080, 1632) 1346462804 -6.535359998394874 treat image : temp/1742661749_1779944_1346462789_958cd613b5b8450a8d746aa6ab1239d6.jpg resize: (1080, 1632) 1346462789 -6.535359998394874 treat image : temp/1742661749_1779944_1346462699_603b09c1fe0044e2b910f7c6d1746946.jpg resize: (1080, 1632) 1346462699 -6.322382788442078 treat image : temp/1742661749_1779944_1346462682_2440f1f7393f24482b0bd82476a0d681.jpg resize: (1080, 1632) 1346462682 -6.2419115255576 treat image : temp/1742661749_1779944_1346462670_83bfdd3315f88b292d569b0dc385f051.jpg resize: (1080, 1632) 1346462670 -6.080725042724321 treat image : temp/1742661749_1779944_1346462669_61b934a06da59a2b2ebed6d6ce13a5a8.jpg resize: (1080, 1632) 1346462669 -5.3001512002508715 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.012437105178833008 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.01249837875366211 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.01692509651184082 save missing photos in datou_result : time spend for datou_step_exec : 13.972856998443604 time spend to save output : 0.04707002639770508 total time spend for step 1 : 14.019927024841309 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.62user 2.65system 0:19.94elapsed 81%CPU (0avgtext+0avgdata 138556maxresident)k 152inputs+10400outputs (18major+255455minor)pagefaults 0swaps