Git Product home page Git Product logo

mmt's Introduction

Hi there 👋

This is Yongsheng. I’m currently working on generative vision model 🔥.

mmt's People

Contributors

yeates avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

lvyong1943

mmt's Issues

segmentation maps

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, and the training sample images are wrong.

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.
1695706340654

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.

1695706879925

你好,在训练过程中出现如下问题,可以帮助解答一下吗?

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

Can you post your results?

I tried your model and this is the result I got back. The left side is the predicted area. It seems to fail on skin tone, hair, ear and jaw line. Otherwise it's pretty good. Could you post your results so I have something to compare this to?
out2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.