CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

Undefined function or macro 'DynamicAxis' in DynamicAxis()

Open ZhangZhengchen opened this issue 10 years ago • 2 comments

Hi, I'm trying to build a network handling the sequence data. The input is a line of text, the features are word vectors of each word in the line. The output is a label of the whole line. So I need the DynamicAxis as shown in the sequence classification example. But when I use

t = DynamicAxis() features=Input(featDim, dynamicAxis=t, tag='features') labels=Input(labelDim, tag='labels')

in my config file, I met the error:

[CALL STACK] > Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= - Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator=

EXCEPTION occurred: Undefined function or macro 'DynamicAxis' in DynamicAxis()

The version used is CNTK-1-5-Windows-64bit-GPU binary

Any suggestions? Thank you!

ZhangZhengchen avatar Jun 20 '16 09:06 ZhangZhengchen

I suspect your version is not up to date. Have you tried the latest binary (1.5)? Please find the download link under Downloads on the sidebar.

frankseide avatar Jun 20 '16 14:06 frankseide

Hi frankseide,

Thank you for your reply. I confounded the BrainScriptNetworkBuilder with NDLNetworkBuilder. Now the problem is solved. Thanks again.

ZhangZhengchen avatar Jun 22 '16 06:06 ZhangZhengchen