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 : 2015316 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 : 1534>100 please execute split_portfolio.py -i 22870033 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2818969'] with mtr_portfolio_ids : ['22870033'] and first list_photo_ids : [] new path : /proc/2015316/ 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.274343729019165 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 Mon May 12 11:52: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/1747043548_2015316_1357621271_c4c383c5657934d5256c6ad46c502d61.jpg resize: (1080, 1632) 1357621271 -1.6741194728851154 treat image : temp/1747043548_2015316_1357621252_8501661d60a5679384ab456c969116d8.jpg resize: (1080, 1632) 1357621252 -2.438778423656677 treat image : temp/1747043548_2015316_1357621231_32135e7915d04a575a5c3ec2389b0ff2.jpg resize: (1080, 1632) 1357621231 -4.928700684514845 treat image : temp/1747043548_2015316_1357621111_bc61306843b248f0135024ae65f81973.jpg resize: (1080, 1632) 1357621111 -4.246529583241953 treat image : temp/1747043548_2015316_1357621109_5a2276e510824997787c80716c8f042b.jpg resize: (1080, 1632) 1357621109 -5.461154952818481 treat image : temp/1747043548_2015316_1357621092_e853efade4931ebe9011aff766cf8a95.jpg resize: (1080, 1632) 1357621092 -5.550166167733664 treat image : temp/1747043548_2015316_1357621088_0f5a3928c08c373496f4345629325607.jpg resize: (1080, 1632) 1357621088 -4.5980462486469085 treat image : temp/1747043548_2015316_1357621058_9a97c346ddd4589c00b2eaabc05c7104.jpg resize: (1080, 1632) 1357621058 -6.088649333914965 treat image : temp/1747043548_2015316_1357621054_a0595e667bfc17d24d005d08404a3d55.jpg resize: (1080, 1632) 1357621054 -5.694551848551109 treat image : temp/1747043548_2015316_1357621049_491038285ca0ff750604bf70833d645c.jpg resize: (1080, 1632) 1357621049 -3.9723069926625896 treat image : temp/1747043548_2015316_1357621046_74c8a437f7ba71845475479a8b44c6f5.jpg resize: (1080, 1632) 1357621046 -4.856759042066095 treat image : temp/1747043548_2015316_1357621042_33c2a81e022895059f82355723905ec1.jpg resize: (1080, 1632) 1357621042 -6.182132609186209 treat image : temp/1747043548_2015316_1357621037_3b614a29e0661e43fe49dc9690c7a7df.jpg resize: (1080, 1632) 1357621037 -6.0988294190569645 treat image : temp/1747043548_2015316_1357621007_fd4ca2a4e126c611bd4575f2174ef656.jpg resize: (1080, 1632) 1357621007 -1.5302979254714626 treat image : temp/1747043548_2015316_1357621002_ef0ca5cd7d49438d75f14a4d4b537eb4.jpg resize: (1080, 1632) 1357621002 -1.8670557282073608 treat image : temp/1747043548_2015316_1357621000_51677ba28263784921669013e02e4db6.jpg resize: (1080, 1632) 1357621000 -4.69475586869056 treat image : temp/1747043548_2015316_1357620999_ffdc21515f3634d2bbe4ef109dbe51fe.jpg resize: (1080, 1632) 1357620999 -6.330438529187549 treat image : temp/1747043548_2015316_1357620997_d3ad5ad679b9464fcfbd18af34477ccc.jpg resize: (1080, 1632) 1357620997 -6.437005838420085 treat image : temp/1747043548_2015316_1357620964_454919b7ed259283191019f9f0c6a310.jpg resize: (1080, 1632) 1357620964 -6.131127702724263 treat image : temp/1747043548_2015316_1357620961_3a19e7a883ba5684bca708e0b885970e.jpg resize: (1080, 1632) 1357620961 -6.279421186629016 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.016211509704589844 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.012903928756713867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014734029769897461 save missing photos in datou_result : time spend for datou_step_exec : 16.42650294303894 time spend to save output : 0.050092458724975586 total time spend for step 1 : 16.476595401763916 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.20user 3.71system 0:21.42elapsed 88%CPU (0avgtext+0avgdata 139568maxresident)k 2816inputs+10424outputs (15major+256552minor)pagefaults 0swaps