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 : 715992 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 : 2740>100 please execute split_portfolio.py -i 20315060 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2560927'] with mtr_portfolio_ids : ['20315060'] and first list_photo_ids : [] new path : /proc/715992/ 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.4407074451446533 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 Feb 7 19:12:32 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/1738951950_715992_1335579020_e2898b8b6c741289fc109d18c47b379b.jpg resize: (1080, 1632) 1335579020 -3.6671095169218852 treat image : temp/1738951950_715992_1335579018_5f2b9c32a962ec658dd0e45bd3e1de87.jpg resize: (1080, 1632) 1335579018 -4.878524271047213 treat image : temp/1738951950_715992_1335579016_b901eb5f196ddc180d0133d30927183e.jpg resize: (1080, 1632) 1335579016 -5.653164224211872 treat image : temp/1738951950_715992_1335578956_37918b518462ac30ebaaa7cb60d8534d.jpg resize: (1080, 1632) 1335578956 -5.892949951847065 treat image : temp/1738951950_715992_1335578953_a8fd9a1e3dafa2c43d0eba733be4a53b.jpg resize: (1080, 1632) 1335578953 -5.54783980924582 treat image : temp/1738951950_715992_1335578921_578c60122fe2ebd643a0cec8e9934249.jpg resize: (1080, 1632) 1335578921 -5.962742375028429 treat image : temp/1738951950_715992_1335578919_e4c4592595d17f20e5c46ec6a2d85b4b.jpg resize: (1080, 1632) 1335578919 -6.1310792718327445 treat image : temp/1738951950_715992_1335578918_c2b6d1c06eea789e42a40b143344adef.jpg resize: (1080, 1632) 1335578918 -5.864239700839244 treat image : temp/1738951950_715992_1335578917_76a49b93c8df4bec502724d346cf976b.jpg resize: (1080, 1632) 1335578917 -2.5252141003624464 treat image : temp/1738951950_715992_1335578885_93365a3a894a64f5556be44fb71132f9.jpg resize: (1080, 1632) 1335578885 -5.752818550947156 treat image : temp/1738951950_715992_1335578882_cb27f8cb26d5a52cb5344d574fc11494.jpg resize: (1080, 1632) 1335578882 -4.598672987960345 treat image : temp/1738951950_715992_1335578879_2feee6f3a26cdf135d120b86886a5c59.jpg resize: (1080, 1632) 1335578879 -6.488391596927486 treat image : temp/1738951950_715992_1335578874_b82d3eacac3c2f258edf9f725d2468df.jpg resize: (1080, 1632) 1335578874 -5.856001880846572 treat image : temp/1738951950_715992_1335578868_cea8397652825de97687ccbec75f7cdc.jpg resize: (1080, 1632) 1335578868 -6.353471443853855 treat image : temp/1738951950_715992_1335578861_22dbf8b9ac3f817a35b9f9bb4df43479.jpg resize: (1080, 1632) 1335578861 -6.247461662834076 treat image : temp/1738951950_715992_1335578834_3e3dcc750d300ff6bafe4fc4d1ce28af.jpg resize: (1080, 1632) 1335578834 -6.757322623682962 treat image : temp/1738951950_715992_1335578818_8ecfa227ae0727e9a342711518919771.jpg resize: (1080, 1632) 1335578818 -6.3138552337696945 treat image : temp/1738951950_715992_1335578816_9880809173e6d8d543af1e2c8d8267c5.jpg resize: (1080, 1632) 1335578816 -6.019772496734846 treat image : temp/1738951950_715992_1335578569_4a7522d01ca19d1503d801e95c89bfd9.jpg resize: (1080, 1632) 1335578569 -4.616139469738898 treat image : temp/1738951950_715992_1335578565_bdb971c60fda9e6511a3fea946a0e987.jpg resize: (1080, 1632) 1335578565 -6.227244687183946 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.014224052429199219 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.018154144287109375 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.02015209197998047 save missing photos in datou_result : time spend for datou_step_exec : 15.767462968826294 time spend to save output : 0.057897090911865234 total time spend for step 1 : 15.82536005973816 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.01user 3.46system 0:22.73elapsed 81%CPU (0avgtext+0avgdata 139548maxresident)k 144inputs+11560outputs (8major+159393minor)pagefaults 0swaps