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 : 1319056 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 : 875>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/1319056/ 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.255249500274658 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 08:32: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/1747031546_1319056_1357605797_bcdcc8466ad2ac38f169ed754cbde22d.jpg resize: (1080, 1632) 1357605797 -1.9601690824882079 treat image : temp/1747031546_1319056_1357605794_d56d27e067d6adca022c2eededcd3a40.jpg resize: (1080, 1632) 1357605794 -3.129031103710007 treat image : temp/1747031546_1319056_1357605752_e4fdc7ad353cc7d876b9677141966d74.jpg resize: (1080, 1632) 1357605752 -5.7194054199302435 treat image : temp/1747031546_1319056_1357605751_50e2da62e910acb289a4ad927c511fce.jpg resize: (1080, 1632) 1357605751 -4.782370058109942 treat image : temp/1747031546_1319056_1357605749_8f472a29db206c411f22fe8ec52de00e.jpg resize: (1080, 1632) 1357605749 -6.056870935398617 treat image : temp/1747031546_1319056_1357605747_b7105952d72b620c26f4d52d35b8139d.jpg resize: (1080, 1632) 1357605747 -6.086292708172537 treat image : temp/1747031546_1319056_1357605745_d57bb009b62b239037f644069a963677.jpg resize: (1080, 1632) 1357605745 -2.4034514466013355 treat image : temp/1747031546_1319056_1357605715_5d1fccaadd0f154087b1137f7c96ad35.jpg resize: (1080, 1632) 1357605715 -5.715381273043928 treat image : temp/1747031546_1319056_1357605711_dff809c8d7515e6dc9901d44ef861cd7.jpg resize: (1080, 1632) 1357605711 -5.933918036826048 treat image : temp/1747031546_1319056_1357605706_08960a5b151e13464b0656775b6d1a56.jpg resize: (1080, 1632) 1357605706 -6.216077048893124 treat image : temp/1747031546_1319056_1357605705_91ac47fc2766f11d41fac3fc11015453.jpg resize: (1080, 1632) 1357605705 -6.158779807512321 treat image : temp/1747031546_1319056_1357605698_7688798bc87dbb399542c83d3f2e872e.jpg resize: (1080, 1632) 1357605698 -5.721020547037448 treat image : temp/1747031546_1319056_1357605618_a4bbb7a13c4f667247a8c16234540ccc.jpg resize: (1080, 1632) 1357605618 -5.918170928751195 treat image : temp/1747031546_1319056_1357605297_4c968ea13a40dbcb7177959f53468a7d.jpg resize: (1080, 1632) 1357605297 -5.47347404786929 treat image : temp/1747031546_1319056_1357605293_6b6464a87c595462e600759d10563a71.jpg resize: (1080, 1632) 1357605293 -5.524926864211241 treat image : temp/1747031546_1319056_1357605240_ff273442ece9d80efac8e7f7d9ed69e7.jpg resize: (1080, 1632) 1357605240 -5.341150275029191 treat image : temp/1747031546_1319056_1357605216_b93be9e74fbab08c56c98613c32c9e8f.jpg resize: (1080, 1632) 1357605216 -3.4412279309251916 treat image : temp/1747031546_1319056_1357605207_4047ee56f5575b72f6da586215ca9192.jpg resize: (1080, 1632) 1357605207 -5.655414925982264 treat image : temp/1747031546_1319056_1357605184_ea54d4d4d95f8cd358923693ddaa999f.jpg resize: (1080, 1632) 1357605184 -5.484721447867459 treat image : temp/1747031546_1319056_1357605179_67c737d5323e74f2b9d258922cfc3a02.jpg resize: (1080, 1632) 1357605179 -5.360160884164352 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.012572288513183594 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.15598368644714355 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.1969754695892334 save missing photos in datou_result : time spend for datou_step_exec : 16.415279865264893 time spend to save output : 0.3709232807159424 total time spend for step 1 : 16.786203145980835 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.07user 3.55system 0:20.36elapsed 91%CPU (0avgtext+0avgdata 140412maxresident)k 56inputs+10368outputs (0major+259670minor)pagefaults 0swaps