Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/laziu/imtools
https://github.com/laziu/imtools
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/laziu/imtools
- Owner: laziu
- Created: 2022-04-24T16:27:26.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-09T09:41:40.000Z (11 months ago)
- Last Synced: 2024-11-09T11:36:40.283Z (3 months ago)
- Language: Python
- Size: 61.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image Enhancement
## Setup
### Using Docker
```sh
# prerequisites: docker-compose should be installed
.docker/compose.cu11 up -d
```### Install manually
```sh
# prerequisites: conda should be installed
conda env create -f .docker/environments.cu11.yml
conda activate imtools
conda develop .
```## Build CUDA extensions
```bash
# prerequisites: CUDA toolkit should be installed
find /usr/local -maxdepth 1 -name 'cuda'
# change environment variables
export PATH=/usr/local/cuda/bin${PATH:+:${PATH}}
export LD_LIBRARY_PATH=/usr/local/cuda/lib64
# check nvcc is available
nvcc --version
# compile sources
cd extensions
python setup.py install
```