Docker installation with data softlink bug fixed?
See original GitHub issueHi there,
I found that in current ReadMe file local evaluation step 5, if a soft link is used and the suggested docker command is run, there would be an error message like this:
2021-04-13 21:51:15,680 Initializing dataset ObjectNav-v1
2021-04-13 21:51:15,710 initializing sim Sim-v0
WARNING: Logging before InitGoogleLogging() is written to STDERR
E0413 21:51:15.723701 17 StageAttributesManager.cpp:90] StageAttributesManager::registerObjectFinalize : Render asset template handle : habitat-challenge-data/data/scene_datasets/mp3d/x8F5xyUWy9e/x8F5xyUWy9e.glb specified in stage template with handle : habitat-challenge-data/data/scene_datasets/mp3d/x8F5xyUWy9e/x8F5xyUWy9e.glb does not correspond to any existing file or primitive render asset. Aborting.
submission.sh: line 3: 17 Segmentation fault (core dumped) python agent.py --evaluation $AGENT_EVALUATION_TYPE $@`
My fix was to change this line:
-v $(realpath habitat-challenge-data/data/scene_datasets/mp3d) \
to
-v $(realpath habitat-challenge-data/data/scene_datasets/mp3d):/habitat-challenge-data/data/scene_datasets/mp3d \
Not that familiar with Docker, so not sure whether this is a version problem or a bug. Just want to post one solution!
Best, Yiqing
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Symbolic Links not Working as Expected · Issue #5778 - GitHub
Now Docker is treating Windows symbolic links as Linux symbolic links, that way you may not be able to access the files if...
Read more >Docker load failure: symlink "link": operation not permitted
I would strongly suggest to configure the data-root folder in /etc/docker/deamon.json (create the file if it doesn't exist), ...
Read more >docker - create a symlink in an unprivileged container error
Like other Linux commands, a Docker container's main CMD can't run if the program it names isn't executable. Most source-control systems ...
Read more >FAQ - Rancher Desktop Docs
Q: Can I have Docker Desktop installed alongside Rancher Desktop? ... I see a Insufficient permission to manipulate /usr/local/bin error, how do I...
Read more >Running AWS IoT Greengrass in a Docker container
x Docker images no longer receive security patches or bug fixes after maintenance ended on June 30, 2022. If you run a production...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@erikwijmans By the way, there is still a small problem in the readme. The path is no longer working, it should be
/habitat_baselines/config/objectnav/ddppo_objectnav.yaml
(If the script runs under thehabita-lab
folder).Likely a versioning thing as
-v $(realpath habitat-challenge-data/data/scene_datasets/mp3d) \
worked at the time, but your update seems more portable! I will update the readme