mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-01 18:11:18 +08:00
update US config to us
This commit is contained in:
@@ -60,7 +60,7 @@ class Config:
|
||||
|
||||
# REGION CONST
|
||||
REG_CN = "cn"
|
||||
REG_US = "US"
|
||||
REG_US = "us"
|
||||
|
||||
_default_config = {
|
||||
# data provider config
|
||||
|
||||
@@ -136,11 +136,8 @@ class DNNModelPytorch(Model):
|
||||
)
|
||||
|
||||
self._fitted = False
|
||||
|
||||
|
||||
if self.use_gpu:
|
||||
self.dnn_model.cuda()
|
||||
|
||||
# set the visible GPU
|
||||
if self.visible_GPU:
|
||||
os.environ["CUDA_VISIBLE_DEVICES"] = self.visible_GPU
|
||||
|
||||
Reference in New Issue
Block a user