Skip to content

Commit e3ba9d8

Browse files
committed
updated readme
1 parent 3611a88 commit e3ba9d8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ As I cannot push LFS object to a public fork, I make this repo standalone.
77
Features appended:
88
1. remove OpenCV dependency
99
2. reduce memory usage from 7 GB to 5.5 GB
10-
3. enable 4X super resolution from [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN)
10+
3. enable 4X super resolution with [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN)
1111
4. single header-only
1212

1313

@@ -94,6 +94,9 @@ However, you need **5.5 GB** memory to run.
9494
### Linking to NCNN
9595

9696
If **ncnn** is not installed in the standard paths (such as `/usr/include/ncnn` and `/usr/lib/libncnn.so`, please update the commandline to comply. For example:
97+
```bash
98+
g++ -o test test.cpp -funsafe-math-optimizations -Ofast -flto=auto -funroll-all-loops -pipe -march=native -std=c++20 -Wall -Wextra -I/usr/local/include -L/usr/local/lib -lncnn -lstdc++ -pthread -Wl,--gc-sections -flto -fopt-info-vec-optimized
99+
```
97100

98101

99102
## TODO

0 commit comments

Comments
 (0)