Moved Imagenet loading library to example applications; Changed code to return filenames as well as arrays (#257)

This commit is contained in:
Wapaul1
2016-07-11 18:06:58 -07:00
committed by Robert Nishihara
parent 8952ff8cf9
commit 292abaa41c
13 changed files with 37 additions and 44 deletions
+1 -1
View File
@@ -233,7 +233,7 @@ def get(objref, worker=global_worker):
print_task_info(ray.lib.task_info(worker.handle), worker.mode)
value = worker.get_object(objref)
if isinstance(value, RayFailedObject):
raise Exception("The task that created this object reference failed with error message: {}".format(value.error_message))
raise Exception("The task that created this object reference failed with error message:\n{}".format(value.error_message))
return value
def put(value, worker=global_worker):