Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Luodian/Otter into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Luodian committed Jun 23, 2023
2 parents 64ced89 + 12ab8b6 commit 87bfde1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,9 @@ prompt = f"<image>User:{ict_first_instruction} GPT: <answer>{ict_first_response}
For more details, please refer to our [paper](https://arxiv.org/abs/2306.05425)'s appendix for other tasks.
## 🗂️ Environments

You may install via `conda env create -f environment.yml`. Especially to make sure the `transformers>=4.28.0`, `accelerate>=0.18.0`.
1. Compare cuda version returned by nvidia-smi and nvcc --version. They need to match. Or at least, the version get by nvcc --version should be <= the version get by nvidia-smi.
2. Install the pytorch that matches your cuda version. (e.g. cuda 11.7 torch 2.0.0). We have successfully run this code on cuda 11.1 torch 1.10.1 and cuda 11.7 torch 2.0.0. Version compatible reference:[here](https://pytorch.org/) or [here](https://pytorch.org/get-started/previous-versions/).
3. You may install via `conda env create -f environment.yml`. Especially to make sure the `transformers>=4.28.0`, `accelerate>=0.18.0`.

## 🤗 Hugging Face Model

Expand Down
3 changes: 0 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@ numpy>=1.23.5
open_clip_torch>=2.16.0
opencv_python_headless>=4.5.5.64
Pillow>=9.5.0
Pillow>=9.5.0
pycocoevalcap>=1.
pycocotools>=2.0.6
Requests>=2.31.0
scipy>=1.10.1
timm>=0.9.2
torch>=2.0.0
torchvision>=0.15.1
tqdm>=4.65.0
transformers>=4.29.0
uvicorn>=0.22.0
Expand Down

0 comments on commit 87bfde1

Please sign in to comment.