bbdamodaran / deepjdot Goto Github PK
View Code? Open in Web Editor NEWImplementation of DeepJDOT in Keras
License: MIT License
Implementation of DeepJDOT in Keras
License: MIT License
Currently I am using my ground truth labels of the target dataset for searching the optimal loss weights.
In your code they are called sloss, tloss, jdot_alpha
.
Are there other simple methods (heuristics) for finding the optimal hyperparameters, such that the target accuracy is maximized, but without using the target labels.
Dear Prof. Bharath Bhushan Damodaran,
In the paper,in page 9 ,about the embedding function g,the author show that there is a fully-connected layer behind the convolutional layers .Whether it need a pooling layer between these layers?
What 's the pool_size?
Thank you very much!
Best regards.
In dnn.py
, there is an error when trying to import Merge. I believe this can be removed:
from keras.layers import Merge, merge
Not important, I am just curious about your code style in the Deepjdot class.
Why do you assign functions to the class with the following structure:
class Deepjdot(object):
....
def foo(baz):
do_sth(baz)
self.foo = foo
Instead of:
class Deepjdot(object):
....
def foo(self, baz):
do_sth(baz)
Has your implementation any advantages?
Hello.
Can you release the code for real datasets?such as MNIST or USPS.
Thank you very much.
According to PR #9, the learning rate was fixed. This issue is created as a reminder that we have to experiment on the demo and SVHN data to see if high accuracy is still obtained with the learning rate change.
After someone experiments and see high accuracy then this issue should be closed.
I want to improve accuracy or loss of target dataset. So I would want to ask a few questions that might affect the accuracy.
Recently, I read your ECCV2018 paper. It's an awesome paper. However, when I read this repository, I had some questions about the loss. When you fixed gamma to optimize the embedding function (g) and classifier (f), you used the cross-entropy loss. When you fixed g and f to optimize the gamma, you used the L2 loss. However, in your paper, you used the same function which was Lt. May you tell me why the Lt is different in these two steps?
Hi! Thank you for the procedure, I recently applied your program to solve some practical problems. But I encountered some difficulties. In your jdot_align model, you use self.model.train_on_batch([data], [np.vstack((ys, l_dummy)), g_dummy]) to train, but I encountered the problem of overfitting. I learned by checking the information that the function train_on_batch doesn't have Callback functions, So I can't save the best model. Do you have any other good solutions? thanks!
Hello,I want to transfer from MNIST to USPS.
How to resize MNIST or USPS in keras?
Thank you.
@bbdamodaran I want to do regression from 0 to 1. (Not 0 or 1), how do I modify the code to do so? Suppose I already have the data available in the deepjdot_demo by replacing target values with 0.9 or 0.1 instead of 1 or 0. One of the changes I can do to the demo is to predict how close the sample is to the center.
My real use case is to predict how much someone opens their mouth or how much their open their eyes (0 = completely closed, 1 = completely opened) with source domain as image from day lighting and target domain as image from night lighting (and maybe from different person face).
If deepjdot doesn't work with regression, what are some of the other approaches I can use?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.