更新 git忽略文件配置, triton地址修改
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -129,5 +129,6 @@ uwsgi
|
|||||||
|
|
||||||
.conf
|
.conf
|
||||||
app/logs
|
app/logs
|
||||||
|
app/logs/*
|
||||||
*.log
|
*.log
|
||||||
*.jpg
|
*.jpg
|
||||||
@@ -16,8 +16,7 @@
|
|||||||
|
|
||||||
1. 安装依赖
|
1. 安装依赖
|
||||||
|
|
||||||
$ conda create -n trinity_client_mixi python=3.9
|
$ conda create -n trinity_client_mixi python=3.9 -y
|
||||||
$ conda create -n trinity_client_mixi -y
|
|
||||||
$ conda activate trinity_client_mixi
|
$ conda activate trinity_client_mixi
|
||||||
$ pip install -r requirements.txt
|
$ pip install -r requirements.txt
|
||||||
$ conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia -y
|
$ conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia -y
|
||||||
|
|||||||
@@ -27,11 +27,11 @@ MINIO_SECURE = False
|
|||||||
MINIO_ACCESS = "e8zc55mzDOh4IzRrZ9Oa"
|
MINIO_ACCESS = "e8zc55mzDOh4IzRrZ9Oa"
|
||||||
MINIO_SECRET = "uHfqJ7UkwA1PTDGfnA44Hp9ux5YkZTkzZLjeOYhE"
|
MINIO_SECRET = "uHfqJ7UkwA1PTDGfnA44Hp9ux5YkZTkzZLjeOYhE"
|
||||||
|
|
||||||
OM_TRITON_IP = "10.1.1.150"
|
OM_TRITON_IP = "10.1.1.240"
|
||||||
OM_TRITON_PORT = "7000"
|
OM_TRITON_PORT = "10010"
|
||||||
|
|
||||||
ATT_TRITON_IP = "10.1.1.150"
|
ATT_TRITON_IP = "10.1.1.240"
|
||||||
ATT_TRITON_PORT = "6000"
|
ATT_TRITON_PORT = "10020"
|
||||||
|
|
||||||
# service env
|
# service env
|
||||||
# LOGSPATH = "logs/errors.log"
|
# LOGSPATH = "logs/errors.log"
|
||||||
@@ -39,6 +39,6 @@ ATT_TRITON_PORT = "6000"
|
|||||||
# FASHION_CATEGORIES_MAPPING = "app/service/outfit_matcher/config/fashion_category_mapping.json"
|
# FASHION_CATEGORIES_MAPPING = "app/service/outfit_matcher/config/fashion_category_mapping.json"
|
||||||
|
|
||||||
# pycharm debug
|
# pycharm debug
|
||||||
LOGSPATH = "logs/errors.log"
|
LOGS_PATH = "logs/errors.log"
|
||||||
FASHION_CATEGORIES = "service/outfit_matcher/config/fashion_categories.json"
|
FASHION_CATEGORIES = "service/outfit_matcher/config/fashion_categories.json"
|
||||||
FASHION_CATEGORIES_MAPPING = "service/outfit_matcher/config/fashion_category_mapping.json"
|
FASHION_CATEGORIES_MAPPING = "service/outfit_matcher/config/fashion_category_mapping.json"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
from app.core.config import LOGSPATH
|
from app.core.config import LOGS_PATH
|
||||||
|
|
||||||
LOGGER_CONFIG_DICT = {
|
LOGGER_CONFIG_DICT = {
|
||||||
"version": 1,
|
"version": 1,
|
||||||
@@ -17,7 +17,7 @@ LOGGER_CONFIG_DICT = {
|
|||||||
"class": "logging.handlers.RotatingFileHandler",
|
"class": "logging.handlers.RotatingFileHandler",
|
||||||
"level": "INFO",
|
"level": "INFO",
|
||||||
"formatter": "simple",
|
"formatter": "simple",
|
||||||
"filename": LOGSPATH,
|
"filename": LOGS_PATH,
|
||||||
"maxBytes": 10485760,
|
"maxBytes": 10485760,
|
||||||
"backupCount": 50,
|
"backupCount": 50,
|
||||||
"encoding": "utf8",
|
"encoding": "utf8",
|
||||||
@@ -26,7 +26,7 @@ LOGGER_CONFIG_DICT = {
|
|||||||
"class": "logging.handlers.RotatingFileHandler",
|
"class": "logging.handlers.RotatingFileHandler",
|
||||||
"level": "ERROR",
|
"level": "ERROR",
|
||||||
"formatter": "simple",
|
"formatter": "simple",
|
||||||
"filename": LOGSPATH,
|
"filename": LOGS_PATH,
|
||||||
"maxBytes": 10485760,
|
"maxBytes": 10485760,
|
||||||
"backupCount": 20,
|
"backupCount": 20,
|
||||||
"encoding": "utf8",
|
"encoding": "utf8",
|
||||||
@@ -35,7 +35,7 @@ LOGGER_CONFIG_DICT = {
|
|||||||
"class": "logging.handlers.RotatingFileHandler",
|
"class": "logging.handlers.RotatingFileHandler",
|
||||||
"level": "DEBUG",
|
"level": "DEBUG",
|
||||||
"formatter": "simple",
|
"formatter": "simple",
|
||||||
"filename": LOGSPATH,
|
"filename": LOGS_PATH,
|
||||||
"maxBytes": 10485760,
|
"maxBytes": 10485760,
|
||||||
"backupCount": 50,
|
"backupCount": 50,
|
||||||
"encoding": "utf8",
|
"encoding": "utf8",
|
||||||
|
|||||||
Reference in New Issue
Block a user