Skip to content

Code not working: multiple errors #1

@haricalzi

Description

@haricalzi

Hi, I'm trying to run you code but I'm facing some errors:

  • os.mkdir(model_dir) in pretrain.py and train.py doesn't work because it's not possible to create multiple (recursive) directory, I make it works with os.makedirs(model_dir, exist_ok=True)
  • I downloaded all from google drive but some files are missing: the file data/refTrainAll_512X320.pkl needed in pretrain.py is missing, so it's not possible to do the pretrain task correctly, and so also the next ones.
  • There are also some incorrect files such as refcocogaze_train_correct_tf_512X320_6.json (the actual one in the drive directory is called refcocogaze_train_tf_512X320_6.json) or refcocogaze_val_correct_tf_512X320_6.json (the actual one in the drive directory is called refcocogaze_val_tf_512X320_6.json), from utils/core_utils.py, etc..

These errors make it not possible to keep going with the experiments.

Can you please help me?

Thanks :), Hari (and @2piccio2)

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