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 large memory is required for the experiment #1

Open
amiltonwong opened this issue Oct 12, 2020 · 5 comments
Open

How large memory is required for the experiment #1

amiltonwong opened this issue Oct 12, 2020 · 5 comments

Comments

@amiltonwong
Copy link

Hi, @lucidrains ,

Thanks you a lot for releasing the prototype so quickly. How large memory is required for the experiment?

THX!

@lucidrains
Copy link
Owner

@amiltonwong thanks for your interest! I'll be trying it out next week in some generative models

have you tried it and found it to be memory intensive?

@PistonY
Copy link

PistonY commented Oct 20, 2020

I try out LambdaResnet50 with 64 batch_size about cost 9-10GB gpu memory in FP32 precision,it's much larger than Resnet50

@jason90330
Copy link

Thanks you for your Implementation so efficientcy, but I have the similar problems to @PistonY .
I use the lambda layer before I feed my image to the efficientNet-b4, and I would like to move my model into GPU but it took 18.76GB.
image

Here is the parameters in my lambda layer.
image

@VuHoangvn
Copy link

You should specify r
image

@jason90330
Copy link

@VuHoangvn Thank a lot, I have revised the question I asked before, but I am still wondering if I can use the lambda layer into other SOTA model such as efficientnet. just like the image I post, can I insert this layer in front of my model directly? thank you.
BTW, I have tested the score of the question I asked, but I got a lower score than without the lambda layer.
image

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

5 participants