edit : clip-vit 모델 추가
This commit is contained in:
27
config.py
Normal file
27
config.py
Normal file
@@ -0,0 +1,27 @@
|
||||
class Config:
|
||||
def __init__(self):
|
||||
self.set_rel()
|
||||
|
||||
def set_rel(self):
|
||||
self.config = 'rel'
|
||||
self.remote_folder = "/home/fermat/STORAGE/01.Projects/A2TEC/K_EYEWEAR/02.ML_DATA/Image_generator_result"
|
||||
self.sftp_host = "192.168.200.230"
|
||||
self.sftp_port = 22
|
||||
self.sftp_id = "fermat"
|
||||
self.sftp_pw = "1234"
|
||||
|
||||
def set_dev(self):
|
||||
self.config = 'dev'
|
||||
self.remote_folder = "/home/fermat/project/FM_TEST_REST_SERVER/result"
|
||||
self.sftp_host = "192.168.200.231"
|
||||
self.sftp_port = 22
|
||||
self.sftp_id = "fermat"
|
||||
self.sftp_pw = "fermat3514"
|
||||
|
||||
import os
|
||||
if not os.path.exists(self.remote_folder):
|
||||
os.makedirs(self.remote_folder)
|
||||
|
||||
|
||||
rest_config = Config()
|
||||
# rest_config.set_dev()
|
||||
Reference in New Issue
Block a user