Updating code for version 0.20 - channel_display_groups #1656
-
I have code for a semantic segmentation model that worked in version 0.13. I'm trying to create a new version of the same code that's compatible with rastervision 0.20. When I first ran my original (0.13) code in version 0.20, I ran into an error stating that the field "default_class_id" is not permitted in GeoJSONVectorSourceConfig. Through the documentation and the new quickstart code, I was able to figure out how to fix this by passing the "transformers" list. instead of the "default_class_id". That is the only change I have made so far, and the rest of my code is written for version 0.13. I tried running it again and ran into a similar error: the "channel_display_groups" field is not permitted in SemanticSegmentationGeoDataConfig. I have two questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Apologies for the late response.
|
Beta Was this translation helpful? Give feedback.
Apologies for the late response.
channel_display_groups
is now supposed to go inplot_options
as shown here.We do not have such a checklist yet. But it would definitely be nice to have. One thing you can do is to take a look at the diff between the two branches. Go to the "Files Changed" tab, scroll down to the example files (Here is a non-exhaustive list of required changes: #1666.isprs_potsdam.py
etc.), and see what's changed.