Skip to content

Commit

Permalink
Minor fix in inheritance
Browse files Browse the repository at this point in the history
  • Loading branch information
gle-bellier authored Sep 25, 2024
1 parent 1223e0b commit 0641699
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ We have designed the repo to allow for using your own datasets with minimal effo
```python
import torch
from geofm_bench.datasets.base import GeoFMDataset
class MyDataset(GeoFMDataset):
def __init__(
Expand Down Expand Up @@ -296,21 +297,6 @@ We have designed the repo to allow for using your own datasets with minimal effo
download_url=download_url,
auto_download=auto_download,
)
self.root_path = root_path
self.multi_temporal = multi_temporal
self.split = split
self.data_mean = data_mean
self.data_std = data_std
self.data_min = data_min
self.data_max = data_max
self.classes = classes
self.img_size = img_size
self.distribution = distribution
self.num_classes = num_classes
self.ignore_index = ignore_index
self.download_url = download_url
self.auto_download = auto_download
self.temp = temp #newly added parameter
# Initialize file lists or data structures here
Expand Down Expand Up @@ -450,13 +436,6 @@ To benchmark your own model, follow these steps:
multi_temporal=False, #fixed parameters
)
self.model_name = model_name
self.input_bands = input_bands
self.input_size = input_size
self.embed_dim = embed_dim
self.output_dim = output_dim
self.encoder_weights = encoder_weights
self.multi_temporal = multi_temporal
self.in_chans = in_chans #newly added parameter
# Initialize your model architecture here
Expand Down

0 comments on commit 0641699

Please sign in to comment.