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.

Can't visualise the Example

See original GitHub issue

❓ Questions and Help

I am trying to run the example from habitat-api’s quick start guide but when I run it, it doesn’t open the viewer.

I create the file testActions.py and I am calling it from outside both habitat-api and habitat-sim repository. I tried bot python testActions.py and python testActions.py ./habitat-sim/build/viewer --enable-physics /data/scene_datasets/habitat-test-scenes/van-gogh-room.glb

this is what it returns:

2020-03-11 15:43:12,344 Initializing dataset PointNav-v1
2020-03-11 15:43:12,562 initializing sim Sim-v0
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0311 15:43:12.599169 233229760 SceneGraph.h:92] Created DrawableGroup: 
Renderer: Intel(R) Iris(TM) Plus Graphics 640 by Intel Inc.
OpenGL version: 4.1 INTEL-14.4.23
Using optional features:
    GL_ARB_ES2_compatibility
    GL_ARB_separate_shader_objects
    GL_ARB_texture_filter_anisotropic
    GL_ARB_texture_storage
    GL_ARB_vertex_array_object
    GL_EXT_debug_label
    GL_EXT_debug_marker
Using driver workarounds:
    no-layout-qualifiers-on-old-glsl
I0311 15:43:12.769114 233229760 ResourceManager.cpp:1072] Importing Basis files as BC3
W0311 15:43:14.076529 233229760 Simulator.cpp:140] :
---
 The active scene does not contain semantic annotations. 
---
I0311 15:43:14.099301 6910 simulator.py:142] Loaded navmesh data/scene_datasets/habitat-test-scenes/skokloster-castle.navmesh
2020-03-11 15:43:14,156 Initializing task Nav-v0
Environment creation successful
Traceback (most recent call last):
  File "testActions.py", line 65, in <module>
    example()
  File "testActions.py", line 24, in example
    observations["pointgoal"][0], observations["pointgoal"][1]))
KeyError: 'pointgoal'
I0311 15:43:14.704975 233229760 Simulator.cpp:35] Deconstructing Simulator
I0311 15:43:14.705004 233229760 SemanticScene.h:40] Deconstructing SemanticScene
I0311 15:43:14.705010 233229760 SceneManager.h:24] Deconstructing SceneManager
I0311 15:43:14.705014 233229760 SceneGraph.h:25] Deconstructing SceneGraph
I0311 15:43:14.705575 233229760 RenderTarget.h:51] Deconstructing RenderTarget
I0311 15:43:14.705756 233229760 Sensor.h:80] Deconstructing Sensor
I0311 15:43:14.715387 233229760 Renderer.cpp:33] Deconstructing Renderer
I0311 15:43:14.715456 233229760 WindowlessContext.h:16] Deconstructing WindowlessContext
I0311 15:43:14.715466 233229760 WindowlessContext.cpp:264] Deconstructing GL context

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
dhruvbatracommented, Mar 11, 2020
0reactions
c4chalecommented, Mar 13, 2020

There is a problem with the updated version of opencv-python. I find the solution by installing the version 4.1.0.25:

pip unistall opencv-python
pip install opencv-python==4.1.0.25
Read more comments on GitHub >

github_iconTop Results From Across the Web

Aphantasia: When You Are Blind in Your Mind - Verywell Mind
Aphantasia is a relatively unstudied phenomenon that involves not being able to visualize images in your mind. Explore some ongoing research ...
Read more >
Aphantasia explained: some people can't form mental pictures
People with aphantasia, when asked to form an image in their minds, will report they cannot “see” anything.
Read more >
I can't visualize images in my mind. With my eyes closed, all I ...
Basically, an example will be visualizing your friend's face. Definitely, you cannot get a clear picture of him/her when you close your eyes...
Read more >
5 reason you can't visualize images in your mind | Manifestation
5 reasons you can't visualize images in your mind · 1. No relaxation. A very simple factor that prevents you from visualizing images...
Read more >
Aphantasia - Wikipedia
Zeman's team coined the term aphantasia, derived from the ancient Greek word phantasia (φᾰντᾰσῐ́ᾱ), which means "imagination", and the prefix a- (ᾰ̓-), which ......
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