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 : 2015335 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 : 3064>100 please execute split_portfolio.py -i 21478223 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2674161'] with mtr_portfolio_ids : ['21478223'] and first list_photo_ids : [] new path : /proc/2015335/ 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.211812973022461 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 Fri Mar 21 22:47: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/1742593647_2015335_1346260863_3c44f5fe6c1182ba74a17b073f38caf5.jpg resize: (1080, 1632) 1346260863 -6.156343835382097 treat image : temp/1742593647_2015335_1346260852_6db4151f516e2a73b8bed6e52cd1cb2e.jpg resize: (1080, 1632) 1346260852 -6.156343835382097 treat image : temp/1742593647_2015335_1346260828_13c4fb222b20bff87c72e4a3f06dc482.jpg resize: (1080, 1632) 1346260828 -5.745840263305175 treat image : temp/1742593647_2015335_1346260805_c19d93429c039432c28d7c34260c8318.jpg resize: (1080, 1632) 1346260805 -5.745840263305175 treat image : temp/1742593647_2015335_1346260778_d4b9a5739c530005867e69e46fb1347c.jpg resize: (1080, 1632) 1346260778 -6.309506913755189 treat image : temp/1742593647_2015335_1346260751_a2535e9f5e54db1372ba05204e86df9b.jpg resize: (1080, 1632) 1346260751 -6.309506913755189 treat image : temp/1742593647_2015335_1346260727_dd5515f543edb7c04337cddda65b3960.jpg resize: (1080, 1632) 1346260727 -5.316231842834632 treat image : temp/1742593647_2015335_1346260699_3a9dd8accaf47c76d27411be3e7ff24e.jpg resize: (1080, 1632) 1346260699 -5.316231842834632 treat image : temp/1742593647_2015335_1346260678_f7e67a62b675c4268e0497d15ed28a6e.jpg resize: (1080, 1632) 1346260678 -6.124902195747836 treat image : temp/1742593647_2015335_1346260656_fed79c0338fa927357a4a79aa0b1842f.jpg resize: (1080, 1632) 1346260656 -6.124902195747836 treat image : temp/1742593647_2015335_1346260632_c38375502be2b5e14e64d2f3d14acd3a.jpg resize: (1080, 1632) 1346260632 -6.285713097208968 treat image : temp/1742593647_2015335_1346260607_2feda54ff179775a23b28ebd84f1dfab.jpg resize: (1080, 1632) 1346260607 -6.285713097208968 treat image : temp/1742593647_2015335_1346260485_38becf1737c974ce73913ba6fb522872.jpg resize: (1080, 1632) 1346260485 -4.59918792620142 treat image : temp/1742593647_2015335_1346260447_f2687c3bd71d1b42d0ec7a728f29204d.jpg resize: (1080, 1632) 1346260447 -2.0840467113568697 treat image : temp/1742593647_2015335_1346260377_d6d81a293b60f83315eba2eed5224c47.jpg resize: (1080, 1632) 1346260377 -3.3510879333755956 treat image : temp/1742593647_2015335_1346260274_48aab968a3c8a316055ca0d84b782159.jpg resize: (1080, 1632) 1346260274 -2.5595408322247186 treat image : temp/1742593647_2015335_1346260231_1ebc1e2a4f127b6666b5c5ba931fbb4f.jpg resize: (1080, 1632) 1346260231 -5.8240930918889005 treat image : temp/1742593647_2015335_1346260153_f675875219ee0756a83beadb953382b0.jpg resize: (1080, 1632) 1346260153 -5.995813473837706 treat image : temp/1742593647_2015335_1346260075_439a54b514bcb85cbf1b95334d6cd42c.jpg resize: (1080, 1632) 1346260075 -5.9350833258378595 treat image : temp/1742593647_2015335_1346260016_27d4e7993b8e373700ce78971bc27b7c.jpg resize: (1080, 1632) 1346260016 -5.70100330734063 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.051781415939331055 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 : 5.5849902629852295 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016805171966552734 save missing photos in datou_result : time spend for datou_step_exec : 15.987918853759766 time spend to save output : 5.6582932472229 total time spend for step 1 : 21.646212100982666 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 14.47user 4.38system 0:26.18elapsed 72%CPU (0avgtext+0avgdata 140024maxresident)k 88inputs+11248outputs (19major+261154minor)pagefaults 0swaps