Comments (5)
It's possible. You can write your own dataloader to read multiple inputs from the disk (you can modify this line for example), concatenate them and feed it to the network. (also change --input_nc
accordingly)
from bicyclegan.
Thanks for your suggestion.
My idea is to make the data loader load input_1, input_2 and groundtruth_output at the same time(side by side). Then concatenate two input images. The modified code is like this:
When I trying to run this code, I got an error at the transforms.Normalize() process said: TypeError: tensor is not a torch image.
Could you give me some suggestion about how to fix this issue and make this modified code works.
Thanks!
from bicyclegan.
I have worked out the last issue. By successfully applying two corresponding images as input, the generated output does not have better performance by comparing with original BicycleGAN.
I have another question:
The generator used in bicycleGAN is U-net.As far as I know, U-net is widely used in biomedical image segmentation. What is the advantage to use U-net as generator in BicycleGAN other than other generators?
from bicyclegan.
We adopt it from pix2pix [Isola et al. 2017]. Please refer to the pix2pix paper. See Sec 3.2.1 Generator with skips and Sec 4.3 Analysis of the generator architecture for more details.
from bicyclegan.
Thanks for your suggestion!
from bicyclegan.
Related Issues (20)
- Why does not large batch size like 128, 256 work well?
- Hi, please help me.
- Question about PatchGAN perception field HOT 4
- Why my LPIPS distance is larger than what your paper say? HOT 3
- Question about conditional_D implementation HOT 3
- Not clear in the difference between the two latent spaces predicted HOT 5
- Test on single images HOT 1
- Compute graph wrong and one question HOT 4
- test_before_push is a great rapid test file, but seems outdated? HOT 3
- Metric reporting HOT 1
- Question about Encoder in cLR-GAN HOT 1
- Question about generating fake_B_random
- Question: Do you need two separate discriminators? HOT 2
- Incorrect discriminator update for opt.use_same_D HOT 1
- Regarding Training your Own Images HOT 4
- How to train on large images?
- Is there <pix2pix+noise> model code that can be directly run? HOT 1
- diversity question
- TypeError: __init__() got an unexpected keyword argument 'nl_layer'
- Regarding Latent Space Interpolation
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 bicyclegan.