No project description provided
Project description
PRIOR
🐍 A Python package for distributing resources from AI2's PRIOR team
Installation
Install the prior
package with pip:
pip install prior
Datasets
- ProcTHOR-10k [GitHub]
import prior
prior.load_dataset("procthor-10k")
- Object Nav Evaluation [GitHub]
import prior
prior.load_dataset("object-nav-eval")
Models
- ProcTHOR Models [GitHub]
import prior
prior.load_model(project="procthor-models", model="object-nav-pretraining")
Example Usage
To use a public Python dataset, simply run:
import prior
dataset = prior.load_dataset("test-dataset", entity="mattdeitke", revision="main")
Here, revision
can be either a tag, branch, or commit hash.
Private Datasets
If you want to use a private dataset, make sure you're either:
- Already logged into GitHub from the command line, and able to pull a private repo.
- Set the GITHUB_TOKEN environment variable to a GitHub authentication token with read access to private repositories (e.g.,
export GITHUB_TOKEN=<token>
). You can generate a GitHub authentication token here. - Set the
gh_auth_token
global variable in theprior
package with:
import prior
prior.gh_auth_token = "<token>"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
prior-1.0.3.tar.gz
(13.8 kB
view details)
Built Distribution
prior-1.0.3-py3-none-any.whl
(13.6 kB
view details)
File details
Details for the file prior-1.0.3.tar.gz
.
File metadata
- Download URL: prior-1.0.3.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 78b9734a1edc80884b2abe1421f88e6b6195d227e8a917e8aa15aa02dd9668b8 |
|
MD5 | 64713f3825fd07e488139cccb539fe60 |
|
BLAKE2b-256 | 46eac157bcfb667a29cad111dccd1ccae1e6571e7a6a73f71921a83ef34d52d5 |
File details
Details for the file prior-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: prior-1.0.3-py3-none-any.whl
- Upload date:
- Size: 13.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8672ef32dda0c96fb8c7cf243e2a553e62f20dc316d173db6fd84f45b0e698b |
|
MD5 | 0dada068fe11d3a2c81ea82cfec47992 |
|
BLAKE2b-256 | 93c1af1a38dd1ce3185ffd799f877f759b57a84f3c6d4ac98f891aeed98a297e |