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 : 18005 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 : 3081>100 please execute split_portfolio.py -i 20278395 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2557277'] with mtr_portfolio_ids : ['20278395'] and first list_photo_ids : [] new path : /proc/18005/ 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.2466397285461426 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 Thu Feb 6 19: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/1738867948_18005_1335272587_63a2e6949d32674e9ef35a7adf8b2109.jpg resize: (1080, 1632) 1335272587 -5.775388124364798 treat image : temp/1738867948_18005_1335272584_b4969ea8201dd170ef6ae3f1655359c4.jpg resize: (1080, 1632) 1335272584 -5.940303283744142 treat image : temp/1738867948_18005_1335272581_38e672c2011f1fa6791cd4a064aadba3.jpg resize: (1080, 1632) 1335272581 -5.387506983800955 treat image : temp/1738867948_18005_1335272530_a5e5f4d1966799c33fe9dda4460d056a.jpg resize: (1080, 1632) 1335272530 -5.133685951942292 treat image : temp/1738867948_18005_1335272447_d8acb36849310e404629a46e1eba328f.jpg resize: (1080, 1632) 1335272447 -4.96665231624553 treat image : temp/1738867948_18005_1335272332_060cf2f9a97658b14ba477ec07024cb8.jpg resize: (1080, 1632) 1335272332 -6.4710945097610715 treat image : temp/1738867948_18005_1335272326_643f2cca8a500da5839f1de9d15e1e8d.jpg resize: (1080, 1632) 1335272326 -5.039402985737922 treat image : temp/1738867948_18005_1335272318_53f9d2cacbda397926a1a5dc25b51ce4.jpg resize: (1080, 1632) 1335272318 -6.486247027315217 treat image : temp/1738867948_18005_1335272314_c4fd9787122c78f5b7d91dcc9c1a3ce2.jpg resize: (1080, 1632) 1335272314 -6.505426603515107 treat image : temp/1738867948_18005_1335272286_297dd515384c5857d51f1e1e9239ac36.jpg resize: (1080, 1632) 1335272286 -5.285572710052171 treat image : temp/1738867948_18005_1335272282_969f71b38f251131f7b1da30a63dcec6.jpg resize: (1080, 1632) 1335272282 -6.2008982309082885 treat image : temp/1738867948_18005_1335272279_1f5189b1791a9be18bdfc6657d5ce737.jpg resize: (1080, 1632) 1335272279 -6.30582522981555 treat image : temp/1738867948_18005_1335272253_3db3bc5a8407c8656769e7a369cf793e.jpg resize: (1080, 1632) 1335272253 -6.025415137643573 treat image : temp/1738867948_18005_1335272221_d176b5b3daa3bff6e77e55670c2205c5.jpg resize: (1080, 1632) 1335272221 -3.779533150505365 treat image : temp/1738867948_18005_1335272218_69f1f6980900a182018e54a2c32371c9.jpg resize: (1080, 1632) 1335272218 -3.865422064633555 treat image : temp/1738867948_18005_1335272213_2fb11e9fd677404197572048b0563bf2.jpg resize: (1080, 1632) 1335272213 -5.169014014448534 treat image : temp/1738867948_18005_1335272209_ed41b1b193b1bc5516b4daaa6cad1ed3.jpg resize: (1080, 1632) 1335272209 -5.673267636072512 treat image : temp/1738867948_18005_1335272206_8c2ea274c7657a9969e6a7da32a6d778.jpg resize: (1080, 1632) 1335272206 -5.497993411932561 treat image : temp/1738867948_18005_1335272166_26c3d6369a5d3685b85a20e3b7407682.jpg resize: (1080, 1632) 1335272166 -6.194969376970242 treat image : temp/1738867948_18005_1335272152_78577e017f7f859a7346e11abfabd4e7.jpg resize: (1080, 1632) 1335272152 -2.7398803064717088 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.012714624404907227 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.011932611465454102 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014971494674682617 save missing photos in datou_result : time spend for datou_step_exec : 13.065253019332886 time spend to save output : 0.04406452178955078 total time spend for step 1 : 13.109317541122437 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.90user 1.84system 0:18.89elapsed 83%CPU (0avgtext+0avgdata 141988maxresident)k 40inputs+10880outputs (21major+120122minor)pagefaults 0swaps