I was working on segmentation using unet, its a multiclass segmentation problem with 21 classes. Thus Ideally we go with softmax as activation in the ...
I was working on segmentation using unet, its a multiclass segmentation problem with 21 classes. Thus Ideally we go with softmax as activation in the ...
I am trying to figure out a way to get the rows of a 2-d matrix squared. The behaviour I would like to have is something like this: I need this to ...
I am building a two-layer neural network from scratch on the Fashion MNIST dataset. In between, using the RELU as activation and on the last layer, I ...
I am supposed to run a model with 0,1,2,3,4,5 labels from MNIST data and check accuracy. I have to use one-hot encoding as well. This is what I got: ...
I'm trying to implement a Softmax activation that can be applied to arrays of any dimension and softmax can be obtained along a specified axis. Let ...
I have the following neural network structure: This code is working for model.fit and I have the accuracy for the test set with no problem, but I'm ...
I'm trying some experiments on a simple neural network that just tries to learn the squares of some random numbers, represented as arrays of decimal d ...
I'm getting weird results from a PyTorch Softmax layer, trying to figure out what's going on, so I boiled it down to a minimal test case, a neural net ...
I am working on a multi-class computer vision classification task and using a CNN with FC layers stacked on top using softmax activation, the problem ...
I was wondering if softmax is a must-have in a multi-class(more than 2) classification neural network? I was reading some stack-overflow topics and I ...
I've build the following model: The shape of the data_tensor is (52,1263,92) and from the out_tensor (52,1263,6). I get the following error when t ...
I am a little confused about a few things, and I was wondering if I could get some help. the necessity of softmax layers: I thought that for class ...
this code gives me top 1 prediction but i want top 5. how can i do that? ...
I got a tensor of scores (lets' call it logits_tensor) that has shape: (1910, 164, 33). Taking a look at it, logits_tensor[0][0]: Now, by applying ...
I am trying to develop a function for softmax activation. The function should do torch.Tensor, 2D matrix with sum over rows is 1. Is this function co ...
My training data consists of individual sentences and each sentence has a few labels (say 10) and each of these labels has a discrete score from 1-10 ...
I'm trying to make this model work. Initially x.shape is (6703, 56) and y.shape is a binary column having shape (6703, ). Then I run and now y.shap ...
I am currently turning my Binary Classification Model to a multi-class classification Model. Bare with me.. I am very knew to pytorch and Machine Lear ...
I'm using Tensorflow 1.15 and Keras 2.3.1 My Keras model with such code: Is predicting this for every sample, while I am using softmax activation i ...
I've a list of array and each array contains 5 softmax arrays. I want, as an output, a final list with only one element per array, which is the produc ...