Comments (4)
Hi @yinmustark,
I just run the code on my computer. The model parameter is indeed 8.15M and GFLOPs is 6.2988.
When setting use_nonlinear=False, use_context=False, #Param=4.27M, GFLOPs=4.34; when use_nonlinear=False, use_context=True, #Param=5.12M, GFLOPs=5.82.
Maybe double check your code.
from indexnet_matting.
Hi @yinmustark,
I just run the code on my computer. The model parameter is indeed 8.15M and GFLOPs is 6.2988.
When setting use_nonlinear=False, use_context=False, #Param=4.27M, GFLOPs=4.34; when use_nonlinear=False, use_context=True, #Param=5.12M, GFLOPs=5.82.Maybe double check your code.
Thanks for your reply!
I redownloaded your repo and ran the hlmobilenetv2.py file. I only changed "decoder='indexnet'". The result of "nonlinear+context" is still what I posted,, while the other two results are totally correct.
I think the model itself is nothing wrong because the pretrained model can be loaded successfully.
from indexnet_matting.
@yinmustark,
I figure out the problem. You're right.
In my original research code, I doubled the number of channels of the second convolutional layer in the index block under the m2o-depthwise-nonlinear-context setting, which is where I report the #parameters.
Afterwards, I find that this intermediate layer does not affect the performance, so I keep the dimension the same in the final version, but forget to modify the #Param.
This is not a big problem. But still thanks for mentioning this to others.
from indexnet_matting.
Problem solved.
Thanks anyway : )
from indexnet_matting.
Related Issues (20)
- Automatic Background Removal technology HOT 1
- License question HOT 3
- Reproducing results HOT 22
- Correct the relative path and switch to the CPU. HOT 1
- errors when use model.train() HOT 2
- How to solve this error? When I run this net to predict an image,I have GPU,But I want not to use it. HOT 2
- Questions about B11 model HOT 2
- Train Own Dataset HOT 3
- train on multi gpu HOT 2
- RandomCrop 对于图像尺寸320的处理会抛出异常 HOT 2
- Is the validate in training necessary? HOT 2
- error in loading pre-trained model to train on multi-gpu HOT 3
- Adobe Image Matting dataset HOT 1
- Possible reasons for different performance between DIM Re-implementation and original implementation HOT 1
- Training on custom data set
- In terms of speed of reasoning, whether you can achieve real time
- Where can I download the dataset? HOT 3
- freeze_bn seems to be an invalid option HOT 3
- How can I train the DIM?
- Rare inconsistency for background image size during data loading 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 indexnet_matting.