bcmi / bargainnet-image-harmonization Goto Github PK
View Code? Open in Web Editor NEWBargainNet: Background-Guided Domain Translation for Image Harmonization. Useful for Image harmonization, image composition, etc.
License: MIT License
BargainNet: Background-Guided Domain Translation for Image Harmonization. Useful for Image harmonization, image composition, etc.
License: MIT License
While evaluating the model, it seems like the real (target) image has to be passed as input for the discriminator to create a bg_style_map, which is then passed through the generator concatenated with the composite. What should be done when we do not have the real image? Isn't the aim to find the real image?
How to set other batchsize?
hi, this is a great job! I noticed that the output images were all compressed to 256 x 256d size. What should I do if I want to keep the size of the input original?
Looking forward to your reply!
hi, this is a great job! I want to apply the pre-trained model to the animation image domain, but I find that the performance is not as good as that of the real image domain. I hope to get your suggestions on how to improve the performance of the model in animation image domains:
(a)composite image
(b)Code generated image
Looking forward to your reply!
when i download trained model ,put it under ./checkpoints/<experiment_name>/. <experiment_name> What is this? it is latest_net_E.pth or latest_net_G.pth?
when run test.py : python test.py --name latest_net_G.pth --model bargainnet --dataset_mode iharmony4 --is_train 0 --norm batch --preprocess resize --gpu_ids 0 --input_nc 20 --netG s2ad
i have a error,FileNotFoundError: [Errno 2] No such file or directory: './checkpoints\latest_net_G.pth\test_opt.txt',what is test_opt.txt.i
don,t have this file.
Hello, thanks for opening source the great project.
I have 2 issuss when reproduce the project:
thanks in advance!
Can you please update the license of the repo? Thanks!
Hi, I'd like to give this a try but I'm having trouble downloading the models. Is there another location that you could upload them? Thanks very much!
您好,请问一下代码是只支持单卡训练么?可以进行多卡训练么
When I try to run this repo, the error is reported.
"AttributeError: module 'albumentations.augmentations.transforms' has no attribute 'Resize'"
details:
File "/BargainNet-Image-Harmonization/data/base_dataset.py", line 68, in get_transform
transform_list.append(transforms.Resize(256,256))
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.