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

DockerFile for Mac users to run DeepfaceLab with CPU Mode #95

Merged
merged 4 commits into from Jan 1, 2019

Conversation

Projects
None yet
2 participants
@Pluckypan
Copy link
Contributor

Pluckypan commented Jan 1, 2019

Make an easy way to run DeepFaceLab in Docker with cpu only mode for Mac Users,Check out DockerCPU.md for more detailed instructions.

Fix Some Bugs:

  1. fix localization nullpointer exception 96a5fd0
  2. fix devicelib error line:61 02f511c
@Pluckypan

This comment has been minimized.

Copy link
Contributor

Pluckypan commented Jan 1, 2019

@iperov All necessary files

@iperov

This comment has been minimized.

Copy link
Owner

iperov commented Jan 1, 2019

  1. Memory leakage will occur on thread queues if no preview
  2. where is tf in requirements-cpu-docker.txt ?

also I cannot support linux scripts in future, because I am not familiar with linux.

@Pluckypan

This comment has been minimized.

Copy link
Contributor

Pluckypan commented Jan 1, 2019

  1. can you fix it.it works for me with no preview.the big problem is it's too slow train with cpu.
  2. the DockerFile.cpu has provide tensorflow runtime. FROM tensorflow/tensorflow:latest-py3

I think it's useful for MacBook users. Because you just released Windows applications.

@iperov

This comment has been minimized.

Copy link
Owner

iperov commented Jan 1, 2019

yes CPU train only good for H64 with 2 batch size.

Latest tf is not good. Repo curently tested only with 1.11.0.

@iperov

This comment has been minimized.

Copy link
Owner

iperov commented Jan 1, 2019

May be create separated branch or fork special for mac ? I just dont want to support mac/linux and docker :(

@Pluckypan

This comment has been minimized.

Copy link
Contributor

Pluckypan commented Jan 1, 2019

ok, it's up to u.thx.

@Pluckypan Pluckypan closed this Jan 1, 2019

@iperov

This comment has been minimized.

Copy link
Owner

iperov commented Jan 1, 2019

@Pluckypan can I write tensorflow to requirements-cpu-docker.txt ?

@iperov iperov reopened this Jan 1, 2019

@iperov iperov merged commit a8694b7 into iperov:master Jan 1, 2019

@Pluckypan

This comment has been minimized.

Copy link
Contributor

Pluckypan commented Jan 1, 2019

@iperov Better not,because I haven't test it.
But i think you can edit FROM tensorflow/tensorflow:latest-py3 to FROM tensorflow/tensorflow:1.11.0-py3 in Dockerfile.cpu if DeepFaceLab better run with tensorflow:1.11.0.

@iperov

This comment has been minimized.

Copy link
Owner

iperov commented Jan 1, 2019

ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment