config.py 1.41 KB
Newer Older
张彦钊's avatar
张彦钊 committed
1
# 线上地址
2
DIRECTORY_PATH = '/data/models/'
张彦钊's avatar
张彦钊 committed
3 4 5 6
# 本地地址
LOCAL_DIRCTORY = "/Users/mac/utils/"
# 线上用户活跃表db
ACTIVE_USER_DB_ONLINE = {"host":'10.66.157.22', "port":4000, "user":'root',
张彦钊's avatar
张彦钊 committed
7
                  "passwd":'3SYz54LS9#^9sBvC', "db":'jerry_prod'}
张彦钊's avatar
张彦钊 committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#线下用户活跃表db
ACTIVE_USER_DB_LOCAL = {"host":'192.168.15.12', "port":4000, "user":'root', "db":'jerry_test'}

# 线上日记队列db
QUEUE_DB_ONLINE = {"host":'rm-m5e842126ng59jrv6.mysql.rds.aliyuncs.com', "port":3306,"user":'doris',
                   "passwd":'o5gbA27hXHHm',"db":'doris_prod'}

# 本地日记队列db
QUEUE_DB_LOCAL = {"host":'rdsmaqevmuzj6jy.mysql.rds.aliyuncs.com',"port":3306,"user":'work',
                             "passwd":'workwork',"db":'doris_test'}
# 线上日记打分
SCORE_DB_ONLINE = {"host":'10.66.157.22', "port":4000, "user":'root',"passwd":'3SYz54LS9#^9sBvC', "db":'eagle'}

# 本地日记打分db
SCORE_DB_LOCAL = {"host":'rdsmaqevmuzj6jy.mysql.rds.aliyuncs.com', "port":3306, "user":'work',
                  "passwd":'workwork', "db":'zhengxing_test'}
张彦钊's avatar
张彦钊 committed
24

25
MODEL_VERSION = ''
张彦钊's avatar
张彦钊 committed
26 27 28
lr = 0.03
l2_lambda = 0.002

张彦钊's avatar
张彦钊 committed
29 30 31 32 33 34
#线上日记视频对应的ip
ONLINE_EAGLE_HOST = '10.66.157.22'

# 测试日记视频所在的ip
LOCAL_EAGLE_HOST = "192.168.15.12"

张彦钊's avatar
张彦钊 committed
35 36 37 38 39 40
# 线上日记队列域名
QUEUE_ONLINE_HOST = 'rm-m5e842126ng59jrv6.mysql.rds.aliyuncs.com'

# 本地日记队列域名
LOCAL_HOST = 'rdsmaqevmuzj6jy.mysql.rds.aliyuncs.com'

张彦钊's avatar
张彦钊 committed
41

42

43 44 45 46




张彦钊's avatar
张彦钊 committed
47 48