-
Notifications
You must be signed in to change notification settings - Fork 63
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
Example of Use in a Tensorflow NN #4
Comments
I don't have any self-contained examples of this currently, but I agree it'd be good to add something. What task are you trying to solve? Different things could be predicted by the neural network -- vertices? poses? camera/lighting parameters? |
Thanks for your reply. At present, I'm interested in predicting vertices, i.e. morphing a reference shape into a target shape. In the near future, I will want to hold shape fixed and predict poses. The camera/lighting are controlled by me at present. |
@pmh47 do you have any working layer? I am presently working on a custom keras layer and any example would be very helpful. |
Unfortunately I don't have the time to prepare an 'end to end' worked example of training this kind of thing just now. However, wrapping into a keras layer is very straightforward --
Then, for example, you could have a fully-connected layer producing the vertex locations and pass these to that custom rasterise layer (again, an untested sketch, and a trivial orthographic projection):
|
Thanks for taking the time, Paul. No end-to-end need; this sketch is a great start; I was going much more complex than needed. |
I have some working examples; I will put some simple ones up in the next few days. |
Do you have an example of dirt's use as (say) the output layer of a neural net? Thanks
The text was updated successfully, but these errors were encountered: