Groups
Sign in
Groups
Caffe Users
Conversations
Labels
About
Send feedback
Help
Implement backward for Bhattacharyya distance
29 views
loss
newlayer
python
python3
Skip to first unread message
Saeed Izadi
unread,
Oct 11, 2016, 8:10:06 AM
10/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Caffe Users
Hi,
I aim to implement my custom Bhattacharyya loss function using python layer. I've seen the following examples as guides:
https://github.com/BVLC/caffe/blob/master/examples/pycaffe/layers/pyloss.py
https://github.com/BVLC/caffe/issues/4023
Here is the cost function and its partial derivative for stochastic gradient decent:
I have implemented the forward function, but don't know how to deal with the backward function. Please help me with this implementation.
Thanks
Reply all
Reply to author
Forward
0 new messages