Replies: 7 comments 28 replies
-
Normally, you feed in large GeoTIFFs as inputs to Raster Vision. These large scenes are broken down into smaller "chips" before being fed into the model for training/prediction. Alternatively, your input can be a "pre-chipped" dataset that comprises a bunch of smaller chips in the form of image files or TIFFs or numpy arrays. RV does not support directly reading from a tile server. You will have to save your tiles in one of the intermediate forms mentioned above before you can use it. A couple of other options that might or might not be feasible are:
|
Beta Was this translation helpful? Give feedback.
-
in |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
its giving "SemanticSegmentationModelConfig' object has no attribute 'to." in line 110. this code is same as in documentation of rastervision. rv==0.20 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
This is the main issue that i an encountering. I am using training and validating images and labels to train and test images to predict. But there is an error before training even though i entered correct data. The code is already given above. |
Beta Was this translation helpful? Give feedback.
-
import albumentations as A train_image_uri = '/home/nicku/Downloads/EORSSD-dataset-master/train' pred = '/home/nicku/PycharmProjects/pythonProject/results' class_config = ClassConfig( viz = SemanticSegmentationVisualizer( data_augmentation_transform = A.Compose([ train_ds = SemanticSegmentationImageDataset( ) val_ds = SemanticSegmentationImageDataset( data_cfg = SemanticSegmentationGeoDataConfig( solver_cfg = SolverConfig( model= torch.hub.load( learner_cfg = SemanticSegmentationLearnerConfig(data=data_cfg, solver=solver_cfg) learner = SemanticSegmentationLearner( ds = SemanticSegmentationSlidingWindowGeoDataset.from_uris( #if your test dataset have .tif pred_labels = SemanticSegmentationLabels.from_predictions( scores = pred_labels.get_score_arr(pred_labels.extent) fig, (ax1, ax2) = plt.subplots(1, 2, figsize=(10, 5)) pred_labels.save( ->This is my code. it takes the training and validation images and labels of shape (3,256,256) and (256,256). i am trying to train rv on Training: 0%| | 0/700 [00:01<?, ?it/s] Process finished with exit code 1 |
Beta Was this translation helpful? Give feedback.
-
Can we use image tiles as training and validation images and labels in raster vision? I am working on WMTS xy tiles. i have bunch of satellite images as tiles (training images/labels and validation images/labels). in addition to, i have testing dataset that consists of test images to be used for predictions. Kindly need help.
Beta Was this translation helpful? Give feedback.
All reactions