pytorch tag

30 questions


1 answers
80 views
0
Compute matrices in PyTorch

I'm using PyTorch to learn in-depth learning.I use numpy's np.tile and np.reshape in the forward calculation, but if I convert the Tensor type to numpy's ndarray type, the requirements_grad informatio...


1 answers
56 views
0
Error using PyTorch Tensor

PyTorch1.1: Getting Started: Sample Learning PyTorch – PyTorch Using the code on the above site as a reference, I am having trouble executing the code listed in the question.Run Environmentpython 3.7....

1 years ago

1 answers
141 views
0
multiply multiple matrices simultaneously

Python I would like to multiply multiple matrices simultaneously with numpy or pytorch without using a for loop.For example, suppose you have five different matrices of 10x100 and one matrix of 100x10...

1 years ago

1 answers
111 views
0
torch.autograd.grad becomes 0 or NoneType

Calculating the partial differentiation of torch.autograd.grad in the code below will result in None.I can't see the contents of torch.autograd.grad, so I wonder if there is any problem during the par...


1 answers
69 views
0
There is no pytorch in conda in windows environment

I try to install pytorch in anaconda environment, but I get an import error no matter how many times I try.I made a virtual environment with anaconda and burned it, but the results are as follows.(nn)...


1 answers
121 views
0
Transpose results when creating dataloader in torchtext.data.Iterator

I want to load the CSV file (text, label) in torchtext and turn it into dataloader, but the result will be transferred.I think the shape of train_loader will be (Batch_size, vocabulary_size), but it w...

1 years ago

1 answers
68 views
0
Solution questions regarding RunTimeError for Pythorch in-place operations

The following code will cause an error. If you don't mind, I'd appreciate it if you could help me.I'm not used to asking questions, so I may not be able to do so, but I appreciate your cooperation.app...

1 years ago

1 answers
86 views
0
Deploying cudnn in Bidirectional LSTM in PyTorch results in RuntimeError: cuDN error: CUDN_STATUS_EXECUTION_FAILED

Run EnvironmentOS:windows10python —3.7.4numpy —1.16.5pytorch:1.3.1gpu —GeForce GTX 1060Nvidia driver:441.87Cuda: 10.1Cudnn: 7.6.5As for the execution code, I will omit the details, but I have implemen...

1 years ago

1 answers
108 views
0
Unable to find image.pyd for torchvision

Hi, nice to meet you.I looked it up online, but I'm in trouble because there's no solution.I wanted to use pytorch, so I installed torch and torchvision, but when I imported torchvision, The following...

1 years ago

1 answers
81 views
0
About Floating Point Bool Determination

Attempting to reproduce pytorch's torch.nn.Linear module with numpy.As the result showed some errors, I rounded off the decimal point and printed out the decision of the bool.Why does the result of tr...

« - 2 - »

© 2024 OneMinuteCode. All rights reserved.