This project is renamed to rs-fusion-datasets
fetch_houston2013 is renamed to rs-fusion-datasets, go to the new project for more datasets and latest features.
Use pip install rs-fusion-datasets to install the new package.
fetch houston2013 muufl and trento
Download and load Houston 2013 Dataset, Trento dataset and Muufl dataset easily and swiftly. fetch_houston2013 is:
- A fast houston2013 muufl and trento dataset fetcher that automatically downloads all data
- A ready-to-use torch dataloader for houston2013 muufl and trento dataset
- A toolbox for visualizing the datasets
Quick Start
- install this package
pip install fetch-houston2013
- import and get the dataset
from fetch_houston2013 import fetch_houston2013, fetch_muufl, fetch_trento, split_spmatrix
# For Houston 2013
hsi, dsm, train_label, test_label, info = fetch_houston2013()
# For Muufl
casi, lidar, truth, info = fetch_muufl()
train_label, test_label = split_spmatrix(truth, 20)
# For Trento
casi, lidar, truth, info = fetch_trento()
train_label, test_label = split_spmatrix(truth, 20)
- Tips: train_label and test_label are sparse matrix, you can either convert them to np.array easily by
train_label=train_label.todense()
test_label =test_label.todense()
or directly use them for getting the value in a very fast way:
def __getitem__(self, index):
i = self.truth.row[index]
j = self.truth.col[index]
label = self.truth.data[index].item()
x_hsi = self.hsi[:, i, j]
x_dsm = self.dsm[:, i, j]
return x_hsi, x_dsm, label
torch
A standard ready-to-use Torch vison dataset.
from fetch_houston2013 import Houston2013, Trento, Muufl
dataset = Muufl(subset='train', patch_size=11)
x_h, x_l, y, extras = dataset[0]
utils
- lbl2rgb: convert the label dataset to rgb image
- read_roi: read exported
.txtfile of ENVI roi to sparse matrix - split_spmatrix: split a sparse to get the train dataset and test dataset
Help
Star History
Contribution
We welcome all contributions, including issues, pull requests, feature requests and discussions.
Credits
Houston2013 dataset: https://machinelearning.ee.uh.edu/?page_id=459
paperswithcode: https://paperswithcode.com/dataset/houston
Muufl dataset: https://github.com/GatorSense/MUUFLGulfport
Dafault url of Trento dataset is https://github.com/tyust-dayu/Trento/tree/b4afc449ce5d6936ddc04fe267d86f9f35536afd
The 2013_IEEE_GRSS_DF_Contest_Samples_VA.txt in this repo is exported from original 2013_IEEE_GRSS_DF_Contest_Samples_VA.roi.
Note: If this data is used in any publication or presentation the following reference must be cited:
P. Gader, A. Zare, R. Close, J. Aitken, G. Tuell, “MUUFL Gulfport Hyperspectral and LiDAR Airborne Data Set,” University of Florida, Gainesville, FL, Tech. Rep. REP-2013-570, Oct. 2013.
If the scene labels are used in any publication or presentation, the following reference must be cited:
X. Du and A. Zare, “Technical Report: Scene Label Ground Truth Map for MUUFL Gulfport Data Set,” University of Florida, Gainesville, FL, Tech. Rep. 20170417, Apr. 2017. Available: http://ufdc.ufl.edu/IR00009711/00001.
If any of this scoring or detection code is used in any publication or presentation, the following reference must be cited:
T. Glenn, A. Zare, P. Gader, D. Dranishnikov. (2016). Bullwinkle: Scoring Code for Sub-pixel Targets (Version 1.0) [Software]. Available from https://github.com/GatorSense/MUUFLGulfport/.
License
Copyright 2025 songyz2023
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Metadata
Release files for fetch-houston2013 0.8.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| fetch_houston2013-0.8.3.tar.gz | 285.0 kB | Without provenance | Details for fetch_houston2013-0.8.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fetch_houston2013-0.8.3-py3-none-any.whl | Python 3 | none | any | Details for fetch_houston2013-0.8.3-py3-none-any.whl |
Total release size: 311.7 kB
Release files / fetch_houston2013-0.8.3.tar.gz
| Download URL | fetch_houston2013-0.8.3.tar.gz |
|---|---|
| Size | 285.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
655e4ec8ab45b1467e60f82245f957678e453072d5fa2b5dcba15c0c8c558228
|
|
BLAKE2b-256 checksum How to use checksums |
85023ee2481bcffa6d367562993b6f318dded26a1320b3ddcf23124579c4c4cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.13
|
Release files / fetch_houston2013-0.8.3-py3-none-any.whl
| Download URL | fetch_houston2013-0.8.3-py3-none-any.whl |
|---|---|
| Size | 26.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cd68d2c64003fbe80b8a0643b6f2ae9578cebac0298b552a806b56ade512f6ac
|
|
BLAKE2b-256 checksum How to use checksums |
0e7646aa74ada50da9ac616d170267dee56109b2d5c92e1b09404004538e36cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.13
|
Security for fetch-houston2013 0.8.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.