Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/42dot/VFDepth
/ set_train
Method
set_train
models/base_model.py:35–38 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
33
return
self._dataloaders[
'eval'
]
34
35
def
set_train(self):
36
self.mode =
'train'
37
for
m in self.models.values():
38
m.train()
39
40
def
set_val(self):
41
self.mode =
'val'
Callers
2
train
Method · 0.80
validate
Method · 0.80
Calls
1
train
Method · 0.80
Tested by
no test coverage detected