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

How to change number of elements? #9

Closed
sukritiverma1996 opened this issue Jun 18, 2022 · 2 comments
Closed

How to change number of elements? #9

sukritiverma1996 opened this issue Jun 18, 2022 · 2 comments

Comments

@sukritiverma1996
Copy link

Hey,
I've been trying to train a model on Rico with more data
In rico.py, I can see that number of elements are capped at 9

I've been going through your generator and discriminator code and I would greatly appreciate some help in where I need to make changes so the models can accept in data samples with bboxes and labels > 9.

Thanks so much!
Sukriti

@ktrk115
Copy link
Owner

ktrk115 commented Jun 20, 2022

Hi Sukriti,

If I remember correctly, you don't need to edit the code for both the generator and the discriminator. The code should work with variable length of elements. To add more labels, you need to edit the following.

labels = [
'Toolbar',
'Image',
'Text',
'Icon',
'Text Button',
'Input',
'List Item',
'Advertisement',
'Pager Indicator',
'Web View',
'Background Image',
'Drawer',
'Modal',
]

If you get any results with the full Rico dataset, I would appreciate it if you could share them here or on PR.

Thanks!
Kotaro

@sukritiverma1996
Copy link
Author

Yes, definitely
This is my first time dabbling with GANs though
Thank you!

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

2 participants