Comments (1)
If you are just using partial conv for padding, setting groups = 1 in line https://github.com/NVIDIA/partialconv/blob/master/models/partialconv2d.py#L59 will work even the main convolution's groups is not 1. As what we want is just a reweighting map and the mask channel size is 1.
However, if your mask channel size is not 1, you can set the groups to be the main convolution's groups value accordingly, and divide the channel size in https://github.com/NVIDIA/partialconv/blob/master/models/partialconv2d.py#L33 by groups as well.
from partialconv.
Related Issues (20)
- Pretrained Checkpoints
- Demo not working HOT 12
- About train details
- papaer arch partial conv num question HOT 1
- Problem with Pretrained checkpoints
- Some comments about code of PartialConv2d HOT 4
- How to test the code with the different ratios mask? HOT 1
- About mask training dataset HOT 5
- Doesn't take 2 channel mask as input HOT 2
- Online Demo down? HOT 7
- Pytorch export trace/script
- Blurry results and non-recoverable facial features in CelebA-HQ dataset HOT 3
- image inpainting error
- I can't import models in main.py
- About args: multi-channel for image inpainting
- partial con
- Inpainting demo not working HOT 2
- The updating of mask HOT 1
- 2d and 3d implementation differences
- Map at edges is peaking (PartialConv2d implementation + fix) HOT 6
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 partialconv.