From 075a5fcf4f18bb4876a25db6ee8c9ba8e62ac016 Mon Sep 17 00:00:00 2001 From: Skwarson96 Date: Tue, 23 May 2023 22:07:05 +0200 Subject: [PATCH 1/3] fix requirements.txt --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index ddb4470..45bf52b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ matplotlib tqdm -os numpy -warnings argparse opencv-python +torch +torchvision \ No newline at end of file From 2030c5e716214b8eb091482f9156832c4cb7fe72 Mon Sep 17 00:00:00 2001 From: Skwarson96 Date: Tue, 23 May 2023 22:15:52 +0200 Subject: [PATCH 2/3] update README.md --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index b84cdf1..01504a4 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,16 @@ cd Personalize-SAM conda create -n persam python=3.8 conda activate persam +pip install -r requirements.txt +``` +or if you want to use virtual enviroment: +```bash +git clone https://github.com/ZrrSkywalker/Personalize-SAM.git +cd Personalize-SAM + +python -m venv venv +source venv/bin/activate + pip install -r requirements.txt ``` From c63cefdf7c71439a3c3fef284beedced8b9213fe Mon Sep 17 00:00:00 2001 From: Renrui Zhang <54577425+ZrrSkywalker@users.noreply.github.com> Date: Thu, 25 May 2023 05:17:57 +0800 Subject: [PATCH 3/3] Update requirements.txt --- requirements.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 45bf52b..1c300be 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,5 +3,3 @@ tqdm numpy argparse opencv-python -torch -torchvision \ No newline at end of file