CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

Error when loading pretrainined network in Brainscript

Open CmdQ opened this issue 7 years ago • 1 comments

In CNTK 2.6 I'm trying to load a pretrained ResNet-50 from the PretrainedModels folder. I used python download_model.py ResNet50_ImageNet_CNTK to download a file called ResNet50_ImageNet_CNTK.model.

CNTK crashes when executing this Brainscript line:

resnet50 = BS.Network.Load ("c:/local/cntk-2-6/PretrainedModels/ResNet50_ImageNet_CNTK.model")

and gives the error

Creating virgin network. Load: Loading model file: c:/local/cntk-2-6/PretrainedModels/ResNet50_ImageNet_CNTK.model About to throw exception 'Unknown error.'

[CALL STACK] >std::enable_shared_from_thisMicrosoft::MSR::CNTK::MatrixBase::enable_shared_from_thisMicrosoft::MSR::CNTK::MatrixBase -std::enable_shared_from_thisMicrosoft::MSR::CNTK::MatrixBase::enable_shared_from_thisMicrosoft::MSR::CNTK::MatrixBase (x6) -std::enable_shared_from_thisMicrosoft::MSR::CNTK::MatrixBase:: __autoclassinit2 (x7) -Microsoft::MSR::CNTK::TracingGPUMemoryAllocator:: operator= (x2)

EXCEPTION occurred: Unknown error.

Somebody else also had this problem but didn't provide additional infos, so the issue (#1859) was closed.

Can somebody tell me what the problem is?

CmdQ avatar Feb 07 '19 15:02 CmdQ

Can somebody tell me what the problem is?

I have to say: CNTK

Would be great if @msftdata could get us an answer on this!

GuntaButya avatar Aug 08 '19 00:08 GuntaButya