Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@chricke
Created July 18, 2018 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chricke/3ee8708167d43dc3e2770dcd0dc12a47 to your computer and use it in GitHub Desktop.
Save chricke/3ee8708167d43dc3e2770dcd0dc12a47 to your computer and use it in GitHub Desktop.
Start training the luminoth network
lumi train -c config.yml
@KristijanS99
Copy link

Traceback (most recent call last):
File "/home/kristijan/anaconda3/bin/lumi", line 11, in
sys.exit(cli())
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/click/core.py", line 722, in call
return self.main(*args, **kwargs)
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/click/core.py", line 697, in main
rv = self.invoke(ctx)
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/click/core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/click/core.py", line 535, in invoke
return callback(*args, **kwargs)
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/luminoth/train.py", line 307, in train
config, environment=environment
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/luminoth/train.py", line 38, in run
model = model_class(config)
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/luminoth/models/fasterrcnn/fasterrcnn.py", line 32, in init
self._num_classes = config.model.network.num_classes
AttributeError: 'NoneType' object has no attribute 'num_classes'

This is the error i get when i run the command.. Any help ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment