Skip to content

I run th train.lua, but met this error: #1

@bemoregt

Description

@bemoregt

HI, @garythung

I run th train.lua, but met this error:

17:47:34 weightDecay = 0.025
17:47:34 learningRate = 1.25e-05
17:47:34 Starting training for 100 epochs
/tmp/luarocks_cunn-scm-1-4893/cunn/lib/THCUNN/ClassNLLCriterion.cu:57: void cunn_ClassNLLCriterion_updateOutput_kernel(Dtype *, Dtype *, Dtype *, long *, Dtype *, int, int, int, int, long) [with Dtype = float, Acctype = float]: block: [0,0,0], thread: [7,0,0] Assertion t >= 0 && t < n_classes failed.
/tmp/luarocks_cunn-scm-1-4893/cunn/lib/THCUNN/ClassNLLCriterion.cu:57: void cunn_ClassNLLCriterion_updateOutput_kernel(Dtype *, Dtype *, Dtype *, long *, Dtype *, int, int, int, int, long) [with Dtype = float, Acctype = float]: block: [0,0,0], thread: [27,0,0] Assertion t >= 0 && t < n_classes failed.
THCudaCheck FAIL file=/tmp/luarocks_cutorch-scm-1-9564/cutorch/lib/THC/generic/THCStorage.c line=32 error=59 : device-side assert triggered
/home/ctilab/torch/install/bin/luajit: cuda runtime error (59) : device-side assert triggered at /tmp/luarocks_cutorch-scm-1-9564/cutorch/lib/THC/generic/THCStorage.c:32
stack traceback:

What's wrong with me?

My CUDA & Luarocks Package install is allright, may be..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions