question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while reproducing BOP results on YCB-V using resnet50

See original GitHub issue

Hello,

Thank you for your wonderful work! I am trying to reproduce the results of BOP challenge on YCB-V dataset using both versions submitted in the BOP challenge. I am able to reproduce the results by using ‘paper’ as backbone but while using ‘resnet50’ as backbone, I get the following error.

load pix2pose weight for obj_1 from /home/akm7rng/Desktop/Dataset/BOP/Dataset/ycbv/pix2pose_weights/01/inference_resnet_model.hdf5
XXX lineno: 188, opcode: 0
Traceback (most recent call last):
  File "/home/akm7rng/envs/pix2pose/lib/python3.6/site-packages/keras/engine/saving.py", line 260, in load_model
    model = model_from_config(model_config, custom_objects=custom_objects)
  File "/home/akm7rng/envs/pix2pose/lib/python3.6/site-packages/keras/engine/saving.py", line 334, in model_from_config
    return deserialize(config, custom_objects=custom_objects)
  File "/home/akm7rng/envs/pix2pose/lib/python3.6/site-packages/keras/layers/__init__.py", line 55, in deserialize
    printable_module_name='layer')
  File "/home/akm7rng/envs/pix2pose/lib/python3.6/site-packages/keras/utils/generic_utils.py", line 145, in deserialize_keras_object
    list(custom_objects.items())))
  File "/home/akm7rng/envs/pix2pose/lib/python3.6/site-packages/keras/engine/network.py", line 1027, in from_config
    process_node(layer, node_data)
  File "/home/akm7rng/envs/pix2pose/lib/python3.6/site-packages/keras/engine/network.py", line 986, in process_node
    layer(unpack_singleton(input_tensors), **kwargs)
  File "/home/akm7rng/envs/pix2pose/lib/python3.6/site-packages/keras/engine/base_layer.py", line 457, in __call__
    output = self.call(inputs, **kwargs)
  File "/home/akm7rng/envs/pix2pose/lib/python3.6/site-packages/keras/layers/core.py", line 682, in call
    return self.function(inputs, **arguments)
  File "/home/kiru/common_ws/Pix2Pose/pix2pose_model/ae_model.py", line 188, in <lambda>
SystemError: unknown opcode'

I am running the code with Python 3.6.3 and Keras 2.2.1. Please let me know if you need any information from my side. Thank you for your assistance!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kirumangcommented, Jan 22, 2020

I updated the code and uploaded the weight files again. Check out the new link at README.md and the commit a884d7ba8f52d68a5cb6b2b564750cd0368329c3

Please let me know if this makes other problems 😃.

0reactions
kirumangcommented, Jan 23, 2020

Sounds great! Thank you for pointing out. I changed the link also.

Read more comments on GitHub >

github_iconTop Results From Across the Web

ylabbe/pix2pose_cosypose
The Resnet-50 backbone, which can be initialized with weights for ImageNet, ... For the YCB-Video dataset, the improvements are (in terms of the...
Read more >
Why I am getting error while using ResNet50 for transfer ...
So I am trying to use ResNet50 for transfer learning with my keras model(i.e Trinity), but the problem is I am getting an...
Read more >
Resnet 50 error / SwiftUI | Apple Developer Forums
I am building Object detection App using Xcode/ SwiftUI. I am using Resnet50 for image classification and have used this code. var model...
Read more >
Error when trying to get untrained ResNet-50 architecture
I want to train the CNN ResNet-50 from scratch. According to the manual (https://www.mathworks.com/help/deeplearning/ref/resnet50.html), I can get an ...
Read more >
Pervasive Label Errors in Test Sets Destabilize Machine ...
Traditionally, machine learning practitioners choose which model to deploy based on test accuracy — our findings advise caution here, propos-.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found