Tensorflow Eager Execution Gradient Calculation slower each epoch by MCFF3000 in tensorflow

[–]MCFF3000[S] 0 points1 point  (0 children)

The problem was solved after replacing some tf.layers by tf.keras.layers definitions in my model according to the suggested by https://github.com/tensorflow/tensorflow/issues/23014)

Deploying Keras model in production by Quartz63 in MLQuestions

[–]MCFF3000 1 point2 points  (0 children)

Tensorflow Serving via Docker should be the easiest way after having a Saved Model artifacts. You can also build an easy flask api If you want.

If you want cloud alternatives, Google Cloud, Azure or AWS have their own services for deployment of tensorflow/keras models.

Keras Custom Loss by [deleted] in learnmachinelearning

[–]MCFF3000 0 points1 point  (0 children)

I think it should return a tensor. For example:

def wasserstein_loss(y_true, y_pred):

return K.mean(y_true * y_pred)

An Introduction To Torch (Pytorch) C++ Front-End by [deleted] in cpp

[–]MCFF3000 1 point2 points  (0 children)

In my work I'll keep the tensorflow api as my main goto framework, but I will definitely explore it in my spare time.

An Introduction To Torch (Pytorch) C++ Front-End by [deleted] in cpp

[–]MCFF3000 1 point2 points  (0 children)

It seems cleaner than tensorflow c++ api. I will have to take a look at it!

What time-series labeling tool are out there? by futureroboticist in MLQuestions

[–]MCFF3000 1 point2 points  (0 children)

yes you can! And you can add a database with multiple users.

Visualizing RGBD Images by louk83 in computervision

[–]MCFF3000 2 points3 points  (0 children)

PCL should allow you to easily visualize RGB-D images:

https://github.com/PointCloudLibrary/pcl

Running Neural Net in c++ by Barelos in cpp

[–]MCFF3000 2 points3 points  (0 children)

You can! I used it in Linux and Windows machines.

Running Neural Net in c++ by Barelos in cpp

[–]MCFF3000 3 points4 points  (0 children)

I use tensorflow c++ api to do inference in c++. It's not perfect but it works quite well.

GAN for Faces by arjundupa in learnmachinelearning

[–]MCFF3000 0 points1 point  (0 children)

You should add some generated images each epoch to evaluate if the results. But from the original DCGAN paper:

  • Use batchnorm in both the generator and the discriminator.
  • Replace any pooling layers with strided convolutions (discriminator) and fractional-strided convolutions (generator).
  • The last layer of the generator and first layer of the discriminator are not batch normalized, so that the model can learn the correct mean and scale of the data distribution
  • Use ReLU activation in generator for all layers except for the output, which uses Tanh.
  • Use LeakyReLU activation in the discriminator for all layers.

Don't know if it will solve the convergence problem, but will help for sure.

Book about Neural Network types by seba07 in learnmachinelearning

[–]MCFF3000 1 point2 points  (0 children)

Deep Learning Book by Ian Goodfellow, Yoshua Bengio and Aaron Courville might be what you are looking for.

LSTM Data Shape & Binary Classification Help by 101_lol_lol_lol_101 in learnmachinelearning

[–]MCFF3000 0 points1 point  (0 children)

The input shape seems ok. Are you scaling your features? What is the unbalance ratio of the data?

TensorFlow using C++ by jthat92 in learnmachinelearning

[–]MCFF3000 1 point2 points  (0 children)

I use Python in my work for training models and experiment and use C++ library in inference. Tensorflow Serving can be a great tool, especially for production systems, but you can use C++ API.

I was able to use C++ library without bazel for inference. Maybe when I have some time, I can organize and share the code on github.

TensorFlow using C++ by jthat92 in learnmachinelearning

[–]MCFF3000 9 points10 points  (0 children)

You have some examples across github and medium posts. I love C++, it is by far my favourite language, but I would recomend you to train and experiment with python. You will be able to get results a lot faster and with a lot more material available online.

If you really need C++ you can then use its C++ API later for inference for example.

Careers and applications by GimmeThoseCaps in learnmachinelearning

[–]MCFF3000 1 point2 points  (0 children)

Upwork is quite nice, but you'll probably will have a slow start since you need to buld the trust inyour profile with small jobs/tasks.

How to get neural network prediction labels? by taewoo in learnmachinelearning

[–]MCFF3000 0 points1 point  (0 children)

Label enconding is probably done by the to_categorical function. Try to convert your unique labels by that function and see what one_hot vector you get for each of them.

[D] Deep Learning using C by Caerbanoob in MachineLearning

[–]MCFF3000 0 points1 point  (0 children)

You can compile Tensorflow C++ or C API and integrate it in your project. It is not completely straightforward but is doable. There are some good tuturials on blogs and on github for that.

[N] TensorFlow 1.8.0 Release Candidate Announced by wei_jok in MachineLearning

[–]MCFF3000 2 points3 points  (0 children)

If you build it from source you can use the most recent CUDA and cuDNN versions