This is Yongsheng. I’m currently working on generative vision model 🔥.
yeates / mmt Goto Github PK
View Code? Open in Web Editor NEW[ECCV22] Unbiased Multi-Modality Guidance for Image Inpainting
License: Apache License 2.0
[ECCV22] Unbiased Multi-Modality Guidance for Image Inpainting
License: Apache License 2.0
Hello, thank you for your excellent work! I used utils/generate_face_parsing.py to generate the segmentation maps for CelebA-HQ, but nothing was generated.
The edge_loss and seg_loss are increasing accumulatively when I train the OST dataset, whether it is the code 'weight = (label_anno.view(bs, -1) == (self.n_cate_anno-1)).sum(1) == h * w # for cityscapes datasets segmentation' to cause the error in training OST dataset.
and the training sample images are wrong, as the predicted segmentation map, predicted edge map and the inpainted image are error. And this wrong sample image usually occurs after 20000 training iters.
Traceback (most recent call last):
File "D:/研究生/图像修复/文献代码/Unbiased Multi-Modality Guidance for Image Inpainting/MMT-main/train.py", line 53, in
run()
File "D:/研究生/图像修复/文献代码/Unbiased Multi-Modality Guidance for Image Inpainting/MMT-main/train.py", line 40, in run
dataloader = DataLoader(dataset, batch_size = args.batch_size, shuffle = True, num_workers = args.n_threads)
File "D:\Tools\Anaconda\envs\magic\lib\site-packages\torch\utils\data\dataloader.py", line 262, in init
sampler = RandomSampler(dataset, generator=generator) # type: ignore
File "D:\Tools\Anaconda\envs\magic\lib\site-packages\torch\utils\data\sampler.py", line 103, in init
raise ValueError("num_samples should be a positive integer "
ValueError: num_samples should be a positive integer value, but got num_samples=0
Process finished with exit code 1
Thanks for this amazing work but I am unable to find pretrained weights for OST and Cityscape dataset. Can you please provide those.
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.