Skip to content

[need help] FileNotFoundError: [Errno 2] No such file or directory: 'datasets/tent_seg/ref_image_crop_2.png' #12

@NtskwK

Description

@NtskwK

There is a problem when I'm trying to launch demo.py with the following arguments.

python demo/demo.py --dist-url auto --config-file configs/skysense_o_demo.yaml --dist-url 'auto' --eval-only --num-gpus 1
 ____  _          ____                                 ___  
/ ___|| | ___   _/ ___|  ___ _ __  ___  ___           / _ \
\___ \| |/ / | | \___ \ / _ \ '_ \/ __|/ _ \  _____  | | | |
 ___) |   <| |_| |___) |  __/ | | \__ \  __/ |_____| | |_| |
|____/|_|\_\\__, |____/ \___|_| |_|___/\___|          \___/
            |___/

Please input your target texts with ',' split: setting
Running...
Traceback (most recent call last):
  File "G:\work\SkySense-O\demo\demo.py", line 278, in <module>
    main(args)
  File "G:\work\SkySense-O\demo\demo.py", line 274, in main
    output = model.run_demo()
  File "G:\work\SkySense-O\demo\predictor.py", line 200, in run_demo
    self.demo()
  File "G:\work\SkySense-O\.venv\lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
    return func(*args, **kwargs)
  File "G:\work\SkySense-O\demo\predictor.py", line 153, in demo
    batched_inputs = self.generate_input_format(image_path, input_text, save_path)
  File "G:\work\SkySense-O\demo\predictor.py", line 94, in generate_input_format
    image = Image.open(image_path)
  File "G:\work\SkySense-O\.venv\lib\site-packages\PIL\Image.py", line 2975, in open
    fp = builtins.open(filename, "rb")
FileNotFoundError: [Errno 2] No such file or directory: 'datasets/tent_seg/ref_image_crop_2.png'

Anyway, thank you for your work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions