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 : 1995963 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 : 3247>100 please execute split_portfolio.py -i 22109363 -l 100 size over we load limit photo not treated list_input_json: {} Current got : datou_id : 4871, datou_cur_ids : ['2728262'] with mtr_portfolio_ids : ['22109363'] and first list_photo_ids : [] new path : /proc/1995963/ 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.75964617729187 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 Apr 17 19:22:33 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/1744910550_1995963_1350795437_ffdfc75c976bb6d92cdec2578e28333f.jpg resize: (1080, 1632) 1350795437 -1.5090063286163522 treat image : temp/1744910550_1995963_1350795406_5fc1eb1955a658ad93f6b2ae5108b28f.jpg resize: (1080, 1632) 1350795406 -3.101763897748298 treat image : temp/1744910550_1995963_1350795388_5e74d34372b23982587d77842955ae86.jpg resize: (1080, 1632) 1350795388 -5.074050414194786 treat image : temp/1744910550_1995963_1350795383_4dfa63652333bf7604e33a8bbfc59eba.jpg resize: (1080, 1632) 1350795383 -4.52258432245031 treat image : temp/1744910550_1995963_1350795303_9cf3c02e8579c673b3ff6b4e72ed5eda.jpg resize: (1080, 1632) 1350795303 -4.964438565013646 treat image : temp/1744910550_1995963_1350794890_689cb35bf91165bacb7c2dd0472ed5e2.jpg resize: (1080, 1632) 1350794890 -5.533874681012882 treat image : temp/1744910550_1995963_1350794855_e24c75588fd2d4875a557003a1ab2b3c.jpg resize: (1080, 1632) 1350794855 -5.864502692041207 treat image : temp/1744910550_1995963_1350794836_6b3b8dde3a83a2b0c322cc1f690ebfc3.jpg resize: (1080, 1632) 1350794836 -5.905588363753127 treat image : temp/1744910550_1995963_1350794806_e15077d2de74e35aae7c24b46f4f25ce.jpg resize: (1080, 1632) 1350794806 -6.021990662371017 treat image : temp/1744910550_1995963_1350794770_690a5377efd28c3434f4fe235b27c45f.jpg resize: (1080, 1632) 1350794770 -6.027870698242954 treat image : temp/1744910550_1995963_1350760505_ecd7db4a2f4158185476bc9c12ddd60b.jpg resize: (1080, 1632) 1350760505 -5.494190925148986 treat image : temp/1744910550_1995963_1350760502_d1a26f32506a92ec31218c99572c4648.jpg resize: (1080, 1632) 1350760502 -1.5322847797341546 treat image : temp/1744910550_1995963_1350760472_9fdac9af4d2f1410f9451d0fc7b04f31.jpg resize: (1080, 1632) 1350760472 -6.147831175940156 treat image : temp/1744910550_1995963_1350760469_faf5b9768610f77b5a06494d29191950.jpg resize: (1080, 1632) 1350760469 -5.435671276805945 treat image : temp/1744910550_1995963_1350760466_2ebdf14860183e5f734d4766501f7d3e.jpg resize: (1080, 1632) 1350760466 -5.0223490774063375 treat image : temp/1744910550_1995963_1350760463_b553ec3bb361cb5fcb2353714ca4a421.jpg resize: (1080, 1632) 1350760463 -5.424360234526183 treat image : temp/1744910550_1995963_1350760462_a93f74c48ce3ce2f5b0bc7d2577e65fe.jpg resize: (1080, 1632) 1350760462 -5.693234006274436 treat image : temp/1744910550_1995963_1350760437_d284cc49da8db363e2efc8365ae1c43e.jpg resize: (1080, 1632) 1350760437 -1.4262918149298385 treat image : temp/1744910550_1995963_1350760435_cec3ad3254ed397681fe309f6e429e22.jpg resize: (1080, 1632) 1350760435 -1.379620209100029 treat image : temp/1744910550_1995963_1350760431_16f4ebb6d6e226bc565afa850a73b7b3.jpg resize: (1080, 1632) 1350760431 -6.202250598707582 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.014875650405883789 begin to insert list_values into mtr_datou_result : length of list_values in save_final : 20 time used for this insertion : 0.016635894775390625 save missing photos in datou_result : time spend for datou_step_exec : 18.39006543159485 time spend to save output : 0.04887199401855469 total time spend for step 1 : 18.438937425613403 caffe_path_current : About to save ! 2 After save, about to update current ! update_current_state 15.37user 5.55system 0:25.61elapsed 81%CPU (0avgtext+0avgdata 140144maxresident)k 168inputs+9600outputs (4major+245977minor)pagefaults 0swaps