DeepMLNet / DeepNet

Deep.Net machine learning framework for F#
Apache License 2.0
102 stars 9 forks source link

PTXCache IO Exception #28

Closed jklanger closed 7 years ago

jklanger commented 7 years ago

... Model has been built.

Unhandled Exception: System.IO.IOException: The process cannot access the file 'C:\Users\jlanger\AppData\Local\DeepNet\PTXCache\0000000052a0c316\efa4b128-b65e-46e3-865d-dcc795951afc\code.dat' because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.File.InternalWriteAllBytes(String path, Byte[] bytes, Boolean checkHost) at DiskMap.DiskBinaryMap.Set(Byte[] key, Byte[] value) in Z:\DeepPrivate\DeepNet\SymTensorCuda\DiskMap.fs:line 69 at SymTensor.Compiler.Cuda.Compile.ptx$cont@120(String modPath, CudaRuntimeCompiler cmplr, FSharpList1 cmplrArgs, ModCacheKey cacheKey, Unit unitVar) in Z:\DeepPrivate\DeepNet\SymTensorCuda\CudaExec.fs:line 138 at SymTensor.Compiler.Cuda.Compile.loadKernelCode(String modCode, IEnumerable1 krnlNames) in Z:\DeepPrivate\DeepNet\SymTensorCuda\CudaExec.fs:line 120 at SymTensor.Compiler.Cuda.CudaExprWorkspaceTypes.CudaExprWorkspace..ctor(CudaRecipeT recipe) in Z:\DeepPrivate\DeepNet\SymTensorCuda\CudaExec.fs:line 311 at SymTensor.Compiler.Cuda.CudaExprWorkspaceTypes.CudaExprWorkspace.execCalls(IEnumerable1 calls) in Z:\DeepPrivate\DeepNet\SymTensorCuda\CudaExec.fs:line 470 at SymTensor.Compiler.Cuda.CudaEval.cudaEvaluator(CompileEnvT compileEnv, FSharpList1 uexprs) in Z:\DeepPrivate\DeepNet\SymTensorCuda\CudaEval.fs:line 41 at SymTensor.Func.tryCompile$cont@296(FSharpList1 baseExprGens, FSharpSet1 neededVars, CompileEnvT compileEnv, IUExprCompiler compileSpec_0, Unit unitVar) in Z:\DeepPrivate\DeepNet\SymTensor\Function.fs:line 319 at SymTensor.Func.tryCompile@255(FSharpList1 baseExprGens, IUExprCompiler compileSpec_0, CompileEnvT compileEnv, Boolean failIfImpossible) in Z:\DeepPrivate\DeepNet\SymTensor\Function.fs:line 341 at SymTensor.Func.evalWrapper@383.Invoke(FSharpMap2 varEnv) in Z:\DeepPrivate\DeepNet\SymTensor\Function.fs:line 394 at SymTensor.Func.make@416.Invoke(FSharpMap2 varEnv) in Z:\DeepPrivate\DeepNet\SymTensor\Function.fs:line 417 at Models.Error.msceMultiple[a,b,c](a batchSize, Dataset1 fullDatasetSub, FSharpFunc2 predFn) at Models.Error.errorDataset[a](Int64 batchSize, TrnValTst1 fullDataset, a predFn, Measures errorMeasure, FSharpFunc2 errorSubset) at Models.Error.error(Measures errorMeasure, Int64 batchSize, TrnValTst1 fullDataset, FSharpFunc`2 predFn) at Models.Main.main(String[] argv)