-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from GirinChutia/dev
update latest changes
- Loading branch information
Showing
8 changed files
with
156 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
/fig | ||
/dist | ||
/src/SAM_ONNX.egg-info | ||
/.env | ||
/build | ||
/src/sam_onnx/__pycache__ | ||
/model_weights | ||
/.ipynb_checkpoints | ||
/src/sam_onnx/.ipynb_checkpoints |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,20 @@ | ||
# SAM ONNX (* Under Development) | ||
|
||
` | ||
Welcome to the documentation for Project Name! This repository contains the source code for the project. | ||
|
||
## Documentation | ||
## Environment creation Creation (For Development) | ||
|
||
Explore our detailed documentation on [GitHub Pages](https://girinchutia.github.io/SAM_ONNX/). | ||
> python -m venv sam_onnx_env | ||
## Installation | ||
- Use pip 24.0 or higher version | ||
|
||
1. Clone the repository: `git clone https://github.com/GirinChutia/SAM_ONNX.git` | ||
2. Build the project: `py -m build` | ||
3. Install the package: `pip install dist/SAM_ONNX-0.0.1-py3-none-any.whl` | ||
## Installation | ||
In SAM_ONNX Folder | ||
> python -m pip install -e . | ||
## Usage | ||
|
||
``` | ||
import onnx_sam | ||
``` | ||
|
||
## Contributing | ||
|
||
We welcome contributions! Please see our [Contribution Guidelines](CONTRIBUTING.md) for more details. | ||
![alt text](repo_assests/demo.png) | ||
|
||
## License | ||
|
||
This project is licensed under the [MIT License](LICENSE). | ||
This project is licensed under the [MIT License](LICENSE). |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
[build-system] | ||
requires = ["setuptools>=61.0","matplotlib==3.8.3","numpy==1.26.4","onnxruntime==1.17.1","opencv_python==4.9.0.80"] | ||
requires = ["setuptools>=61.0"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "SAM_ONNX" | ||
version = "0.0.1" | ||
description = "A simple package for using SAM with ONNX without pytorch dependencies" | ||
description = "A simple package for using SAM (ONNX format) without pytorch dependencies" | ||
readme = "README.md" | ||
requires-python = ">=3.9" | ||
dependencies = ["matplotlib>=3.8.3", "numpy>=1.26.4","onnxruntime==1.17.1","opencv_python==4.9.0.80","gdown==5.1.0"] | ||
authors = [{ name = "Girin Chutia", email = "girin.iitm@gmail.com" }] | ||
classifiers = [ | ||
"Programming Language :: Python :: 3", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
] | ||
|
||
[project.optional-dependencies] | ||
dev=['jupyter'] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.