photo

Amanjit Dulai

Last seen: Today Active since 2016

Followers: 1   Following: 0

Message

Statistics

All
  • Solver
  • 3 Month Streak
  • First Review
  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer

View badges

Feeds

View by

Answered
Availability of upsampling and batch normalization layer in neural network toolbox
batchNormalizationLayer is available from 2017a. resize2DLayer is available from R2020b.

28 days ago | 0

Answered
How can we use Nadam optimizer in place of sgdm in training deep learning networks
You can train with Nadam by defining a custom training loop. The function dlupdate can be used to define custom update rules for...

28 days ago | 0

Answered
How to use Nadam optimizer in training deep neural networks
You can train with Nadam by defining a custom training loop. The function dlupdate can be used to define custom update rules for...

28 days ago | 0

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

8 months ago

Answered
How to define my own performance function using fitnet besides copying the source code like mse.m?
See this answer for a step by step guide on how to create a custom performance function: https://uk.mathworks.com/matlabcentral...

12 months ago | 0

| accepted

Answered
Can you please guide utilizing Validation Data along with an image data store?
You can specify validation data in the training options with the ValidationData option. Below I've used your test data set, but ...

1 year ago | 0

| accepted

Answered
Text Data through RNN
Here is an example for training an LSTM to classify text: https://mathworks.com/help/textanalytics/ug/classify-text-data-using-...

2 years ago | 0

Answered
Error in predicted outputs for labels in neural network
As mentioned here: https://uk.mathworks.com/matlabcentral/answers/1835423-what-s-wrong-with-my-neural-network#answer_1085378 the...

2 years ago | 0

Answered
What's wrong with my neural network?
I managed to get this to work by reducing the learning rate: x = rand(75,11); y = randi(5, 5, 75); P = x'; T = y; % Set...

2 years ago | 0

| accepted

Answered
How to improve accuracy of SqueezeNet convolutional neural network?
Getting good performance with deep learning can take some experimenting. I tried some simple things with the data you linked to:...

2 years ago | 0

| accepted

Answered
Custom Vnet layer validation failed error
It's tricky to tell without the code for createVnetBn, but I would guess the problem is this line in prelu3dLayer: % Initialize...

2 years ago | 0

Answered
How to obtain Shapley Values with a pattern classification neural network?
It is possible to do this by passing a function handle to shapley. This function handle needs to output the score for the class ...

2 years ago | 0

| accepted

Answered
train brain tumor dataset
There is an example of training a network to perform 3-D Brain Tumor Segmentation here: https://mathworks.com/help/images/segme...

3 years ago | 0

Answered
Is a Bi-GRU available - bidirectional Gated Recurrent Unit (GRU) - or a way to implement a Bi-GRU?
A bi-LSTM layer works by applying two LSTM layers on the data; one in the forward direction and one in the reverse direction. Yo...

3 years ago | 4

| accepted

Answered
RMSE for 3D regression of image data
How many values does your network output? If you are using regressionLayer in your network, it will not divide the loss by the n...

3 years ago | 0

Answered
Activations of freezed layers are different between before/after training, why?
The vectors are different because when you fine tune on a new dataset, the average image in "imageInputLayer" is recalculated fo...

6 years ago | 1

| accepted

Answered
Custom Neural Network Sample Code Fails on GPU
Instead of using nndata2gpu to prepare your data for GPU training, you can use the 'useGPU' flag. Just change the call to train ...

7 years ago | 1

Answered
Neural networks - CUDAKernel/setConstantMemory - the data supplied is too big for constant 'hintsD'
I was able to reproduce your issue. The best solution is to do the GPU training a different way by using the 'useGPU' flag. This...

8 years ago | 0

| accepted

Answered
Output processing function REMOVECONSTANTROWS is not supported with GPU.
The error message you are getting suggests that there are rows in your output data which are constant. Without knowing what your...

8 years ago | 2

| accepted

Answered
Error when using 'useGPU' for training neural networks
I suspect that the problem here is related to the type for the variable d1. I managed to replicate your error by using a single ...

8 years ago | 3