Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error, Path, Requirements #4

Open
th145 opened this issue Aug 25, 2022 · 0 comments
Open

Error, Path, Requirements #4

th145 opened this issue Aug 25, 2022 · 0 comments

Comments

@th145
Copy link

th145 commented Aug 25, 2022

Hi!

  1. Referring to https://github.com/dll-ncai/AI-ForestWatch, I am trying to reproduce your results but I am getting this error:
  • If I don't specify -config path/to/config.json argument:
    Traceback (most recent call last):
      File "/content/AI-ForestWatch/train.py", line 83, in <module>
        config = ConfigParser.from_args(args, options)
      File "/content/AI-ForestWatch/parse_config.py", line 81, in from_args
        config = read_json(cfg_fname)
      File "/content/AI-ForestWatch/utils/util.py", line 22, in read_json
        with fname.open('rt') as handle:
      File "/usr/lib/python3.7/pathlib.py", line 1208, in open
        opener=self._opener)
      File "/usr/lib/python3.7/pathlib.py", line 1063, in _opener
        return self._accessor.open(self, flags, mode)
    FileNotFoundError: [Errno 2] No such file or directory: 'config.json'
  • If I specify --config path/to/config.json argument ( I have changed the paths as suggested and named the folders the same as you have done. I have observed that the temp_split folder is empty):
    Warning: logging configuration file is not found in logger/logger_config.json.
    LOG: No saved data found. Making new data directory /content/drive/MyDrive/Forest_DAAD_Data/train/temp_split
    Traceback (most recent call last):
      File "/content/AI-ForestWatch/train.py", line 84, in <module>
        main(config)
      File "/content/AI-ForestWatch/train.py", line 31, in main
        train_data_loader = config.init_obj('train_data_loader', module_data)
      File "/content/AI-ForestWatch/parse_config.py", line 103, in init_obj
        return getattr(module, module_name)(*args, **module_args)
      File "/content/AI-ForestWatch/data_loader/data_loaders.py", line 32, in __init__
        os.mkdir(data_split_lists_path)
    FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/Forest_DAAD_Data/train/temp_split'
  1. Moreover, in /content/AI-ForestWatch/base/datagen.py there is a label_directory_path variable. There are no ground truths so I suppose this should contain the path for training_2015_pickled_data and data_directory_path should contain inference's path. Is it correct or should it contain other paths?

  2. What are the requirements for this project in terms of GPU and RAM etc? Can Colab be used?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant