Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The difference between original model and converted model #55

Open
xwhkkk opened this issue Oct 24, 2023 · 1 comment
Open

The difference between original model and converted model #55

xwhkkk opened this issue Oct 24, 2023 · 1 comment

Comments

@xwhkkk
Copy link

xwhkkk commented Oct 24, 2023

Thank you for sharing your great work!
I noticed we can generate our own edge map with both the original model and the converted model. So which one is a better choice?
Besides, I try to generate a map with both table7_pidinet.pth(13-epoch) and table5_pidinet.pth (19-epoch) through pidinet-converted, but the result is different. What types of images are suitable for each of these two types of models?

The edge map of the same image is listed as follows. (I want to extract the edge of the steps)
img2r

table5_pidinet
img2r
table7_pidinet
img2r

@minh-nguyenhoang
Copy link

I guess the converted model are already loaded with the fused weight while the original one requires you to re-calculate the weight every forward pass so there will be a little overhead. The converted layer with fused weight will act as a normal convolution layer so you can export this to other format as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants