Comments (5)
Hi xqyd,
We could not reproduce this on our machine (also VS2013 update5, Win 8.1). It seems that the your environment is somehow broken (usually the 'size_t' problem indicates x86/64 bit problems).
Could you provide more information regarding your environment (compiler version, PATH)? Also if you go to the "Configuration Properties -> C/C++ -> General" of SequenceTrainingLib project, and change the "Supress Startup Banner" to "No", and try to rebuild, what is the output?
Thanks!
from cntk.
Hi eldakms,
I figured this out by find that the vs2010 and vs2013 has mixed c1.dll and c2.dll. After uninstall vs2010, the 'size_t' problem was gone!
And the SequenceTrainingLib can be build successfully.
However, I am still having difficulties in compiling the MathCUDA project, the error output is in the attached file. It said
"error MSB3721: The command ""C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\bin\nvcc.exe" -gencode=arch=compute_20,code="compute_20,compute_20" --use-local-env --cl-version 2013 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64" -I..\Common\include\ -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\include" -lineinfo --keep-dir x64\Debug -maxrregcount=0 --machine 64 --compile -cudart static -Xcudafe "--diag_suppress=field_without_dll_interface" -g -use_fast_math -D_DEBUG -DNO_SYNC -DWIN32 -D_WINDOWS -D_USRDLL -DMATH_EXPORTS -DUSE_CUDNN -D_UNICODE -DUNICODE -Xcompiler "/EHsc /W4 /nologo /Od /Zi /RTC1 /MDd /WX" -o x64\Debug\MathCUDA\GPUTensor.cu.obj "D:\2015erdos\Install CNTK\CNTK-master\CNTK-master\Source\Math\GPUTensor.cu"" exited with code 2."
Any idea what's this for?
Thanks a lot!!!
Compiling errors_CUDA.txt
from cntk.
It seems you have some invalid characters in your Cuda installation (see the warning):
1>c:\program files\nvidia gpu computing toolkit\cuda\v7.0\include\math_functions.h : error C2220: warning treated as error - no 'object' file generated
1>c:\program files\nvidia gpu computing toolkit\cuda\v7.0\include\math_functions.h : warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
Thank you!
from cntk.
Hi eldakms,
Thanks for the hint. Although I did not touch the cuda installation, it is found that the system locale has to be English for CNTK. I was using Chinese locale for my Win8.1 before.
However, after changing the system locale, I've run into another problem that the xcopy does not work properly. And the reason is that it does not support long path, so after I copied the whole solution to the C:\CNTK-master, everything starts to work!!!
So here're the lessons I've learned in compiling CNTK under win8.1+vs2013 update 5:
- Set the system locale to English.
- Use short path to save the source code/solution files.
- Only VS2013 can work well with the CNTK, do not mix with other version of visual studios.
from cntk.
We will track this with issue #47
from cntk.
Related Issues (20)
- Value goes invalid when using TestMinibatch
- Request for a no-opencv dotnet release
- CNTK C# Crash when layer is deeper
- Convolution 1D CNTK C++ HOT 1
- Add support to release linux aarch64 wheels
- Error while deploying MS Teams Bot with SSO
- how to install in python3.8
- A model causes CNTK crash with cudnnSetPoolingNDDescriptor when invoking the pooling operator
- This repo is missing important files HOT 1
- API document issue due to syntax in source code HOT 1
- Error: could not find all specified 'to_nodes' in clone. Looking for ['relu5'], found [None]
- SequenceClassification.py does not work out of box HOT 1
- Microsoft has absolutely no potential
- development of a neural network for object search
- join vcpkg
- cntk crash and pycharm process finished with exit code -1066598274 (0xC06D007E)
- ConvolutionTranspose2D outputs normally when num_filters is tuple and dilation is 0
- program crash when get gradient of `ConvolutionTranspose2D`
- when shape contains negative integer, input_variable should throw an error HOT 1
- MAX_POOLING crash, when pooling_window_shape contains 0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cntk.