Comments (4)
So my idea was simply to convert the model using the script option of pytorch as I do for other models.
From there, load it in my C++ program and do the inference.
From what I was able to check, the network architecture as it is, is not scriptable.
I didn't dig enough on it to point exactly to the problem root.
I do not believe it would be much faster but would open more doors to be used on other programs.
from hyperseg.
I haven't tried running the models with the C++ API but this can be interesting, it might improve the runtime performance.
Can you elaborate what doesn't work? Are you getting any errors?
from hyperseg.
You can try exporting to onnx instead.
from hyperseg.
I am closing this issue, you can reopen it if it's still relevant
from hyperseg.
Related Issues (20)
- ValueError: Unknown resampling filter (InterpolationMode.BICUBIC). HOT 10
- How to convert the pth file to onnx?
- Please consider the citation
- Backbone HOT 1
- Inference HOT 1
- ModuleNotFoundError:No module named ‘hyperseg’ HOT 5
- signal_index is not getting updated HOT 1
- hyperseg
- Assertion `t >= 0 && t < n_classes` failed. HOT 3
- About Test bug HOT 2
- Another bug about the script of train camvid HOT 2
- I don't find predict.py
- Error in operation camvid_efficientnet_b1_hyperseg-s HOT 2
- unknown resampling filter (InterpolationMode.BICUBIC). HOT 2
- RuntimeError: CUDA error: device-side assert triggered HOT 1
- inference hflip
- Hi,please help me, HOT 1
- python test.py HOT 1
- Unknown resampling filter (InterpolationMode.BICUBIC)
- no checkpoint found at 'checkpoints/cityscapes\cityscapes_efficientnet_b1_hyperseg-m' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hyperseg.