jbloom commited on
Commit
2073c5b
·
1 Parent(s): 48ee9d4

update README

Browse files
Files changed (1) hide show
  1. README.md +3 -3
README.md CHANGED
@@ -51,7 +51,7 @@ contains 35 frames of 800x800 pixel images in 5 bandpasses starting with run 420
51
  You first need to install the `datasets` and `astropy` packages:
52
 
53
  ```bash
54
- pip install datasets satrapy
55
  ```
56
 
57
  There are two datasets: `tiny` and `full`, each with `train` and `test` splits. The `tiny` dataset has 2 4D images in the `train` and 1 in the `test`. The `full` dataset contains all the images in the `data/` directory.
@@ -68,7 +68,7 @@ Then in your python script:
68
 
69
  ```python
70
  from datasets import load_dataset
71
- dataset = load_dataset('AstroCompress/GBI-16-4D', 'tiny')
72
  ds = dataset.with_format("np")
73
  ```
74
 
@@ -84,7 +84,7 @@ Then `cd GBI-16-4D` and start python like:
84
 
85
  ```python
86
  from datasets import load_dataset
87
- dataset = load_dataset('./GBI-16-4D.py', 'tiny', data_dir="./data/")
88
  ds = dataset.with_format("np")
89
  ```
90
 
 
51
  You first need to install the `datasets` and `astropy` packages:
52
 
53
  ```bash
54
+ pip install datasets astropy
55
  ```
56
 
57
  There are two datasets: `tiny` and `full`, each with `train` and `test` splits. The `tiny` dataset has 2 4D images in the `train` and 1 in the `test`. The `full` dataset contains all the images in the `data/` directory.
 
68
 
69
  ```python
70
  from datasets import load_dataset
71
+ dataset = load_dataset("AstroCompress/GBI-16-4D", "tiny")
72
  ds = dataset.with_format("np")
73
  ```
74
 
 
84
 
85
  ```python
86
  from datasets import load_dataset
87
+ dataset = load_dataset("./GBI-16-4D.py", "tiny", data_dir="./data/")
88
  ds = dataset.with_format("np")
89
  ```
90