Skip to content
This repository has been archived by the owner on Jan 17, 2019. It is now read-only.

Segmentation fault (core dumped) #90

Open
montyhall opened this issue Feb 13, 2017 · 0 comments
Open

Segmentation fault (core dumped) #90

montyhall opened this issue Feb 13, 2017 · 0 comments

Comments

@montyhall
Copy link

i am getting the following segmentation fault on the repo testImage.jpg

cuda2[deepmask]$  th computeProposals.lua $DEEPMASK/pretrained/deepmask -img data/testImage.jpg 
| loading model file... /scratch/deepmask//pretrained/deepmask   
| start 
Segmentation fault (core dumped)

following a recommendation I am scaling the image as follows (otherwise i get out of memory error).

-- load image
local img = image.load(config.img)
local h,w = img:size(2),img:size(3)
img=image.scale(img,w/4,h/4)

-- forward all scales
infer:forward(img)

running on GeForce GTX TITAN Z (12 GB memory)

thank you

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant