Community Profile

photo

Amanjit Dulai

Last seen: 10 days ago Active since 2016

Statistics

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

View badges

Content Feed

View by

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...

4 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 ...

10 months 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-...

1 year 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...

1 year 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...

1 year 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:...

1 year 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...

1 year 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 ...

1 year 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...

2 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...

2 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...

2 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...

5 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 ...

6 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...

7 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