Skip to content

SoftMaxTree... #46

@elbamos

Description

@elbamos

I'm seeing:

/usr/local/share/lua/5.1/nnx/SoftMaxTree.lua:171: attempt to call field 'SoftMaxTree_updateOutput' (a nil value)
stack traceback:
    /usr/local/share/lua/5.1/nnx/SoftMaxTree.lua:171: in function 'func'
    /usr/local/share/lua/5.1/nngraph/gmodule.lua:252: in function 'neteval'
    /usr/local/share/lua/5.1/nngraph/gmodule.lua:287: in function 'forward'
    runtrain.lua:194: in function 'opfunc'

I have a suspicion it is related to cunnx declining to build:

/tmp/luarocks_cunnx-scm-1-1265/cunnx/SoftMaxTree.cu(439): error: argument of type "THCudaTensor *" is incompatible with parameter of type "THCudaIntTensor *"

/tmp/luarocks_cunnx-scm-1-1265/cunnx/BlockSparse.cu(99): error: argument of type "THCudaTensor *" is incompatible with parameter of type "THCudaLongTensor *"

/tmp/luarocks_cunnx-scm-1-1265/cunnx/BlockSparse.cu(100): error: argument of type "THCudaTensor *" is incompatible with parameter of type "THCudaLongTensor *"

/tmp/luarocks_cunnx-scm-1-1265/cunnx/WindowGate.cu(110): error: argument of type "THCudaTensor *" is incompatible with parameter of type "THCudaLongTensor *"

/tmp/luarocks_cunnx-scm-1-1265/cunnx/WindowGate2.cu(120): error: argument of type "THCudaTensor *" is incompatible with parameter of type "THCudaLongTensor *"

5 errors detected in the compilation of "/tmp/tmpxft_0000ff8c_00000000-7_init.cpp1.ii".
CMake Error at cunnx_generated_init.cu.o.cmake:262 (message):
  Error generating file
  /tmp/luarocks_cunnx-scm-1-1265/cunnx/build/CMakeFiles/cunnx.dir//./cunnx_generated_init.cu.o


CMakeFiles/cunnx.dir/build.make:63: recipe for target 'CMakeFiles/cunnx.dir/cunnx_generated_init.cu.o' failed
make[2]: *** [CMakeFiles/cunnx.dir/cunnx_generated_init.cu.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/cunnx.dir/all' failed
make[1]: *** [CMakeFiles/cunnx.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Error: Build error: Failed building.

Could this be related to Mac OS X? I noticed that the nnx build script wants to generate .so's but not dylibs.

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