3c63591fb234380aa7b97d7dcb9575c1864eaf71,rastervision_pytorch_backend/rastervision/pytorch_backend/examples/chip_classification/spacenet_rio.py,,get_config,#,19
Before Change
base_transform = None
plot_transform = None
backend = PyTorchChipClassificationConfig(
model=model,
solver=solver,
log_tensorboard=log_tensorboard,
run_tensorboard=run_tensorboard,
test_mode=test,
base_transform=A.to_dict(base_transform),
aug_transform=A.to_dict(aug_transform),
plot_options=PlotOptions(transform=A.to_dict(plot_transform)))
config = ChipClassificationConfig(
After Change
mean=(-mu / std).tolist(),
std=(1 / std).tolist(),
max_pixel_value=1.)
aug_transform = A.to_dict(aug_transform)
base_transform = A.to_dict(base_transform)
plot_transform = A.to_dict(plot_transform)
else:
aug_transform = None
base_transform = None
plot_transform = None
backend = PyTorchChipClassificationConfig(
model=model,
solver=solver,
log_tensorboard=log_tensorboard,
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 2
Instances
Project Name: azavea/raster-vision
Commit Name: 3c63591fb234380aa7b97d7dcb9575c1864eaf71
Time: 2020-09-29
Author: AdeelH@users.noreply.github.com
File Name: rastervision_pytorch_backend/rastervision/pytorch_backend/examples/chip_classification/spacenet_rio.py
Class Name:
Method Name: get_config
Project Name: azavea/raster-vision
Commit Name: 3c63591fb234380aa7b97d7dcb9575c1864eaf71
Time: 2020-09-29
Author: AdeelH@users.noreply.github.com
File Name: rastervision_pytorch_backend/rastervision/pytorch_backend/examples/semantic_segmentation/isprs_potsdam.py
Class Name:
Method Name: get_config