Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

run_training.py 302 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
  1. import argparse
  2. from train.trainer import Trainer
  3. from utils.base_utils import load_cfg
  4. parser = argparse.ArgumentParser()
  5. parser.add_argument('--cfg', type=str, default='configs/train/gen/neuray_gen_depth_train.yaml')
  6. flags = parser.parse_args()
  7. trainer = Trainer(load_cfg(flags.cfg))
  8. trainer.run()
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...