221617f6e125bf6ab920bf7fc9b8c23c3aa9d147,rastervision/data/label_source/chip_classification_label_source_config.py,ChipClassificationLabelSourceConfigBuilder,validate,#ChipClassificationLabelSourceConfigBuilder#,85
Before Change
super().__init__(ChipClassificationLabelSourceConfig, config)
def validate(self):
if self.config.get("vector_source") is None:
raise rv.ConfigError(
"You must set the vector_source for ChipClassificationLabelSourceConfig"
" Use "with_vector_source".")
After Change
"vector source must be a child of class VectorSourceConfig, got {}".
format(type(vector_source)))
if vector_source.has_null_class_bufs():
raise rv.ConfigError(
"Setting buffer to None for a class in the vector_source is not allowed "
"for ChipClassificationLabelSourceConfig.")
def from_proto(self, msg):
// Added for backwards compatibility.
if msg.HasField("chip_classification_geojson_source"):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: azavea/raster-vision
Commit Name: 221617f6e125bf6ab920bf7fc9b8c23c3aa9d147
Time: 2019-03-18
Author: lewfish@gmail.com
File Name: rastervision/data/label_source/chip_classification_label_source_config.py
Class Name: ChipClassificationLabelSourceConfigBuilder
Method Name: validate
Project Name: azavea/raster-vision
Commit Name: 221617f6e125bf6ab920bf7fc9b8c23c3aa9d147
Time: 2019-03-18
Author: lewfish@gmail.com
File Name: rastervision/data/raster_source/rasterized_source_config.py
Class Name: RasterizedSourceConfigBuilder
Method Name: validate
Project Name: eth-cscs/reframe
Commit Name: b727fc5c84fc078563a6fb34facd5867c89d39e9
Time: 2019-02-28
Author: zyou@osc.edu
File Name: reframe/core/logging.py
Class Name:
Method Name: _create_syslog_handler