I have used accuracy_score and recall_score from sklearn.metrics to calculate the scores, but no matter what epoch it is, both the accuracy and recall are coming up as the same value for CIFAR100 dataset. I am trying to implement it in Pytorch. Sample y_pred, y_true that I am passing to the function look like y_pred = [11, 12, 65, ..... 13, 15, 17] and y_true = [11, 12, 53, ..... 13, 78, 17]. Can you suggest where I might be going wrong?
Accuracy and Recall is the same for resnet implementation pytorch
198 Views Asked by Bharat Sesham At
0
There are 0 best solutions below
Related Questions in SCIKIT-LEARN
- How to use meshgrid with large arrays in Matplotlib?
- Enforcing that inputs sum to 1 and are contained in the unit interval in scikit-learn
- scikit-learn preperation
- Python KNeighborsClassifier
- How to interpret scikit's learn confusion matrix and classification report?
- svmlight / libsvm format
- Scikit-learn: overriding a class method in a classifier
- Memory Error with Classifier fit and partial_fit
- Difference between weka tool's correlation coefficient and scikit learn's coefficient of determination score
- Peak fitting with gaussian mixure model (Scikit); how to sample from a discrete pdf?
- sklearn LDA unique labels issue
- Break up Random forest classification fit into pieces in python?
- How to reuse pickled objects in python?
- Scikit Learn Multilabel Classification Using Out Of Core
- Scikit-learn Random Forest taking up too much memory
Related Questions in DEEP-LEARNING
- [Caffe]: Check failed: ShapeEquals(proto) shape mismatch (reshape not set)
- Caffe net.predict() outputs random results (GoogleNet)
- Implementation of convolutional sparse coding in deep networks frameworks
- Matlab example code for deep belief network for classification
- Two errors while running Caffe
- How to speed up caffe classifer in python
- Caffe Framework Runtest Core dumped error
- Scan function from Theano replicates non_sequences shared variables
- Why bad accuracy with neural network?
- Word2Vec Sentiment Classification with R and H2O
- What is gradInput and gradOutput in Torch7's 'nn' package?
- Error while drawing net in Caffe
- How does Caffe determine the number of neurons in each layer?
- Conclusion from PCA of dataset
- Google Deep Dream art: how to pick a layer in a neural network and enhance it
Related Questions in PYTORCH
- Pytorch install with anaconda error
- How should I save the model of PyTorch if I want it loadable by OpenCV dnn module
- PyTorch: memorize output from several layers of sequencial
- in Pytorch, restore the model parameters but the same initial loss
- Seq2seq pytorch Inference slow
- Why does autograd not produce gradient for intermediate variables?
- pytorch inception model outputs the wrong label for every input image
- "expected CPU tensor(got CUDA tensor)" error for PyTorch
- Float16 (HalfTensor) in pytorch + cuda
- Access parameter names in torch
- Efficient way of calculating sum of unequal sized chunks of tensor in Pytorch
- what is the equivalent of theano.tensor.clip in pytorch?
- How can I do scatter and gather operations in NumPy?
- How do I write a PyTorch sequential model?
- How to combine multiple models together?
Related Questions in CONV-NEURAL-NETWORK
- Using Convolution Neural Net with Lasagne in Python error
- How to prepare data for torch7 deep learning convolutional neural network example?
- additive Gaussian noise in Tensorflow
- Same output in neural network for each input after training
- ConvNet : Validation Loss not strongly decreasing but accuracy is improving
- Tensor flow affecting multiprocessing/threading
- Inceptionv3 Transfer Learning on Torch
- Transfer weights from caffe to tensorflew
- Lasagne NN strange behavior with accuracy and weight convergence
- Multiple outputs in Keras gives value error
- How to use feature maps of CNN to localize obect on the image?
- Why Validation Error Rate remain same value?
- How to create LMDB files for semantic segmentation?
- Training model to recognize one specific object (or scene)
- Restoring saved TensorFlow model to evaluate on test set
Related Questions in RESNET
- how to pretrain my image using resnet50 in mask-rcnn
- Keras model.predict always 0
- Defining model in Keras
- Error with to_proto(caffe-master/python/caffe/net_spec.py)-- 'LayerParameter' object has no attribute 'num_output'
- Tensorflow 2 Object Detection with OpenCV C++
- Fine tuning a model in transfer learning
- Detecting the location (latitude and longitude) of utility poles in an area using Resnet
- Accuracy and Recall is the same for resnet implementation pytorch
- What should I do when I'm getting an mAP of 0.000 using keras-retinanet / resnet50?
- Layer.get_weights() returns wrong output with shape(1, 1, 1, 2080, 1536)
- Adding Dropout layer after every activation layer in a pre-trained resnet model in tensorflow-2
- TypeError: ('Keyword argument not understood:', 'input') of ResNet
- Transformer Image captioning model produces just padding rather than a caption
- Incompatible shapes while using triplet loss and pre-trained resnet
- SimCLR/ResNet18 : last fractional batch mecanism not functional ? (tensor shapes incompatible)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?