Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue on extracting image feature #31

Closed
yellowjs0304 opened this issue Jun 29, 2018 · 6 comments
Closed

Issue on extracting image feature #31

yellowjs0304 opened this issue Jun 29, 2018 · 6 comments

Comments

@yellowjs0304
Copy link

yellowjs0304 commented Jun 29, 2018

Hi i'm getting problem on extracting image feature.
I ran this command, "th prepro_img_vgg16.lua -imageRoot ~/Desktop/2014/ -gpuid 0"
It returns

/home/ai8503/torch/install/bin/lua: ...me/ai8503/torch/install/share/lua/5.1/trepl/init.lua:389: ...me/ai8503/torch/install/share/lua/5.1/trepl/init.lua:389: ...home/ai8503/torch/install/share/lua/5.1/hdf5/ffi.lua:56: expected align(#) on line 579
stack traceback:
	[C]: in function 'error'
	...me/ai8503/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
	prepro_img_vgg16.lua:3: in main chunk
	[C]: in function 'dofile'
	.../torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
	[C]: ?

How can I fix this?

@yellowjs0304 yellowjs0304 changed the title I Issue on extracting image feature Jun 29, 2018
@abhshkdz
Copy link
Member

Not completely certain of the fix, but might be worth trying google-deepmind/torch-hdf5#79 (comment)

@yellowjs0304
Copy link
Author

I appreciate your help, but I have not found the solution.

@wanyao1992
Copy link

@yellowjs0304 have you solved the problem? I encounter the same problem.

@abhshkdz
Copy link
Member

abhshkdz commented Jul 8, 2018

@wanyao1992 @yellowjs0304 could you try this with luajit instead of lua 5.1 please. That seems to have fixed it for a bunch of people on the issue referenced above.

@choys73
Copy link

choys73 commented Jul 9, 2018

I solved the problem by installing luajit!
And I install the hdf5 version 1.10.

@yellowjs0304
Copy link
Author

@wanyao1992 @ChoYS96
No way, it is not a good solution.
I installed the LuaJit instead of lua5.1 and the issue about line 579 is gone.
But in extracting the image feature, It occurs out of memory error.

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

No branches or pull requests

4 participants