Comments (9)
You most likely ran out of memory. Your computer has 8GB of RAM and at its peak used 9.8GB. Which means it was most likely writing to the swap space on your hard disk. When your PC runs out of RAM space to write to, it will write to and read to a designated "swap" space on your hard drive as if it were part of your memory. This is to prevent your PC from crashing.
You need more than 8GB, because your OS and other apps will also use part of your memory. But 16GB will probably be fine. Just be aware that running it on CPU will most likely be 10 times slower than running it on a GPU. So even if you have the RAM, but not a top of the line CPU or a compatible Nvidia GPU, training will take a long time.
from faceswap.
This may be specific to your setup. Please tell us what env are you running on. Do you use Docker ? Docker-machine ?
Also, for standard errors, a little Google search can help. This page for example has a couple of reasons/solutions.
from faceswap.
I'm closing this. If you still have problem, please submit them on the "faceswap-playground" repo
from faceswap.
So noboby has an Idea of the amount of RAM needed ?
from faceswap.
@cercata I tested it on a laptop with 16GB of RAM inside a docker container; it used up roughly 4-6GB. Your mileage may vary.
from faceswap.
@Ganonmaster Ok, perfect, so no need for huge ammounts of memory :)
from faceswap.
I can start running the train.py on my old iMac with 4Gb, from within a Docker-machine. I never trained fully the model as it takes ages, but at least it starts.
When is your training failing ? At start ? After a while ?
from faceswap.
@deepfakes it was in the first minute. After closing other programs, now it runs, and updates the h5 files.
The process has some 5.2GB peaks, using Python 3.6 x64 on a Windows 7 machine.
What do you mean by ages ?
If I install the GPU version of tensorflow, I'll need at least 5.2GB of VRAM ? Or it uses mainly RAM ?
It would be nice to define the "minimal requirements" ... but I guess it depeds on the number of pictures.
from faceswap.
"ages" means that it takes a very long time.
It is an old iMac 2009, so I don't really try to train a model on it. It is just to assess it works...
On the minimal requirements, feel free to share your experience in the faceswap-playground repo. There is no easy way to tell you that this or this platform is eligible or not for training or converting. The only way we have to know that is through the users feedback.
After, if you want to crawl docs of the tools to gather minimal requirements of each tool, feel free, it is up to you.
from faceswap.
Related Issues (20)
- Potential Issue in CI Workflow Affecting Code Coverage Accuracy HOT 1
- Error when open GUI after install HOT 1
- Bounding boxes coordinates HOT 1
- DeprecationWarning: 'locale.getdefaultlocale' is deprecated and slated for removal in Python 3.15. Use setlocale(), getencoding() and getlocale() instead HOT 1
- DeprecationWarning: pkg_resources is deprecated as an API. HOT 1
- There are model on project? HOT 2
- あ
- GUI crash when running on Apple Silicon macbook HOT 5
- Is my PC good for face swapping? HOT 1
- [Question] How isolated is the installer HOT 2
- Images found: 439 Faces detected: 0 HOT 1
- TypeError: unsupported operand type(s) for |: 'type' and 'type' HOT 8
- install error HOT 1
- Offline Installer? HOT 1
- windows installer: wrong pillow version installed HOT 2
- -LF option doesn't get carried to the internal tools HOT 1
- L
- inpaint error HOT 1
- just installed new graphic card and it stopped working HOT 1
- exception after few hours of training with villain HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faceswap.