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.1.tar.gz
(13.7 kB
view details)
Built Distribution
prior-1.0.1-py3-none-any.whl
(13.5 kB
view details)
File details
Details for the file prior-1.0.1.tar.gz
.
File metadata
- Download URL: prior-1.0.1.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f622646f87fa69113f4999fdb8a6b36e64fab8ec65ecf870f9176b3f8f9ca147 |
|
MD5 | 5d7fb60061fad01553607a8dde267897 |
|
BLAKE2b-256 | fa6f11d49763ead0819a59745b01c003a9a37183b11bc8b60804b63eb535a9ef |
File details
Details for the file prior-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: prior-1.0.1-py3-none-any.whl
- Upload date:
- Size: 13.5 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 | 9c4335626b44677c3e2269fb6e1aa47865eb3d35cfc35868b572ea5f4aa6db42 |
|
MD5 | d1021cfe1105a1fcb128b5a4689f051f |
|
BLAKE2b-256 | 6fa010baf9e81ffb4177d1d4bb770a832dc80b98f23205554966987206d57856 |