KeyError
in upgrade_config
when running predict
#1652
-
Hi, I have added a new config class, When running and using my new config, training and validation seems to work ok, but when I get to Log looks like this:
I'm sure I missed some detail, but even after digging around the code a bit I just can't find the missing piece (or anyone else having the same issue...) Any ideas what I'm missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Can you try calling In your case, this would probably be: def register_plugin(registry):
registry.set_plugin_version('rastervision.ml2_pipeline', 0) |
Beta Was this translation helpful? Give feedback.
Can you try calling
registry.set_plugin_version()
inside yourregister_plugin()
function and see if that solves the problem?Example: https://github.com/azavea/raster-vision/blob/0.20/rastervision_pytorch_learner/rastervision/pytorch_learner/__init__.py#L4-L5
In your case, this would probably be: