this is the error information.
julia VGGforw.jl ERROR: LoadError: LoadError: UndefVarError: @knet not defined
Stacktrace:
[1] top-level scope
[2] include at ./boot.jl:317 [inlined]
[3] include_relative(::Module, ::String) at ./loading.jl:1038
[4] include(::Module, ::String) at ./sysimg.jl:29
[5] exec_options(::Base.JLOptions) at ./client.jl:229
[6] _start() at ./client.jl:421
in expression starting at /home/users/xdlan/myexperiment/VGG3D/rgbd-convnet-master/VGG3D/VGGforw.jl:11
in expression starting at /home/users/xdlan/myexperiment/VGG3D/rgbd-convnet-master/VGG3D/VGGforw.jl:11
The next is part of the VGGforw file contents
Implementing a test for the RGB-d dataset
148x148 - one layer
#using CUDArt
using CUDAdrv
#device(3)
#CUDNN->CuArrays
using Knet, MAT, ArgParse, CuArrays
@knet function cbf(x;f=:relu, w = Xavier(), b = Constant(0) , p= 1, out = 0, o…)
v = par(; o… , init = w, out=out)
y = conv(v,x; padding = p, mode = CUDNN_CROSS_CORRELATION)
z = bias4(y; binit=b, outDim = out, o…)
return f(z; o…)
end
@knet function bias4(x; binit=Constant(0), outDim = 0, o…)
b = par(; o…, init=binit)
return b+x
end