update pyproject and readme
This commit is contained in:
@@ -35,12 +35,17 @@ First, clone this repository to your local machine, and install the dependencies
|
||||
```bash
|
||||
git clone git@github.com:facebookresearch/vggt.git
|
||||
cd vggt
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>Alternatively, you can install VGGT as a package via pip, pixi or uv (Click to expand)</summary>
|
||||
|
||||
### Install with pip
|
||||
|
||||
```bash
|
||||
pip install -e .
|
||||
```
|
||||
|
||||
### Install and run with pixi
|
||||
Download [pixi here](https://pixi.sh)
|
||||
|
||||
@@ -53,6 +58,8 @@ Download [uv here](https://docs.astral.sh/uv/getting-started/installation/)
|
||||
```bash
|
||||
uv run --extra demo demo_gradio.py
|
||||
```
|
||||
</details>
|
||||
|
||||
|
||||
Now, try the model with just a few lines of code:
|
||||
|
||||
@@ -243,4 +250,4 @@ Thanks to these great repositories: [PoseDiffusion](https://github.com/facebookr
|
||||
|
||||
|
||||
## License
|
||||
See the [LICENSE](./LICENSE.txt) file for details about the license under which this code is made available.
|
||||
See the [LICENSE](./LICENSE.txt) file for details about the license under which this code is made available.
|
||||
+10
-9
@@ -1,17 +1,15 @@
|
||||
[project]
|
||||
authors = [{ name = "Jianyuan Wang", email = "jianyuan@robots.ox.ac.uk" }]
|
||||
authors = [{name = "Jianyuan Wang", email = "jianyuan@robots.ox.ac.uk"}]
|
||||
dependencies = [
|
||||
"torch>=2.3.1",
|
||||
"torchvision>=0.18.1",
|
||||
"numpy<2",
|
||||
"numpy==1.26.1",
|
||||
"Pillow",
|
||||
"huggingface_hub",
|
||||
"einops",
|
||||
"safetensors",
|
||||
]
|
||||
name = "vggt"
|
||||
requires-python = ">= 3.11"
|
||||
version = "0.1.0"
|
||||
requires-python = ">= 3.8"
|
||||
version = "0.0.1"
|
||||
|
||||
[project.optional-dependencies]
|
||||
demo = [
|
||||
@@ -28,13 +26,16 @@ demo = [
|
||||
"matplotlib",
|
||||
]
|
||||
|
||||
# Using setuptools as the build backend
|
||||
[build-system]
|
||||
build-backend = "hatchling.build"
|
||||
requires = ["hatchling"]
|
||||
requires = ["setuptools>=61.0", "wheel"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
# setuptools configuration
|
||||
[tool.setuptools]
|
||||
packages = ["vggt"]
|
||||
|
||||
# Pixi configuration
|
||||
[tool.pixi.workspace]
|
||||
channels = ["conda-forge"]
|
||||
platforms = ["linux-64"]
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
torch==2.3.1
|
||||
torchvision==0.18.1
|
||||
numpy==1.26.1
|
||||
Pillow
|
||||
huggingface_hub
|
||||
einops
|
||||
safetensors
|
||||
@@ -0,0 +1,11 @@
|
||||
gradio==5.17.1
|
||||
viser==0.2.23
|
||||
tqdm
|
||||
hydra-core
|
||||
omegaconf
|
||||
opencv-python
|
||||
scipy
|
||||
onnxruntime
|
||||
requests
|
||||
trimesh
|
||||
matplotlib
|
||||
Reference in New Issue
Block a user