CNTK
CNTK copied to clipboard
Unknown Error - BrainScript Plot
Hello,
I am trying to plot the model. Since I cannot do that in C# I am trying this use BrainScript.
I have the following printModel.cntk configFile:
command = topoplot
topoplot = [
action = "plot"
modelPath = "D:\Andreas\...\classifier.model"
outputdotFile = "D:\Andreas\...\model.dot"
outputFile="D:\Andreas\...\model.jpg"
renderCmd="C:\Program Files (x86)\Graphviz2.38\bin\dot.exe -Tjpg <IN> -o<OUT>"
]
Via PowerShell with administrator rights I go to the folder containing the model file as well as the config file. Then I execute
cntk configFile=printModel.cntk
and get the following output:
-------------------------------------------------------------------
Build info:
Built time: Sep 15 2017 07:42:32
Last modified date: Fri Sep 15 04:28:56 2017
Build type: Release
Build target: GPU
With 1bit-SGD: yes
With ASGD: yes
Math lib: mkl
CUDA version: 9.0.0
CUDNN version: 6.0.21
Build Branch: HEAD
Build SHA1: 23878e5d1f73180d6564b6f907b14fe5f53513bb
MPI distribution: Microsoft MPI
MPI version: 7.0.12437.6
-------------------------------------------------------------------
-------------------------------------------------------------------
GPU info:
Device[0]: cores = 1920; computeCapability = 6.1; type = "GeForce GTX 1060 6GB"; total memory = 6144 MB; free memory = 5391 MB
-------------------------------------------------------------------
##############################################################################
# #
# topoplot command (plot action) #
# #
##############################################################################
[CALL STACK]
> Microsoft::MSR::CNTK::Matrix<float>:: __autoclassinit2
- Microsoft::MSR::CNTK::Matrix<float>:: __autoclassinit2 (x7)
- Microsoft::MSR::CNTK::MatrixBase:: MatrixBase
- BaseThreadInitThunk
- RtlUserThreadStart
EXCEPTION occurred: Unknown error.
I tried to put graphiviz's dot to a path without spaces and also to use only relative paths. Neither of these options work. What am I doing wrong?
Perhaps a bug: https://github.com/microsoft/CNTK/issues/3735
I have the same problem.