Skip to content

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

@MaryElna

Description

@MaryElna

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions