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 : 1092417 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 : 1320>100 please execute split_portfolio.py -i 21608215 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2682218'] with mtr_portfolio_ids : ['21608215'] and first list_photo_ids : [] new path : /proc/1092417/ 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.6108386516571045 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 Sat Mar 22 13:42: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/1742647347_1092417_1346420890_eeff0bea1ac1ae6107c209ac9132e8dd.jpg resize: (1080, 1632) 1346420890 -4.3416333601969255 treat image : temp/1742647347_1092417_1346420839_9444e46059a6b8ead9c9e13edf684e71.jpg resize: (1080, 1632) 1346420839 -6.585126665444672 treat image : temp/1742647347_1092417_1346420784_16ba3177f161ed315128729b16eb99e7.jpg resize: (1080, 1632) 1346420784 -6.158445080731868 treat image : temp/1742647347_1092417_1346420732_653cd40f7482da43d26bb05c45709d34.jpg resize: (1080, 1632) 1346420732 -6.7201634021972145 treat image : temp/1742647347_1092417_1346420695_ddaaf2c9963060307a681dd71f1e8949.jpg resize: (1080, 1632) 1346420695 -6.542784801731147 treat image : temp/1742647347_1092417_1346420670_6b35b89ccf02068fa73c401dd5f41bd6.jpg resize: (1080, 1632) 1346420670 -6.2240527398376555 treat image : temp/1742647347_1092417_1346420323_bd0bb91122b04c293c9b84d663ba01f9.jpg resize: (1080, 1632) 1346420323 -6.004475822905185 treat image : temp/1742647347_1092417_1346420272_54e2b98c7e8a0e8782097f09cd02a692.jpg resize: (1080, 1632) 1346420272 -2.6261268991465574 treat image : temp/1742647347_1092417_1346420220_07a364fa78f2c2a4b1fae015fde99058.jpg resize: (1080, 1632) 1346420220 -3.279083363125781 treat image : temp/1742647347_1092417_1346420159_8e10f152cf6a24f9975e18a1c689d1f1.jpg resize: (1080, 1632) 1346420159 -2.178916491430313 treat image : temp/1742647347_1092417_1346419979_59680f24e24b8b19cb69cd871ca87e1b.jpg resize: (1080, 1632) 1346419979 -5.566547723610411 treat image : temp/1742647347_1092417_1346419924_649ca67b6a10b9ea7169560b7570d0b0.jpg resize: (1080, 1632) 1346419924 -6.701733228016246 treat image : temp/1742647347_1092417_1346419877_17a34f09f698a4576d50c0c808d76f1f.jpg resize: (1080, 1632) 1346419877 -6.038882206648606 treat image : temp/1742647347_1092417_1346419824_1e6ae55e0eac69e9afe36dcaff7ad650.jpg resize: (1080, 1632) 1346419824 -5.14426778280131 treat image : temp/1742647347_1092417_1346419773_3a11d6d5aab0bef87e1ac8582c9386e2.jpg resize: (1080, 1632) 1346419773 -6.14804150329217 treat image : temp/1742647347_1092417_1346419717_f63ddaf3cc540fb470cf8acdbb488ea5.jpg resize: (1080, 1632) 1346419717 -6.297990097946851 treat image : temp/1742647347_1092417_1346409759_0a53f2448ddd325454ed6fe28793d972.jpg resize: (1080, 1632) 1346409759 -1.890802488931006 treat image : temp/1742647347_1092417_1346409720_9419038738f86648af06e31083cca87a.jpg resize: (1080, 1632) 1346409720 -5.843016446855177 treat image : temp/1742647347_1092417_1346409567_0263b75d06182a3fa3d2134a83f0a77a.jpg resize: (1080, 1632) 1346409567 -4.944814075711981 treat image : temp/1742647347_1092417_1346409541_12335f890f5d21ef994987cf09e0c046.jpg resize: (1080, 1632) 1346409541 -5.327058119518481 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.012692928314208984 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.011927366256713867 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.014214754104614258 save missing photos in datou_result : time spend for datou_step_exec : 16.90462350845337 time spend to save output : 0.04413747787475586 total time spend for step 1 : 16.948760986328125 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.48user 3.86system 0:22.92elapsed 84%CPU (0avgtext+0avgdata 141624maxresident)k 144inputs+11360outputs (23major+255596minor)pagefaults 0swaps