bump version

This commit is contained in:
sugarme 2021-07-06 19:02:30 +10:00
parent af8f999635
commit fc2a3332b1
3 changed files with 10 additions and 4 deletions

View File

@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.3.12]
- Fixed multiple memory leakage at `vision/image.go`
- Fixed memory leakage at `dutil/dataloader.go`
- Fixed multiple memory leakage at `efficientnet.go`
@ -24,6 +26,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fixed double free in `vision/image.go/resizePreserveAspectRatio`
- Fixed incorrect ctype `long` caused compiling error in MacOS as noted on [#44]
## [0.3.11]
Same as [0.3.10]
## [0.3.10]
- Update installation at README.md
- [#38] fixed JIT model

View File

@ -51,7 +51,7 @@ Gotch is in active development mode and may have API breaking changes. Feel free
```bash
wget https://raw.githubusercontent.com/sugarme/gotch/master/setup-gotch.sh
chmod +x setup-gotch.sh
export CUDA_VER=cpu && export GOTCH_VER=v0.3.10 && bash setup-gotch.sh
export CUDA_VER=cpu && export GOTCH_VER=v0.3.12 && bash setup-gotch.sh
```
### GPU
@ -89,9 +89,9 @@ Gotch is in active development mode and may have API breaking changes. Feel free
wget https://raw.githubusercontent.com/sugarme/gotch/master/setup-gotch.sh
chmod +x setup-gotch.sh
# CUDA 10.1
export CUDA_VER=10.1 && export GOTCH_VER=v0.3.10 && bash setup-gotch.sh
export CUDA_VER=10.1 && export GOTCH_VER=v0.3.12 && bash setup-gotch.sh
# CUDA 11.0
export CUDA_VER=11.0 && export GOTCH_VER=v0.3.10 && bash setup-gotch.sh
export CUDA_VER=11.0 && export GOTCH_VER=v0.3.12 && bash setup-gotch.sh
```
## Examples

View File

@ -1,6 +1,6 @@
#!/bin/bash
GOTCH_VERSION="${GOTCH_VER:-v0.3.8}"
GOTCH_VERSION="${GOTCH_VER:-v0.3.12}"
CUDA_VERSION="${CUDA_VER:-10.1}"
GOTCH_PATH="$GOPATH/pkg/mod/github.com/sugarme/gotch@$GOTCH_VERSION"