2b6f090645d9beab38c19230d940b34031e95b34,rastervision/command/chip_command_config.py,ChipCommandConfigBuilder,validate,#ChipCommandConfigBuilder#,75
Before Change
"Val scenes not set for ChipCommandConfig. Use "
"with_val_scenes or with_experiment")
if len(self.val_scenes) > 0:
if not isinstance(self.val_scenes[0], SceneConfig):
raise rv.ConfigError(
"val_scenes must be a list of class SceneConfig, got a list of {}".
format(type(self.val_scenes[0])))
def build(self):
self.validate()
return ChipCommandConfig(self.root_uri, self.task, self.backend,
self.augmentors, self.train_scenes,
After Change
"with_val_scenes or with_experiment")
if len(self.val_scenes) > 0:
for s in self.val_scenes:
if not isinstance(s, SceneConfig):
raise rv.ConfigError(
"val_scenes must be a list of class SceneConfig, "
"got a list of {}".format(type(s)))
def build(self):
self.validate()
return ChipCommandConfig(self.root_uri, self.task, self.backend,
self.augmentors, self.train_scenes,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances
Project Name: azavea/raster-vision
Commit Name: 2b6f090645d9beab38c19230d940b34031e95b34
Time: 2018-12-07
Author: skassel@azavea.com
File Name: rastervision/command/chip_command_config.py
Class Name: ChipCommandConfigBuilder
Method Name: validate
Project Name: Qiskit/qiskit-aqua
Commit Name: 2aae12b10a3411009a2802a077bb8c6c0365b6ad
Time: 2020-08-28
Author: 31178928+t-imamichi@users.noreply.github.com
File Name: qiskit/aqua/operators/converters/abelian_grouper.py
Class Name: AbelianGrouper
Method Name: group_subops
Project Name: lingpy/lingpy
Commit Name: 997f7e378ffd48fd23107037534ad12cc471cdb6
Time: 2013-10-25
Author: frank@pc08447.Germanistik-Kunst.Uni-Marburg.DE
File Name: lingpy/basic/_parser.py
Class Name: _QLCParser
Method Name: _init_first