-
Notifications
You must be signed in to change notification settings - Fork 221
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
KeyError when trying out the Example #205
Comments
Hmm. What version of keras?
…On Thu, Jun 21, 2018, 10:24 AM Gindo70 ***@***.***> wrote:
Hi,
when i try to run following Code from the Example i get a KeyError.
training_dictionary, test_dictionary =
keras_rcnn.datasets.shape.load_data()
KeyError Traceback (most recent call last)
<ipython-input-1-eb62b4b51859> in <module>()
5 import keras_rcnn.preprocessing
6
----> 7 training_dictionary, test_dictionary = keras_rcnn.datasets.shape.load_data()
~/anaconda3/lib/python3.5/site-packages/keras_rcnn-0.0.2-py3.5.egg/keras_rcnn/datasets/shape.py in load_data()
11 resource_path = "/".join(["data", "schema.json"])
12
---> 13 with open(pkg_resources.resource_filename("keras_rcnn", resource_path)) as stream:
14 schema = json.load(stream)
15
~/anaconda3/lib/python3.5/site-packages/pkg_resources/__init__.py in resource_filename(self, package_or_requirement, resource_name)
1135 """Return a true filesystem path for specified resource"""
1136 return get_provider(package_or_requirement).get_resource_filename(
-> 1137 self, resource_name
1138 )
1139
~/anaconda3/lib/python3.5/site-packages/pkg_resources/__init__.py in get_resource_filename(self, manager, resource_name)
1644 for name in eagers:
1645 self._extract_resource(manager, self._eager_to_zip(name))
-> 1646 return self._extract_resource(manager, zip_path)
1647
1648 @staticmethod
~/anaconda3/lib/python3.5/site-packages/pkg_resources/__init__.py in _extract_resource(self, manager, zip_path)
1665 return os.path.dirname(last)
1666
-> 1667 timestamp, size = self._get_date_and_size(self.zipinfo[zip_path])
1668
1669 if not WRITE_SUPPORT:
KeyError: 'keras_rcnn/data/schema.json'
Any help is appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#205>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AJJbgoTEAU7lDj_vk94aOOWMPhGBXUngks5t-9bigaJpZM4UyeId>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
when i try to run following Code from the Example i get a KeyError.
training_dictionary, test_dictionary = keras_rcnn.datasets.shape.load_data()
Any help is appreciated.
The text was updated successfully, but these errors were encountered: