Open Chen-guang91 opened 9 months ago
换成amd64就报错 panic: runtime error: invalid memory address or nil pointer dereference panic: runtime error: invalid memory address or nil pointer dereference [signal 0xc0000005 code=0x0 addr=0x0 pc=0x5b88d7]
goroutine 1 [running]: github.com/yalue/onnxruntime_go.(AdvancedSession).Destroy(0x0) C:/Users/Administrator/go/pkg/mod/github.com/yalue/onnxruntime_go@v1.5.0/onnxruntime_go.go:930 +0x17 panic({0x639740?, 0x5fc310?}) D:/go1.21.3.windows-amd64/go/src/runtime/panic.go:920 +0x270 github.com/yalue/onnxruntime_go.(AdvancedSession).Run.func1(0xc000346010?) C:/Users/Administrator/go/pkg/mod/github.com/yalue/onnxruntime_go@v1.5.0/onnxruntime_go.go:949 +0x12 github.com/yalue/onnxruntime_go.(*AdvancedSession).Run(0xc000346010?) C:/Users/Administrator/go/pkg/mod/github.com/yalue/onnxruntime_go@v1.5.0/onnxruntime_go.go:951 +0x13 main.main() C:/Users/Administrator/Downloads/goddddocrmaster/main.go:625 +0x835
相同的问题
GOROOT=D:\go1.21.3.windows-amd64\go #gosetup GOPATH=C:\Users\Administrator\go #gosetup D:\go1.21.3.windows-amd64\go\bin\go.exe build -o C:\Users\Administrator\AppData\Local\Temp\GoLand___1go_build_go_ddddocr.exe . #gosetup github.com/yalue/onnxruntime_go: build constraints exclude all Go files in C:\Users\Administrator\go\pkg\mod\github.com\yalue\onnxruntime_go@v1.5.0