Skip to content

error at line => var dtype = torch.@float; #7

@Cyberduke01

Description

@Cyberduke01

I have installed both Torch.net and PyTorch and I am current trying to run the example code given.

I however get the following error at this line "var dtype = torch.@float;":

System.BadImageFormatException
HResult=0x8007000B
Message=An attempt was made to load a program with an incorrect format. (0x8007000B)
Source=Python.Runtime
StackTrace:
at Python.Runtime.Runtime.Py_IsInitialized()
at Python.Runtime.Runtime.Initialize(Boolean initSigs)
at Python.Runtime.PythonEngine.Initialize(IEnumerable1 args, Boolean setSysArgv, Boolean initSigs) at Python.Runtime.PythonEngine.Initialize(Boolean setSysArgv, Boolean initSigs) at Python.Runtime.PythonEngine.Initialize() at Torch.torch.InstallAndImport(Boolean force) at Torch.torch.<>c.<.cctor>b__313_0() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Lazy1.CreateValue() at System.Lazy1.get_Value()
at Torch.torch.get_self()
at Torch.torch.get_float()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions