https://github.com/laziu/imtools
https://github.com/laziu/imtools
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/laziu/imtools
- Owner: laziu
- Created: 2022-04-24T16:27:26.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-09T09:41:40.000Z (over 1 year ago)
- Last Synced: 2025-01-04T06:24:56.251Z (6 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
```