We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6202781 commit 9e1d132Copy full SHA for 9e1d132
torch_points3d/.#trainer.py
train.py
@@ -1,7 +1,7 @@
1
import hydra
2
from hydra.core.global_hydra import GlobalHydra
3
from omegaconf import OmegaConf
4
-from torch_points3d.trainer import Trainer
+from torch_points3d.trainer import LitTrainer
5
6
OmegaConf.register_new_resolver("get_filename", lambda x: x.split('/')[-1])
7
@hydra.main(config_path="conf", config_name="config")
@@ -10,7 +10,7 @@ def main(cfg):
10
if cfg.pretty_print:
11
print(OmegaConf.to_yaml(cfg))
12
13
- trainer = Trainer(cfg)
+ trainer = LitTrainer(cfg)
14
trainer.train()
15
16
if __name__ == "__main__":
0 commit comments