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

get_data() in O'Reilly Training.ipynb make kernel issues #12

Closed
ccqpein opened this issue May 28, 2017 · 1 comment
Closed

get_data() in O'Reilly Training.ipynb make kernel issues #12

ccqpein opened this issue May 28, 2017 · 1 comment

Comments

@ccqpein
Copy link

ccqpein commented May 28, 2017

I use docker to run Caption this, with TensorFlow. I followed everything in readme and when I run feats, captions = get_data(annotation_path, feature_path) Jupyter show alart that "The kernel appears to have died. It will restart automatically" everytime.

Do I miss something? How could I fix this issue?

Thank you!

@ccqpein ccqpein changed the title get_data(annotation_path, feature_path) in 1. O'Reilly Training.ipynb make The kernel appears to have died. It will restart automatically. get_data() in O'Reilly Training.ipynb make kernel issues May 28, 2017
@raulpuric
Copy link
Collaborator

Ahh my apologies.
When I was trying to train, a set of preloaded weights I removed the memory mapping from the call to np.load(...) to speed up IO. The docker container (and some laptops too) does not have enough memory to load the features which sits at ~5.9 GB. I've added back the memory map in the most recent commit.

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

2 participants