Skip to content

Fix segmentation fault #3

Open
jeffin07 wants to merge 1 commit into
saeed-anwar:masterfrom
jeffin07:patch-1
Open

Fix segmentation fault #3
jeffin07 wants to merge 1 commit into
saeed-anwar:masterfrom
jeffin07:patch-1

Conversation

@jeffin07

@jeffin07 jeffin07 commented Dec 3, 2019

Copy link
Copy Markdown
Contributor

Fixed #2
Which will return segmentation error while using high resolution images
Updated utils.py to resize the images which will be the input to the height and width specified in the paper.Changed imread in utils.py from
scipy.misc.imread(path).astype(np.float)
to
np.array(Image.fromarray(scipy.misc.imread(path)).resize((310,230))).astype(np.float)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segmentation Fault

1 participant