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

single_object.py #42

Closed
BernhardEgger opened this issue Aug 28, 2020 · 3 comments
Closed

single_object.py #42

BernhardEgger opened this issue Aug 28, 2020 · 3 comments

Comments

@BernhardEgger
Copy link

BernhardEgger commented Aug 28, 2020

Hi,

I just got started with TDW and it so far looks all great :)

I have however three questions to the single-object case - this is probably closest to what we plan to do:

  • it refers to "Martin Schrimpf's and Jonas Kubilius' ImageNet transfer research" is there a paper or something that shows me what that project was?
  • it renders in the highest possible quality, but then saves the files in jpg format with strong compression artifacts - is that intended?
  • I tried to start with --train=1 --val=1 and it seems like those values are just ignored?

Best
Bernhard

@alters-mit
Copy link
Member

it refers to "Martin Schrimpf's and Jonas Kubilius' ImageNet transfer research" is there a paper or something that shows me what that project was?

I think this paper has the most information https://arxiv.org/pdf/2007.04954.pdf

it renders in the highest possible quality, but then saves the files in jpg format with strong compression artifacts - is that intended?

Yes, because we found that they didn't affect the results. Use the --screen_size and --output_size parameters; if you set screen size to be higher (512) and output size lower (256) the image will be scaled down, which actually looks a lot better.

I tried to start with --train=1 --val=1 and it seems like those values are just ignored?

How many images per category does the script generate?

@BernhardEgger
Copy link
Author

BernhardEgger commented Aug 28, 2020

Thank you for guiding me for the paper

for the second point, I just deactivated the jpg output, since I'm generating pretty small images

it generates more than one - I have to stop it so I don't know where it would go. This is the directory structure I get after few seconds:
Screenshot from 2020-08-28 14-51-38

the meta-data file however gets the correct value
"train": 1,
"val": 1,

@alters-mit
Copy link
Member

Closing this issue because this is the intended behavior of single_object.py

There should be one image per model. The fact that there's 2 is probably just a small rounding error.

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