Comments (2)
The generate function is a really hacky thing I wrote quickly to be able to create animations, and the Yale database is really a tacked-on afterthought that I did to try to find an open dataset, so I'm really not sure what happened from this stack trace alone.
The yaml files have different parameters for Yale though -- instead of "or" (orientation) and "em" (emotion), it's "lt" (lighting) and "ps" (pose). I think I also hard-coded the number of identities in there, so if your dataset is missing people or has extra people it might crash.
from deconvfaces.
Finally got it to work.
The following is a summary of what I had to do to make it work with the Extended Yale Face Database B:
- As mentioned above the parameters file needs to be changed to reference only valid ids
- The Yale DB uses different parameters (as mentioned above) so the parameters file needs to be updated accordingly.
- Earlier I trained only one identity yaleB30 which then produces all kinds of error during the generation phase. I decided to switch to consecutive identities from the top, i.e., yaleB01 , yaleB02 , and yaleB03, the errors then magically went away.
- It seems that the variable NUM_YALE_ID in generate.py is not getting automatically updated to the total number of identities as expected. If I manually hard-code it (which should be 3 in my test case) then all's well.
Hope this helps somebody.
@zo7 Many thanks for the help.
from deconvfaces.
Related Issues (12)
- Deconvolution vs Upsampling HOT 1
- Can I input a strange face and output a face of different emotions or poses? HOT 3
- keras, tensorflow, theano versions? HOT 4
- Trained Model Request HOT 1
- Problem while generating: No data provided for "pose"
- Can you share your dataset? HOT 6
- Use a more open dataset HOT 7
- why there is a pooling layer with pool_size=(1,1) before the upsamping layer? HOT 3
- Problem training on YaleFaces HOT 1
- How to build a Holodeck with this HOT 3
- Runtime Error Warning 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 deconvfaces.