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

Load on laptop CPUs #41

Closed
divyanshj16 opened this issue Jun 10, 2017 · 6 comments
Closed

Load on laptop CPUs #41

divyanshj16 opened this issue Jun 10, 2017 · 6 comments

Comments

@divyanshj16
Copy link

I have an HP Notebook - 15-ac026tx with Intel i5 (5th gen), 4GB RAM, 2GB AMD Radeon graphics card.Full Specifications
I want to run your code on my laptop. Won't it harm my laptop battery and its hardware?
I read somewhere on the Internet that training high computation models can severely harm laptops?
I just want to know is it okay if I train it on my laptop?

@junyanz
Copy link
Owner

junyanz commented Jun 13, 2017

I am not sure if PyTorch supports AMD GPUs. You can train your model on the Intel CPUs, But it will be quite slow. I haven't trained any model on an everyday use laptop by myself.

@divyanshj16
Copy link
Author

How much time does it take on your computer?

@junyanz
Copy link
Owner

junyanz commented Jun 13, 2017

It takes 3-4 hours for pix2pix training on facades datasets with a Nvidia GTX 1080 GPU.

@divyanshj16
Copy link
Author

Haven't you saved the model? so that we can use it without training?

@junyanz
Copy link
Owner

junyanz commented Dec 29, 2017

There are a few pix2pix and cyclegan models available. See this post on pre-trained models for more details.

@junyanz junyanz closed this as completed Dec 29, 2017
@lxj616
Copy link

lxj616 commented Jan 15, 2018

Add a hint for those who searched 'time' to get here:
'It takes 3-4 hours for pix2pix training on facades datasets with a Nvidia GTX 1080 GPU.'

which means that if you use a desktop nvidia gpu, like GTX 745 I am using, It has a 4GB vram (50% of the GTX1080), then it shall use 6-8 hours IF ONLY CONSIDERS THE BATCH SIZE LOSS

And If you are using cpu, consider a desktop i7 with enough RAM , it is about 48-64 hours in total (800% time consuming)

for a laptop 4GB RAM, you need to reduce the batch size, which is ... even slower, and if you are using i5-laptop-version, please save your time and don't even try

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

3 participants