Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 23 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,39 @@ We present SHARP, an approach to photorealistic view synthesis from a single ima

## Getting started

We recommend to first create a python environment:
This project uses [uv](https://docs.astral.sh/uv/) for dependency management. First, install uv if you haven't already:

```
conda create -n sharp python=3.13
curl -LsSf https://astral.sh/uv/install.sh | sh
```

Afterwards, you can install the project using
Then install the project and its dependencies:

```
pip install -r requirements.txt
uv sync
```

To test the installation, run:

```
uv run sharp --help
```

To test the installation, run
Alternatively, activate the virtual environment to use `sharp` directly:

```
sharp --help
source .venv/bin/activate # On Unix/macOS
# or
.venv\Scripts\activate # On Windows
```

### Alternative: Using pip

If you prefer pip, you can generate a requirements.txt file:

```
uv pip compile pyproject.toml -o requirements.txt
pip install -r requirements.txt
```

## Using the CLI
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "sharp"
version = "0.1"
description = "Inference/Network/Model code for SHARP view synthesis model."
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
"click",
"gsplat",
Expand Down
1 change: 0 additions & 1 deletion requirements.in

This file was deleted.

172 changes: 0 additions & 172 deletions requirements.txt

This file was deleted.

Loading