Skip to content

Installation and Model Weight Download Issues #25

@mubin-metrosofts

Description

@mubin-metrosofts

Description:
I encountered difficulties while trying to set up and run the GRiT model from this repository in a Google Colab environment.

Environment:
Google Colab (Python 3.12)

Steps Taken:

  1. Cloned the repository using !git clone https://github.com/JialianW/GRiT.git.
  2. Changed directory to the cloned repository using os.chdir('GRiT').
  3. Attempted to install dependencies using !pip install -r requirements.txt. This failed repeatedly with build errors related to the tokenizers library.
  4. Tried installing specific versions of tokenizers and transformers (e.g., tokenizers==0.12.1, transformers==4.21.1, tokenizers==0.13.3, transformers==4.27.4, etc.) both before and after attempting to install the full requirements, and with and without the --no-build-isolation and --no-binary :all: flags. All attempts to build tokenizers from source failed.
  5. Encountered 404 errors when trying to download the pre-trained model weights (grit_b_0_75.pth) from the URLs found in the README and other potential locations.

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