Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion Error #6

Open
mahtadarvish opened this issue May 4, 2021 · 0 comments
Open

Assertion Error #6

mahtadarvish opened this issue May 4, 2021 · 0 comments

Comments

@mahtadarvish
Copy link

mahtadarvish commented May 4, 2021

I got "Assertion Error" over and over again while running the pretrain.py on cfg/fashiongen2.yml.
Does anybody know how to solve this?

loading 260490 captions (train)
0 captions exceeding the max word count of 10
loading 32528 captions (test)
0 captions exceeding the max word count of 10
Save to: ../data/fashiongen/captions2_attngan.pickle
1 1

AssertionError Traceback (most recent call last)
in ()
239
240 print(dataset.n_words, dataset.embeddings_num)
--> 241 assert dataset
242 dataloader = torch.utils.data.DataLoader(
243 dataset, batch_size=batch_size, drop_last=True, shuffle=True, num_workers=int(cfg.WORKERS))

AssertionError:

@menardai

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant