Skip to content

Instantly share code, notes, and snippets.

@jamiebaggott
Created September 13, 2017 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamiebaggott/f540c2fbeadd89219127a8e0669bd462 to your computer and use it in GitHub Desktop.
Save jamiebaggott/f540c2fbeadd89219127a8e0669bd462 to your computer and use it in GitHub Desktop.
Files relevant to tensorflow/tensorflow#12824
package main
import (
"fmt"
tf "github.com/tensorflow/tensorflow/tensorflow/go"
"github.com/tensorflow/tensorflow/tensorflow/go/op"
"io/ioutil"
"sync/atomic"
)
var tfSession *tf.Session
var modelGraph, normaliseGraph *tf.Graph
var normaliseInput, normaliseOutput tf.Output
var err error
var counter uint64
func init() {
model, err := ioutil.ReadFile("inception3/inception_v3_2016_08_28_frozen.pb")
if err != nil {
panic(err)
}
modelGraph = tf.NewGraph()
modelGraph.Import(model, "")
tfSession, err = tf.NewSession(modelGraph, nil)
if err != nil {
panic(err)
}
normaliseGraph, normaliseInput, normaliseOutput = ConstructNormaliseGraph()
}
func main() {
filepaths, done := make(chan string, 20), make(chan bool, 10)
for i := 0; i < 10; i++ {
go ImageWorker(filepaths, done)
}
for i := 0; i < 100; i++ {
filepaths <- "image.png"
}
close(filepaths)
for i := 0; i < 10; i++ {
<-done
}
}
func ImageWorker(filepaths <-chan string, done chan<- bool) {
for {
filepath, ok := <-filepaths
if !ok {
break
}
tensor := MakeTensorFromImage(filepath)
_, err = tfSession.Run(
map[tf.Output]*tf.Tensor{
modelGraph.Operation("input").Output(0): tensor,
},
[]tf.Output{
modelGraph.Operation("InceptionV3/Predictions/Reshape_1").Output(0),
},
nil)
if err != nil {
panic(err)
}
atomic.AddUint64(&counter, 1)
fmt.Println("Success", counter)
}
done <- true
}
func ConstructNormaliseGraph() (graph *tf.Graph, input, output tf.Output) {
s := op.NewScope()
input = op.Placeholder(s, tf.String)
output = op.Div(s,
op.Sub(s,
op.ResizeBilinear(s,
op.ExpandDims(s,
op.Cast(s,
op.DecodeJpeg(s, input, op.DecodeJpegChannels(3)), tf.Float),
op.Const(s.SubScope("make_batch"), int32(0))),
op.Const(s.SubScope("size"), []int32{299, 299})),
op.Const(s.SubScope("mean"), float32(0))),
op.Const(s.SubScope("scale"), float32(255)))
graph, err = s.Finalize()
if err != nil {
panic(err)
}
return
}
func MakeTensorFromImage(filepath string) (*tf.Tensor) {
image, err := ioutil.ReadFile(filepath)
if err != nil {
panic(err)
}
tensor, err := tf.NewTensor(string(image))
if err != nil {
panic(err)
}
session, err := tf.NewSession(normaliseGraph, nil)
if err != nil {
panic(err)
}
defer session.Close()
normalized, err := session.Run(
map[tf.Output]*tf.Tensor{normaliseInput: tensor},
[]tf.Output{normaliseOutput},
nil)
if err != nil {
panic(err)
}
return normalized[0]
}
package main
import (
"fmt"
tf "github.com/tensorflow/tensorflow/tensorflow/go"
"github.com/tensorflow/tensorflow/tensorflow/go/op"
"io/ioutil"
"sync/atomic"
)
var modelGraph, normaliseGraph *tf.Graph
var normaliseInput, normaliseOutput tf.Output
var err error
var counter uint64
func init() {
model, err := ioutil.ReadFile("inception3/inception_v3_2016_08_28_frozen.pb")
if err != nil {
panic(err)
}
modelGraph = tf.NewGraph()
modelGraph.Import(model, "")
normaliseGraph, normaliseInput, normaliseOutput = ConstructNormaliseGraph()
}
func main() {
filepaths, done := make(chan string, 20), make(chan bool, 10)
for i := 0; i < 10; i++ {
go ImageWorker(filepaths, done)
}
for i := 0; i < 100; i++ {
filepaths <- "image.png"
}
close(filepaths)
for i := 0; i < 10; i++ {
<-done
}
}
func ImageWorker(filepaths <-chan string, done chan<- bool) {
tfSession, err := tf.NewSession(modelGraph, nil)
if err != nil {
panic(err)
}
for {
filepath, ok := <-filepaths
if !ok {
break
}
tensor := MakeTensorFromImage(filepath)
_, err = tfSession.Run(
map[tf.Output]*tf.Tensor{
modelGraph.Operation("input").Output(0): tensor,
},
[]tf.Output{
modelGraph.Operation("InceptionV3/Predictions/Reshape_1").Output(0),
},
nil)
if err != nil {
panic(err)
}
atomic.AddUint64(&counter, 1)
fmt.Println("Success", counter)
}
done <- true
}
func ConstructNormaliseGraph() (graph *tf.Graph, input, output tf.Output) {
s := op.NewScope()
input = op.Placeholder(s, tf.String)
output = op.Div(s,
op.Sub(s,
op.ResizeBilinear(s,
op.ExpandDims(s,
op.Cast(s,
op.DecodeJpeg(s, input, op.DecodeJpegChannels(3)), tf.Float),
op.Const(s.SubScope("make_batch"), int32(0))),
op.Const(s.SubScope("size"), []int32{299, 299})),
op.Const(s.SubScope("mean"), float32(0))),
op.Const(s.SubScope("scale"), float32(255)))
graph, err = s.Finalize()
if err != nil {
panic(err)
}
return
}
func MakeTensorFromImage(filepath string) (*tf.Tensor) {
image, err := ioutil.ReadFile(filepath)
if err != nil {
panic(err)
}
tensor, err := tf.NewTensor(string(image))
if err != nil {
panic(err)
}
session, err := tf.NewSession(normaliseGraph, nil)
if err != nil {
panic(err)
}
defer session.Close()
normalized, err := session.Run(
map[tf.Output]*tf.Tensor{normaliseInput: tensor},
[]tf.Output{normaliseOutput},
nil)
if err != nil {
panic(err)
}
return normalized[0]
}
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x1604701898 pc=0x6213ae5]
runtime stack:
runtime.throw(0x40ebc80, 0x2a)
/usr/local/Cellar/go/1.9/libexec/src/runtime/panic.go:605 +0x95
runtime.sigpanic()
/usr/local/Cellar/go/1.9/libexec/src/runtime/signal_unix.go:351 +0x2b8
goroutine 20 [syscall, locked to thread]:
runtime.cgocall(0x40aed00, 0xc425bfede0, 0x40c0100)
/usr/local/Cellar/go/1.9/libexec/src/runtime/cgocall.go:132 +0xe4 fp=0xc425bfed98 sp=0xc425bfed58 pc=0x4003e54
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xb01fba0, 0x0, 0xc425c12090, 0xc42000e098, 0x1, 0xc425c12080, 0xc42000e090, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45 fp=0xc425bfede0 sp=0xc425bfed98 pc=0x40a0295
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xb01fba0, 0x0, 0xc425c12090, 0xc42000e098, 0x1, 0xc425c12080, 0xc42000e090, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a fp=0xc425bfee50 sp=0xc425bfede0 pc=0x40a938a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c060, 0xc425bf4030, 0xc425bfef80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f fp=0xc425bfeee8 sp=0xc425bfee50 pc=0x40a404f
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:53 +0x2ae fp=0xc425bfefd0 sp=0xc425bfeee8 pc=0x40adb8e
runtime.goexit()
/usr/local/Cellar/go/1.9/libexec/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc425bfefd8 sp=0xc425bfefd0 pc=0x4053d51
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 1 [chan send]:
main.main()
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:37 +0xce
goroutine 18 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xb01fba0, 0x0, 0xc425c12130, 0xc42004c0a8, 0x1, 0xc425c12120, 0xc42004c0a0, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xb01fba0, 0x0, 0xc425c12130, 0xc42004c0a8, 0x1, 0xc425c12120, 0xc42004c0a0, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c060, 0xc425bf4090, 0xc42003cf80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:53 +0x2ae
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 19 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xb01fba0, 0x0, 0xc4200102c0, 0xc42000e108, 0x1, 0xc4200102b0, 0xc42000e100, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xb01fba0, 0x0, 0xc4200102c0, 0xc42000e108, 0x1, 0xc4200102b0, 0xc42000e100, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c060, 0xc425f28030, 0xc420039f80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:53 +0x2ae
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 21 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xb01fba0, 0x0, 0xc425be8080, 0xc425c08078, 0x1, 0xc425be8070, 0xc425c08070, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xb01fba0, 0x0, 0xc425be8080, 0xc425c08078, 0x1, 0xc425be8070, 0xc425c08070, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c060, 0xc420046090, 0xc425c03f80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:53 +0x2ae
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 22 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xb01fba0, 0x0, 0xc4200102f0, 0xc42000e120, 0x1, 0xc4200102e0, 0xc42000e118, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xb01fba0, 0x0, 0xc4200102f0, 0xc42000e120, 0x1, 0xc4200102e0, 0xc42000e118, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c060, 0xc425f28060, 0xc425bfff80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:53 +0x2ae
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 23 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xb01fba0, 0x0, 0xc420010350, 0xc42000e150, 0x1, 0xc420010340, 0xc42000e148, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xb01fba0, 0x0, 0xc420010350, 0xc42000e150, 0x1, 0xc420010340, 0xc42000e148, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c060, 0xc425f280c0, 0xc420037f80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:53 +0x2ae
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 24 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xb01fba0, 0x0, 0xc420010320, 0xc42000e138, 0x1, 0xc420010310, 0xc42000e130, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xb01fba0, 0x0, 0xc420010320, 0xc42000e138, 0x1, 0xc420010310, 0xc42000e130, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c060, 0xc425f28090, 0xc420038f80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:53 +0x2ae
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 25 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xb01fba0, 0x0, 0xc425d34080, 0xc425c10060, 0x1, 0xc425d34070, 0xc425c10058, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xb01fba0, 0x0, 0xc425d34080, 0xc425c10060, 0x1, 0xc425d34070, 0xc425c10058, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c060, 0xc420072210, 0xc425c00f80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:53 +0x2ae
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 26 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xb01fba0, 0x0, 0xc425be80b0, 0xc425c08090, 0x1, 0xc425be80a0, 0xc425c08088, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xb01fba0, 0x0, 0xc425be80b0, 0xc425c08090, 0x1, 0xc425be80a0, 0xc425c08088, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c060, 0xc4200460c0, 0xc42003bf80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:53 +0x2ae
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 27 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xb01fba0, 0x0, 0xc425c12160, 0xc42004c0c0, 0x1, 0xc425c12150, 0xc42004c0b8, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xb01fba0, 0x0, 0xc425c12160, 0xc42004c0c0, 0x1, 0xc425c12150, 0xc42004c0b8, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c060, 0xc425bf40c0, 0xc425bfcf80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:53 +0x2ae
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
fatal error: unexpected signal during runtime execution
[signal SIGBUS: bus error code=0x2 addr=0x41e7988 pc=0x59e6ae5]
runtime stack:
runtime.throw(0x40ebc80, 0x2a)
/usr/local/Cellar/go/1.9/libexec/src/runtime/panic.go:605 +0x95
runtime.sigpanic()
/usr/local/Cellar/go/1.9/libexec/src/runtime/signal_unix.go:351 +0x2b8
goroutine 10 [syscall, locked to thread]:
runtime.cgocall(0x40aed00, 0xc425c0bdd8, 0x40c0100)
/usr/local/Cellar/go/1.9/libexec/src/runtime/cgocall.go:132 +0xe4 fp=0xc425c0bd90 sp=0xc425c0bd50 pc=0x4003ed4
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xa502630, 0x0, 0xc420010260, 0xc42004a058, 0x1, 0xc420010250, 0xc42004a050, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45 fp=0xc425c0bdd8 sp=0xc425c0bd90 pc=0x40a0315
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xa502630, 0x0, 0xc420010260, 0xc42004a058, 0x1, 0xc420010250, 0xc42004a050, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a fp=0xc425c0be48 sp=0xc425c0bdd8 pc=0x40a940a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c02020, 0xc425bf6060, 0xc425c0bf80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f fp=0xc425c0bee0 sp=0xc425c0be48 pc=0x40a40cf
main.ImageWorker(0xc42005a060, 0xc420046000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:52 +0x2f6 fp=0xc425c0bfd0 sp=0xc425c0bee0 pc=0x40adbb6
runtime.goexit()
/usr/local/Cellar/go/1.9/libexec/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc425c0bfd8 sp=0xc425c0bfd0 pc=0x4053dd1
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 1 [chan send]:
main.main()
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:32 +0xce
goroutine 8 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xa103300, 0x0, 0xc4200102b0, 0xc42004a070, 0x1, 0xc4200102a0, 0xc42004a068, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xa103300, 0x0, 0xc4200102b0, 0xc42004a070, 0x1, 0xc4200102a0, 0xc42004a068, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c9a000, 0xc425bf6090, 0xc425ca6f80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc420046000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:52 +0x2f6
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 9 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xa501ab0, 0x0, 0xc425ca8050, 0xc42000e070, 0x1, 0xc425ca8040, 0xc42000e048, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xa501ab0, 0x0, 0xc425ca8050, 0xc42000e070, 0x1, 0xc425ca8040, 0xc42000e048, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c02000, 0xc425bfa060, 0xc425c0af80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc420046000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:52 +0x2f6
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 11 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xa503110, 0x0, 0xc425ca8020, 0xc42000e030, 0x1, 0xc425ca8010, 0xc42000e028, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xa503110, 0x0, 0xc425ca8020, 0xc42000e030, 0x1, 0xc425ca8010, 0xc42000e028, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c00020, 0xc425bfa030, 0xc420039f80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc420046000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:52 +0x2f6
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 12 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x971a230, 0x0, 0xc4200102e0, 0xc42004a088, 0x1, 0xc4200102d0, 0xc42004a080, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x971a230, 0x0, 0xc4200102e0, 0xc42004a088, 0x1, 0xc4200102d0, 0xc42004a080, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c00000, 0xc425bf60c0, 0xc420038f80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc420046000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:52 +0x2f6
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 13 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xa615250, 0x0, 0xc425bf40a0, 0xc42004c028, 0x1, 0xc425bf4070, 0xc42004c018, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xa615250, 0x0, 0xc425bf40a0, 0xc42004c028, 0x1, 0xc425bf4070, 0xc42004c018, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c02040, 0xc425bfe090, 0xc425c08f80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc420046000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:52 +0x2f6
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 14 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xa614740, 0x0, 0xc425bf4090, 0xc42004c0a8, 0x1, 0xc425bf4080, 0xc42004c0a0, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xa614740, 0x0, 0xc425bf4090, 0xc42004c0a8, 0x1, 0xc425bf4080, 0xc42004c0a0, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c9a020, 0xc425bfe030, 0xc425ca7f80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc420046000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:52 +0x2f6
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 15 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x9712790, 0x0, 0xc425bf4030, 0xc42004c008, 0x1, 0xc425bf4020, 0xc42004c000, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x9712790, 0x0, 0xc425bf4030, 0xc42004c008, 0x1, 0xc425bf4020, 0xc42004c000, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c9a040, 0xc425bfe060, 0xc42003cf80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc420046000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:52 +0x2f6
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 16 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_GraphOperationByName(0xa600000, 0xd008b10, 0x0)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:415 +0x4e
github.com/tensorflow/tensorflow/tensorflow/go.(*Graph).Operation.func2(0xa600000, 0xd008b10, 0xd008b10)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/graph.go:110 +0x6a
github.com/tensorflow/tensorflow/tensorflow/go.(*Graph).Operation(0xc42000e008, 0x40e6064, 0x5, 0x0)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/graph.go:110 +0x87
github.com/tensorflow/tensorflow/tensorflow/go.(*Operation).Output(...)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:54
main.ImageWorker(0xc42005a060, 0xc420046000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:54 +0x1bc
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 34 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xa613ca0, 0x0, 0xc420010240, 0xc42004a008, 0x1, 0xc420010230, 0xc42004a000, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xa613ca0, 0x0, 0xc420010240, 0xc42004a008, 0x1, 0xc420010230, 0xc42004a000, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c180, 0xc425bf6060, 0xc425c06f80, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.ImageWorker(0xc42005a060, 0xc420046000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:52 +0x2f6
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x21 pc=0xa3b1ef0]
runtime stack:
runtime.throw(0x40ebc80, 0x2a)
/usr/local/Cellar/go/1.9/libexec/src/runtime/panic.go:605 +0x95
runtime.sigpanic()
/usr/local/Cellar/go/1.9/libexec/src/runtime/signal_unix.go:351 +0x2b8
goroutine 11 [syscall, locked to thread]:
runtime.cgocall(0x40aebe0, 0xc420039d68, 0x4219d90)
/usr/local/Cellar/go/1.9/libexec/src/runtime/cgocall.go:132 +0xe4 fp=0xc420039d38 sp=0xc420039cf8 pc=0x4003ed4
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_DeleteSessionOptions(0x7c18f80)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:287 +0x41 fp=0xc420039d68 sp=0xc420039d38 pc=0x409f851
github.com/tensorflow/tensorflow/tensorflow/go.(*SessionOptions).c.func1.1(0x7c18f80)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:264 +0x60 fp=0xc420039da0 sp=0xc420039d68 pc=0x40a9600
github.com/tensorflow/tensorflow/tensorflow/go.(*SessionOptions).c.func1()
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:264 +0x2a fp=0xc420039db8 sp=0xc420039da0 pc=0x40a964a
github.com/tensorflow/tensorflow/tensorflow/go.NewSession(0xc42000e038, 0x0, 0xc425c0c100, 0x0, 0x0)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:65 +0x177 fp=0xc420039e20 sp=0xc420039db8 pc=0x40a3de7
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:99 +0x135 fp=0xc420039ee0 sp=0xc420039e20 pc=0x40ae225
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:50 +0x18a fp=0xc420039fd0 sp=0xc420039ee0 pc=0x40ada4a
runtime.goexit()
/usr/local/Cellar/go/1.9/libexec/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc420039fd8 sp=0xc420039fd0 pc=0x4053dd1
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 1 [chan send]:
main.main()
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:32 +0xce
goroutine 7 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x450d8f0, 0x0, 0xc425bd2090, 0xc42000e078, 0x1, 0xc425bd2080, 0xc42000e070, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x450d8f0, 0x0, 0xc425bd2090, 0xc42000e078, 0x1, 0xc425bd2080, 0xc42000e070, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c0c0, 0xc425c02030, 0xc425c17ec0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:105 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:50 +0x18a
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 8 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x7c0b320, 0x0, 0xc425d4c030, 0xc425bfa058, 0x1, 0xc425d4c020, 0xc425bfa050, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x7c0b320, 0x0, 0xc425d4c030, 0xc425bfa058, 0x1, 0xc425d4c020, 0xc425bfa050, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c0e0a0, 0xc425c06060, 0xc425c13ec0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:105 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:50 +0x18a
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 9 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x4652040, 0x0, 0xc425bd2040, 0xc425bfa028, 0x1, 0xc425bd2030, 0xc425bfa020, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x4652040, 0x0, 0xc425bd2040, 0xc425bfa028, 0x1, 0xc425bd2030, 0xc425bfa020, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c0e060, 0xc425c06060, 0xc42003dec0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:105 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:50 +0x18a
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 10 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x445d0a0, 0x0, 0xc425bd2070, 0xc42000e060, 0x1, 0xc425bd2060, 0xc42000e058, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x445d0a0, 0x0, 0xc425bd2070, 0xc42000e060, 0x1, 0xc425bd2060, 0xc42000e058, 0xc400000001, 0x0, 0xc400000000, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c0c0c0, 0xc425c08030, 0xc425c15ec0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:105 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:50 +0x18a
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 12 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x450d980, 0x0, 0xc425be4060, 0xc425bfc050, 0x1, 0xc425be4030, 0xc425bfc048, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x450d980, 0x0, 0xc425be4060, 0xc425bfc050, 0x1, 0xc425be4030, 0xc425bfc048, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c0a0a0, 0xc425c08090, 0xc425c10ec0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:105 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:50 +0x18a
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 13 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x4461480, 0x0, 0xc420010230, 0xc425bf8028, 0x1, 0xc420010210, 0xc425bf8020, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x4461480, 0x0, 0xc420010230, 0xc425bf8028, 0x1, 0xc420010210, 0xc425bf8020, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c0c0e0, 0xc425c06060, 0xc425c14ec0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:105 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:50 +0x18a
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 14 [runnable]:
github.com/tensorflow/tensorflow/tensorflow/go.newStatus(0x8d4a9)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/status.go:33 +0x3f
github.com/tensorflow/tensorflow/tensorflow/go.NewSession(0xc42000e038, 0x0, 0x0, 0x0, 0x0)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:52 +0x47
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:99 +0x135
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:50 +0x18a
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 15 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x60bdae0, 0x0, 0xc425d4c050, 0xc425bfa040, 0x1, 0xc425d4c040, 0xc425bfa018, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x60bdae0, 0x0, 0xc425d4c050, 0xc425bfa040, 0x1, 0xc425d4c040, 0xc425bfa018, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c0e0e0, 0xc420072180, 0xc425c11ec0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:105 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:50 +0x18a
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
goroutine 16 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x7c08dc0, 0x0, 0xc425be4050, 0xc425bfc028, 0x1, 0xc425be4040, 0xc425bfc020, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x7c08dc0, 0x0, 0xc425be4050, 0xc425bfc028, 0x1, 0xc425be4040, 0xc425bfc020, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425c0a060, 0xc425c08030, 0xc425d43ec0, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:105 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bec000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:50 +0x18a
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image2.go:29 +0x97
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0xf pc=0x59e6e3f]
runtime stack:
runtime.throw(0x40ebc80, 0x2a)
/usr/local/Cellar/go/1.9/libexec/src/runtime/panic.go:605 +0x95
runtime.sigpanic()
/usr/local/Cellar/go/1.9/libexec/src/runtime/signal_unix.go:351 +0x2b8
goroutine 11 [syscall, locked to thread]:
runtime.cgocall(0x40aed00, 0xc425bffd20, 0x40c0100)
/usr/local/Cellar/go/1.9/libexec/src/runtime/cgocall.go:132 +0xe4 fp=0xc425bffcd8 sp=0xc425bffc98 pc=0x4003e54
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x9703170, 0x0, 0xc425c92030, 0xc425d2c020, 0x1, 0xc425c92020, 0xc425d2c018, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45 fp=0xc425bffd20 sp=0xc425bffcd8 pc=0x40a0295
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x9703170, 0x0, 0xc425c92030, 0xc425d2c020, 0x1, 0xc425c92020, 0xc425d2c018, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a fp=0xc425bffd90 sp=0xc425bffd20 pc=0x40a938a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425bd6020, 0xc425de2030, 0xc425bffec8, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f fp=0xc425bffe28 sp=0xc425bffd90 pc=0x40a404f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:106 +0x29a fp=0xc425bffee8 sp=0xc425bffe28 pc=0x40ae38a
main.ImageWorker(0xc42005a060, 0xc425bdc000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:51 +0x146 fp=0xc425bfffd0 sp=0xc425bffee8 pc=0x40ada26
runtime.goexit()
/usr/local/Cellar/go/1.9/libexec/src/runtime/asm_amd64.s:2337 +0x1 fp=0xc425bfffd8 sp=0xc425bfffd0 pc=0x4053d51
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 1 [chan send]:
main.main()
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:37 +0xce
goroutine 8 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xa160030, 0x0, 0xc425bf2060, 0xc425d2c040, 0x1, 0xc425bf2050, 0xc425d2c010, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xa160030, 0x0, 0xc425bf2060, 0xc425d2c040, 0x1, 0xc425bf2050, 0xc425d2c010, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425bf8060, 0xc4200721b0, 0xc42003bec8, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:106 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bdc000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:51 +0x146
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 9 [runnable]:
syscall.Syscall(0x3, 0x9, 0xc42022a000, 0x8d6a6, 0x8d4a6, 0x0, 0x0)
/usr/local/Cellar/go/1.9/libexec/src/syscall/asm_darwin_amd64.s:16 +0x5
syscall.read(0x9, 0xc42022a000, 0x8d6a6, 0x8d6a6, 0xc42003cb01, 0x0, 0x0)
/usr/local/Cellar/go/1.9/libexec/src/syscall/zsyscall_darwin_amd64.go:954 +0x55
syscall.Read(0x9, 0xc42022a000, 0x8d6a6, 0x8d6a6, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.9/libexec/src/syscall/syscall_unix.go:162 +0x49
internal/poll.(*FD).Read(0xc425be21e0, 0xc42022a000, 0x8d6a6, 0x8d6a6, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.9/libexec/src/internal/poll/fd_unix.go:121 +0x125
os.(*File).read(0xc42000e0c0, 0xc42022a000, 0x8d6a6, 0x8d6a6, 0x4028ffb, 0x4012596, 0xc42003cc78)
/usr/local/Cellar/go/1.9/libexec/src/os/file_unix.go:216 +0x4e
os.(*File).Read(0xc42000e0c0, 0xc42022a000, 0x8d6a6, 0x8d6a6, 0xc42003cd18, 0x4028ae9, 0xc420056158)
/usr/local/Cellar/go/1.9/libexec/src/os/file.go:103 +0x6d
bytes.(*Buffer).ReadFrom(0xc42003cd58, 0x41604e0, 0xc42000e0c0, 0xc42022a000, 0x0, 0x8d6a6)
/usr/local/Cellar/go/1.9/libexec/src/bytes/buffer.go:209 +0x177
io/ioutil.readAll(0x41604e0, 0xc42000e0c0, 0x8d6a6, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.9/libexec/src/io/ioutil/ioutil.go:33 +0x12c
io/ioutil.ReadFile(0x40e678d, 0x9, 0x0, 0x0, 0x0, 0x0, 0x0)
/usr/local/Cellar/go/1.9/libexec/src/io/ioutil/ioutil.go:70 +0xf2
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:92 +0x59
main.ImageWorker(0xc42005a060, 0xc425bdc000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:51 +0x146
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 10 [runnable]:
github.com/tensorflow/tensorflow/tensorflow/go.NewSession(0xc42000e040, 0x0, 0x0, 0x0, 0x0)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:63 +0x10b
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:100 +0x135
main.ImageWorker(0xc42005a060, 0xc425bdc000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:51 +0x146
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 12 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x9705c70, 0x0, 0xc425bf2030, 0xc42000e0b0, 0x1, 0xc425bf2020, 0xc42000e0a8, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x9705c70, 0x0, 0xc425bf2030, 0xc42000e0b0, 0x1, 0xc425bf2020, 0xc42000e0a8, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425bf8020, 0xc425de8030, 0xc420039ec8, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:106 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bdc000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:51 +0x146
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 13 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xa077350, 0x0, 0xc420010250, 0xc425d4e020, 0x1, 0xc420010240, 0xc425d4e018, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xa077350, 0x0, 0xc420010250, 0xc425d4e020, 0x1, 0xc420010240, 0xc425d4e018, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c0a0, 0xc4200721b0, 0xc420036ec8, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:106 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bdc000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:51 +0x146
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 14 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0xa15c400, 0x0, 0xc420010260, 0xc42000e030, 0x1, 0xc420010220, 0xc42000e028, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0xa15c400, 0x0, 0xc420010260, 0xc42000e030, 0x1, 0xc420010220, 0xc42000e028, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425bf6040, 0xc425de8030, 0xc425c01ec8, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:106 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bdc000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:51 +0x146
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 15 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x970a740, 0x0, 0xc420058030, 0xc425d4e038, 0x1, 0xc420058020, 0xc425d4e030, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x970a740, 0x0, 0xc420058030, 0xc425d4e038, 0x1, 0xc420058020, 0xc425d4e030, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc42000c080, 0xc425de4030, 0xc425bfdec8, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:106 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bdc000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:51 +0x146
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 16 [syscall, locked to thread]:
github.com/tensorflow/tensorflow/tensorflow/go._Cfunc_TF_SessionRun(0x9709b50, 0x0, 0xc425c92040, 0xc425be0028, 0x1, 0xc425c92000, 0xc425be0020, 0xc400000001, 0x0, 0x0, ...)
github.com/tensorflow/tensorflow/tensorflow/go/_obj/_cgo_gotypes.go:705 +0x45
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run.func1(0x9709b50, 0x0, 0xc425c92040, 0xc425be0028, 0x1, 0xc425c92000, 0xc425be0020, 0xc400000001, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23a
github.com/tensorflow/tensorflow/tensorflow/go.(*Session).Run(0xc425bd6000, 0xc425de2060, 0xc425c9aec8, 0x1, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/session.go:87 +0x23f
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:106 +0x29a
main.ImageWorker(0xc42005a060, 0xc425bdc000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:51 +0x146
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
goroutine 34 [runnable]:
github.com/tensorflow/tensorflow/tensorflow/go.NewTensor(0x40c2320, 0xc420010010, 0x40c2320, 0xc420010010, 0xc42019c000)
/Users/Jamie/Documents/Go/src/github.com/tensorflow/tensorflow/tensorflow/go/tensor.go:94 +0x18a
main.MakeTensorFromImage(0x40e678d, 0x9, 0x0)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:96 +0xf1
main.ImageWorker(0xc42005a060, 0xc425bdc000)
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:51 +0x146
created by main.main
/Users/Jamie/Documents/Go/src/github.com/jamiebaggott/image/image.go:34 +0x97
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment