AssertionError: run_captioning always expects test_yaml to be in data_dir
https://github.com/microsoft/Oscar/blob/1044e6ee7899d885ce60b1719380da960b27adfb/oscar/run_captioning.py#L328 Assertion fails since when called on #L858 the yaml path is always joined to args.data_dir. This is contrary to the reproduciton example given in the model zoo.
I just removed the line and it works.
https://github.com/microsoft/Oscar/blob/1044e6ee7899d885ce60b1719380da960b27adfb/oscar/run_captioning.py#L328
Assertion fails since when called on #L858 the yaml path is always joined to args.data_dir. This is contrary to the reproduciton example given in the model zoo.
give proper location of the dataset file --data_dir 'oscar/datasets/coco_caption' .this helped me