Comments (7)
It is possible that the dataset failed to load, causing this for loop not to be run.
from thin-plate-spline-motion-model.
The videos have mp4 format. I had the same error with the repository https://github.com/snap-research/articulated-animation/
Training articulated-animation in standard training mode with png and mp4 files was successful. When trying to train in avd mode mp4 files did not work. pngs were working fine.
Now in thin plate model neither png nor mp4 do not work.
I had to change this line in run.py because of an error:
with open(opt.config) as f:
config = yaml.load(f)
to
with open(opt.config) as f:
config = yaml.load(f, Loader=yaml.FullLoader)
from thin-plate-spline-motion-model.
- you can check that the dataset path in the config file is correct.
- I use the same dataset loading script as mraa and the code should be fine
- MRAA's avd mode uses a larger batchsize (256). mp4 mode loads a large amount of video into memory, which can lead to memory overflow, while png mode loads only two frames of images for each sample, so it is better to use PNG mode.
from thin-plate-spline-motion-model.
It appears to have this error when i change the num_repeats = 150 to 2 in config file.
UnboundLocalError: local variable 'x' referenced before assignment
from thin-plate-spline-motion-model.
Are you using your own dataset with a small sample size, if so, change this line to drop_last=False
.
from thin-plate-spline-motion-model.
Ok, this is fixed. I am using a small sample size. But it is still using the memory to the max. Is there any way i could limit this behaviour? For standard training i set batch size to 7 for ~10 GB VRAM and num_repeats = 2. With your fix its running ok.
from thin-plate-spline-motion-model.
@surfingnirvana Did you end up with good results from your training?
from thin-plate-spline-motion-model.
Related Issues (20)
- AttributeError at animation generation HOT 1
- When setting “find_best_frame = True”, an error occurs in the bottom four modules in demo.ipynb. HOT 1
- Erroring out at - from demo import load_checkpoints
- After training, ask reasoning questions with checkpoints
- Training data questions
- EOFError Ran out of input HOT 11
- Invalid loadkey HOT 3
- RuntimeError: Expected hasRecord("version") to be true, but got false. HOT 2
- FileNotFoundError: [Errno 2] No such file or directory: 'checkpoints/vox.pth.tar'
- Generating video issues with notebook
- fine tune on a single speaker? HOT 1
- How to adjust this result in coding? HOT 3
- FileNotFoundError: [Errno 2] No such file or directory: 'checkpoints/vox.pth.tar' HOT 2
- [Feature request] wav2lip for 3d models's "bones"
- Still no 512 or 768 pre trained model? HOT 21
- Visualizing keypoints
- train 512 or higher resolution HOT 3
- Image animation given only keypoint vectors. HOT 1
- Is this project still maintain ?
- I have a problem with curling HOT 1
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 thin-plate-spline-motion-model.