mapbox / mapbox/robosat

installation Error: No such file or directory: '/data/model.toml'

Open
#215 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2.1k
Forks
385
PR merge metrics
No merged PRs in 30d

Description

Hi,
I got this error: ( FileNotFoundError: [Errno 2] No such file or directory: '/data/model.toml') during of built Docker images installation using GPU, I run it on ubuntu v20.04.01
Here is what was appeared:
Lia@Lia-GL553VD:~$ sudo docker run --runtime=nvidia -it --rm -v $PWD:/data --ipc=host mapbox/robosat:latest-gpu train --model /data/model.toml --dataset /data/dataset.toml --workers 4
Unable to find image 'mapbox/robosat:latest-gpu' locally
latest-gpu: Pulling from mapbox/robosat
35c102085707: Pull complete
251f5509d51d: Pull complete
8e829fe70a46: Pull complete
6001e1789921: Pull complete
9f0a21d58e5d: Pull complete
47b91ac70c27: Pull complete
a0529eb74f28: Pull complete
23bff6dcced5: Pull complete
6d10e7155e41: Pull complete
1077cd91e25b: Pull complete
17187e0cb362: Pull complete
59f16297861a: Pull complete
a01b17d3e344: Pull complete
832b14d21211: Pull complete
ec4844dbe142: Pull complete
5a77bff3a5ba: Pull complete
0c570f863b22: Pull complete
bb1abf747bd6: Pull complete
Digest: sha256:f4d0234287a9d7175554859cc70450cd3ef198c48b78dd4fd583d0d768a1db04
Status: Downloaded newer image for mapbox/robosat:latest-gpu
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/src/app/robosat/tools/main.py", line 58, in
args.func(args)
File "/usr/src/app/robosat/tools/train.py", line 57, in main
model = load_config(args.model)
File "/usr/src/app/robosat/config.py", line 21, in load_config
return toml.load(path)
File "/opt/venv/lib/python3.6/site-packages/toml/decoder.py", line 111, in load
with io.open(_getpath(f), encoding='utf-8') as ffile:
FileNotFoundError: [Errno 2] No such file or directory: '/data/model.toml'

Thanks for any commands,
Best Regards
Mary

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Docker command and its -v $PWD:/data mount, checking whether model.toml and dataset.toml exist in the host directory. The traceback points to robosat/tools/train.py:57 and robosat/config.py:21; reproduce the command and verify that configuration loading can find /data/model.toml.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops, machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.