Giter Club home page Giter Club logo

beautygan-pytorch-reimplementation's People

Contributors

thaoshibe 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

beautygan-pytorch-reimplementation's Issues

A question

Excuse, what is the difference between the setting of args.model == 'cycleGAN' and args.model =='makeupGAN'

Dataset is unavailable

The link to the dataset can not be used, can you please upload the dataset or a link that can help?

My test results have some issues

Hi,As you can see, in my test results, it will display non-makeup and makeup images, but other fake_A\fake_B and rec_A\rec_B images are all black. I don't understand why. Can you give me some help
1

How to use the trained model

Hi, I used your code to train a new model, however, I don't know how should I use it to generate fake images. Thanks a lot for helping.

training time

histogram_matching has cpu().numpy(), how about training time?

the test code

Hello, do you have a plan to release the testing code?

No visualization, logs and snapshots

Hi Thaoshibe,
I try to train network by:

python train.py --data_path /path/to/dataset --epochs=5000 --vis_step=100 --task_name=ganmakeup002

I already trained 368 epochs from 5 000 but I am not able to find any output in these subdirectories /vizualization/_ganmakeup002 , /snapshot/_ganmakeup002, /logs/_ganmakeup002. I expected some outputs every 100 epochs (--vis_step=100). Did I miss some parameter?

数据问题

因为源数据集已经不可用,我在网上找到了数据集但是可能里面的文件和元数据及不太一样,能否提供源数据集的文件夹结构?

IndexError: Cannot choose from an empty sequence

When I tried to run this code, it reported such an error:
Traceback (most recent call last):
File "train.py", line 76, in
train_net()
File "train.py", line 59, in train_net
solver.train()
File "/data/home/scv0004/BeautyGAN-pytorch-reimplementation/solver_makeup.py", line 264, in train
for self.i, (img_A, img_B, mask_A, mask_B) in enumerate(tqdm(self.data_loader_train)):
File "/data/home/scv0004/.conda/envs/beautygan/lib/python3.7/site-packages/tqdm/std.py", line 1178, in iter
for obj in iterable:
File "/data/home/scv0004/.conda/envs/beautygan/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 517, in next
data = self._next_data()
File "/data/home/scv0004/.conda/envs/beautygan/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 557, in _next_data
data = self._dataset_fetcher.fetch(index) # may raise StopIteration
File "/data/home/scv0004/.conda/envs/beautygan/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/data/home/scv0004/.conda/envs/beautygan/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in
data = [self.dataset[idx] for idx in possibly_batched_index]
File "/data/home/scv0004/BeautyGAN-pytorch-reimplementation/data_loaders/makeup.py", line 29, in getitem
idxA = random.choice(range(self.noiA))
File "/data/home/scv0004/.conda/envs/beautygan/lib/python3.7/random.py", line 261, in choice
raise IndexError('Cannot choose from an empty sequence') from None
IndexError: Cannot choose from an empty sequence
Can you take a look at it for me when you have time?

Advice for segmentation

Hi,
I have different makeup image database (non-makup + makup images), but there is no segmentation. Could you please advice me how to prepare segmented images? Is there any library?
Thanks

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.