Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Start training the luminoth network
lumi train -c config.yml
@KristijanS99

This comment has been minimized.

Copy link

@KristijanS99 KristijanS99 commented Apr 17, 2019

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
You can’t perform that action at this time.