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 : 3486687 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 : 510>100 please execute split_portfolio.py -i 21570233 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2678697'] with mtr_portfolio_ids : ['21570233'] and first list_photo_ids : [] new path : /proc/3486687/ 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.182856798171997 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 12:37:28 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/1742557046_3486687_1345975706_dba0cb60ba166c6d3a188b63e58f5ad9.jpg resize: (1080, 1632) 1345975706 -2.6697707146152436 treat image : temp/1742557046_3486687_1345975702_2a4f833eb3e5d40ae0587e12daf580e6.jpg resize: (1080, 1632) 1345975702 -2.6697707146152436 treat image : temp/1742557046_3486687_1345975701_e6d1102e90bcab26ccde280ea9726162.jpg resize: (1080, 1632) 1345975701 -2.9157774770422997 treat image : temp/1742557046_3486687_1345975699_e67d8d9d195c2e9caf2d1c964c9e9738.jpg resize: (1080, 1632) 1345975699 -2.9157774770422997 treat image : temp/1742557046_3486687_1345975697_99b64ab645041865730f1218e69e0eb4.jpg resize: (1080, 1632) 1345975697 -3.814236920330717 treat image : temp/1742557046_3486687_1345975694_c76d754ab3f0f5ce9bead93632a8faaf.jpg resize: (1080, 1632) 1345975694 -3.814236920330717 treat image : temp/1742557046_3486687_1345975692_0ccf9c8714c63db43322812f36948847.jpg resize: (1080, 1632) 1345975692 -4.617636599928086 treat image : temp/1742557046_3486687_1345975689_6c89c54e1640f18e2f8493ba402fae1e.jpg resize: (1080, 1632) 1345975689 -4.617636599928086 treat image : temp/1742557046_3486687_1345975687_3d2c4c010925eeb1e96f9e08544abb02.jpg resize: (1080, 1632) 1345975687 -4.370754198280686 treat image : temp/1742557046_3486687_1345975684_45f36d5e99ad7553585a0bf69f048a28.jpg resize: (1080, 1632) 1345975684 -4.370754198280686 treat image : temp/1742557046_3486687_1345975681_9556bddda7caf6864a8ffa14b6efed51.jpg resize: (1080, 1632) 1345975681 -5.760073326388662 treat image : temp/1742557046_3486687_1345975680_21e3418bfb6ed42aacf809ccf9125c59.jpg resize: (1080, 1632) 1345975680 -5.760073326388662 treat image : temp/1742557046_3486687_1345975668_c4193f95ae0d6831d164f19f64551a30.jpg resize: (1080, 1632) 1345975668 -3.3456377496718344 treat image : temp/1742557046_3486687_1345975665_637a67b5ff3d71cf3ff99e4407e772c0.jpg resize: (1080, 1632) 1345975665 -5.488437149579846 treat image : temp/1742557046_3486687_1345975662_3a4ab588a3de2f26a4fd1fea914d2c0b.jpg resize: (1080, 1632) 1345975662 -2.128556411861755 treat image : temp/1742557046_3486687_1345975660_8d5e93cd9b6967a4cb0116c93eb9514e.jpg resize: (1080, 1632) 1345975660 -2.308086689750629 treat image : temp/1742557046_3486687_1345975657_5f684bbc86f7eb2596f0339d54d81b5f.jpg resize: (1080, 1632) 1345975657 -3.894972325799566 treat image : temp/1742557046_3486687_1345975653_79f45466db336abc9832d749ceb4419f.jpg resize: (1080, 1632) 1345975653 -4.368278755325002 treat image : temp/1742557046_3486687_1345975470_b3d93227a4fb6b73567ecf041372e0a0.jpg resize: (1080, 1632) 1345975470 -5.996547279423071 treat image : temp/1742557046_3486687_1345975464_c6cd623d79025943d50ae6f93e89373e.jpg resize: (1080, 1632) 1345975464 -5.53748076869649 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.013640165328979492 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.012921810150146484 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014913082122802734 save missing photos in datou_result : time spend for datou_step_exec : 14.515959739685059 time spend to save output : 0.04600882530212402 total time spend for step 1 : 14.561968564987183 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 13.87user 3.75system 0:18.76elapsed 93%CPU (0avgtext+0avgdata 140564maxresident)k 640inputs+9384outputs (9major+264746minor)pagefaults 0swaps