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

math domain error #13

Closed
avalada opened this issue Mar 20, 2015 · 1 comment
Closed

math domain error #13

avalada opened this issue Mar 20, 2015 · 1 comment

Comments

@avalada
Copy link

avalada commented Mar 20, 2015

I created my dataset and used the default AlexNet definitions. I get the error below and the caffe log says
"Memory required for data: 0"

Not sure why? The LMDB's seem to exist.

ERROR: math domain error

Traceback (most recent call last):
File "/home/valada/digits/digits/scheduler.py", line 386, in task_thread
task.run(**options)
File "/home/valada/digits/digits/task.py", line 196, in run
if not self.process_output(line):
File "/home/valada/digits/digits/model/tasks/caffe_train.py", line 475, in process_output
self.logger.debug('memory required: %s' % utils.sizeof_fmt(bytes_required))
File "/home/valada/digits/digits/utils/init.py", line 100, in sizeof_fmt
i = int(math.floor(math.log(size,1024)))
ValueError: math domain error

@avalada
Copy link
Author

avalada commented Mar 20, 2015

Looks like Caffe bug rather than DIGITS so closing.

@avalada avalada closed this as completed Mar 20, 2015
lukeyeager added a commit that referenced this issue Mar 20, 2015
As pointed out in #13, DIGITS throws an exception if caffe reports that
the memory usage for a model is 0 bytes. This is a bug in caffe, but
DIGITS should be robust enough to handle it.
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

1 participant