Top "Torch" questions

Torch is a scientific computing framework for LuaJIT.

How to convert torch Tensor/ Storage to a lua table?

If I have a tensor: t1 = torch.Tensor(2, 2) Is there any way get this data as a Lua table?

lua torch
Installing PyTorch via Conda

Objective: Create a conda environment with pytorch and torchvision. Anaconda Navigator 1.8.3, python 3.6, MacOS 10.13.4. What I've tried: In Navigator, created a …

anaconda torch pytorch
pytorch custom layer "is not a Module subclass"

I am new to PyTorch, trying it out after using a different toolkit for a while. I would like understand …

torch pytorch autograd
PyTorch RuntimeError: Assertion `cur_target >= 0 && cur_target < n_classes' failed

I’m trying to create a basic binary classifier in Pytorch that classifies whether my player plays on the right …

torch pytorch
CMake error while installing Torch in Ubuntu

I'm trying to install Torch in my PC (Ubuntu). I follow the steps described in the Torch website. However, when …

linux cmake installation torch
What is the difference of static Computational Graphs in tensorflow and dynamic Computational Graphs in Pytorch?

When I was learning tensorflow, one basic concept of tensorflow was computational graphs, and the graphs was said to be …

tensorflow deep-learning torch
How to get past 1gb memory limit of 64 bit LuaJIT on Linux?

The overview is I am prototyping code to understand my problem space, and I am running into 'PANIC: unprotected error …

lua luajit torch
How do you alter the size of a Pytorch Dataset?

Say I am loading MNIST from torchvision.datasets.MNIST, but I only want to load in 10000 images total, how would …

python machine-learning dataset torch pytorch
How can I speed up deep learning on a non-NVIDIA setup?

Since I only have an AMD A10-7850 APU, and do not have the funds to spend on a $800-$1200 …

tensorflow deep-learning theano caffe torch
from torch._C import * ImportError: DLL load failed: The specified module could not be found

I am trying to import torch in my windows machine using python 3.5. (CPU only)(pip) I have followed the steps …

python machine-learning pytorch torch