Skip to content

Instantly share code, notes, and snippets.

Created July 18, 2018 20:47
What would you like to do?
Start training the luminoth network
lumi train -c config.yml
Copy link

Traceback (most recent call last):
File "/home/kristijan/anaconda3/bin/lumi", line 11, in
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/click/", line 722, in call
return self.main(*args, **kwargs)
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/click/", line 697, in main
rv = self.invoke(ctx)
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/click/", line 1066, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/click/", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/click/", line 535, in invoke
return callback(*args, **kwargs)
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/luminoth/", line 307, in train
config, environment=environment
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/luminoth/", line 38, in run
model = model_class(config)
File "/home/kristijan/anaconda3/lib/python3.7/site-packages/luminoth/models/fasterrcnn/", line 32, in init
self._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