deep-learning Questions

4

Solved

I'm using PyTorch to implement a classification network for skeleton-based action recognition. The model consists of three convolutional layers and two fully connected layers. This base model gave ...
Borneo asked 12/8, 2019 at 8:26

3

How do you perform cross-validation in a deep neural network? I know that to perform cross validation to will train it on all folds except one and test it on the excluded fold. Then do this for k f...
Disk asked 10/6, 2017 at 16:39

4

Solved

I am trying to implement a detection model based on "finetuning object detection" official tutorial of PyTorch. It seemed to have worked with minimal data, (for 10 of images). However I uploaded m...
Strepphon asked 19/5, 2020 at 20:25

1

PyTorch 1.12 changed the default fp32 math to be "highest precision", and introduced the torch.set_float32_matmul_precision API, allowing users to specify which precision out of medium, h...
Contention asked 30/7, 2023 at 9:39

2

Solved

As I understand it, in a deep neural network, we use an activation function (g) after applying the weights (w) and bias(b) (z := w * X + b | a := g(z)). So there is a composition function of (g o z...

8

I was reading the papers on deep learning. Most of them refer to unsupervised learning. They also say the neurons are pre-trained using unsupervised RBM network. Later they are fine tuned us...

3

Solved

I am trying to fine-tune the BERT language model on my own data. I've gone through their docs, but their tasks seem to be not quite what I need, since my end goal is embedding text. Here's my code:...

3

I´m using Mac OS el capitán and I am trying to follow the quick start tutorial for OpenNMT pytorch version. In the training step I get the following warning message: OpenNMT-py/onmt/modules/Global...
Thickhead asked 27/2, 2018 at 10:45

3

I'm following a tutorial on Youtube for image classification with machine learning. I keep getting the error as shown in the title from trying to save a deep learning module with tensorflow. I'm us...
Comatose asked 27/2, 2023 at 17:1

4

I encounter this weird error when building a simple NN in Pytorch. I dont understand this error and why this consern Long and Float datatype in backward function. Anyone encounter this before? Than...
Berardo asked 4/7, 2020 at 8:6

3

when i import TensorFlow GPU I get this error AttributeError: partially initialized module 'charset_normalizer' has no attribute 'md__mypyc' (most likely due to a circular import) after i type imp...
Jun asked 19/2, 2023 at 15:3

3

Solved

Below the code import numpy as np np.random.seed(0) from sklearn import datasets import matplotlib.pyplot as plt %matplotlib inline %config InlineBackend.figure_format ='retina' from keras.models ...

2

I am training an OCR model for recognizing MRZ from passport. To train my model for more accuracy, I need to train it with maximum pictures possible. I tried to find passport's dataset on KAGGLE bu...
Mainsail asked 3/2, 2020 at 13:11

5

I am working on Multiclass Classification (4 classes) for Language Task and I am using the BERT model for classification task. I am following this blog post Transfer Learning for NLP: Fine-Tuning B...

4

Solved

I tried to implement an early stopping function to avoid my neural network model overfit. I'm pretty sure that the logic is fine, but for some reason, it doesn't work. I want that when the validati...

11

Solved

I have an issue with tf.callbacks.ModelChekpoint. As you can see in my log file, the warning comes always before the last iteration where the val_acc is calculated. Therefore, Modelcheckpoint never...
Styptic asked 29/4, 2020 at 15:38

3

Solved

This is the screen of the original paper: the screen of the paper. I understand the meaning of the paper is that when the value of dot-product is large, the gradient of softmax will get very small....
Ningpo asked 27/2, 2019 at 12:42

7

Solved

Sometimes I run into a problem: OOM when allocating tensor with shape e.g. OOM when allocating tensor with shape (1024, 100, 160) Where 1024 is my batch size and I don't know what's the rest. If ...

4

Solved

What is FLOPS in field of deep learning? Why we don't use the term just FLO? We use the term FLOPS to measure the number of operations of a frozen deep learning network. Following Wikipedia, FLOP...
Direful asked 22/10, 2019 at 6:57

2

Solved

So going the AMP: Automatic Mixed Precision Training tutorial for Normal networks, I found out that there are two versions, Automatic and GradScaler. I just want to know if it's advisable / necessa...
Flurried asked 7/6, 2022 at 16:46

2

I recently came across a method in Pytorch when I try to implement AlexNet. I don't understand how it works. Please explain the idea behind it with some examples. And how it is different from Maxp...
Diphtheria asked 4/11, 2019 at 11:26

3

I am learning to apply Transform model proposed by Attention Is All You Need from tensorflow official document Transformer model for language understanding. As section Positional encoding says: ...
Wind asked 8/7, 2019 at 8:12

2

Last month, a user called @jojek told me in a comment the following advice: I can bet that given enough data, CNN on Mel energies will outperform MFCCs. You should try it. It makes more sense to...

2

I'm trying to find approach to compute the softmax probability without using exp(). assume that: target: to compute f(x1, x2, x3) = exp(x1)/[exp(x1)+exp(x2)+exp(x3)] conditions: 1. -64 < x1...
Settlement asked 4/6, 2020 at 8:25

4

I'm currently studying code of transformer, but I can not understand the masked multi-head of decoder. The paper said that it is to prevent you from seeing the generating word, but I can not unsers...

© 2022 - 2024 — McMap. All rights reserved.