Open Muna-Darweesh opened 1 year ago
Hi! This is probably due to a mismatch between your python version and the requested torch version: if you check https://[download.pytorch.org/whl/torch_stable.html](https://download.pytorch.org/whl/torch_stable.html) and look for torch-1.9.1
, the last available python version is cp39
. I believe you might be using python 3.10 or later that's causing this issue.
In any case, you have two options: you either downgrade your python version to 3.9 or earlier, or you simply install a newer pytorch, it should work either way. In the latter case, you will probably need to update other packages as well (timm
most likely).
Hello Sir
Many thanks for your reply. I will try the mentioned options and let you know.
Kind Regards, Muna Darweesh Lecturer- College of Engineering and IT (CEIT)
Tel (Main): 800 UOD *Tel (Ext): +971 4 556-6949 Zoom:https://ud-ae.zoom.us/j/2016872373 https://ud-ae.zoom.us/j/2016872373 Office Location: CEIT, ground floor, room 104 *PO Box: 14143, Dubai Academic City, UAE [image: UD Logo]
Disclaimer: This message is intended for the recipient named above. It may contain confidential or privileged information. If you are not the intended recipient, please notify the sender immediately by replying to this message and then delete it from your system. Do not read, copy, use or circulate this communication. Any views or opinions expressed in this email are those of the author and do not represent those of the University of Dubai. Warning: Although precautions have been taken to make sure no viruses are present in this email, University of Dubai cannot accept responsibility for any loss or damage that arise from the use of this email or its attachments.
On Mon, Aug 21, 2023 at 11:56 AM Edoardo Arnaudo @.***> wrote:
Hi! This is probably due to a mismatch between your python version and the requested torch version: if you check https:// download.pytorch.org/whl/torch_stable.html and look for torch-1.9.1, the last available python version is cp39. I believe you might be using python 3.10 or later that's causing this issue. In any case, you have two options: you either downgrade your python version to 3.9 or earlier, or you simply install a newer pytorch, it should work either way. In the latter case, you will probably need to update other packages as well (timm most likely).
— Reply to this email directly, view it on GitHub https://github.com/edornd/mmflood/issues/7#issuecomment-1685835036, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATE4JCMPOCUWVIPJ6OXEEJLXWMIC7ANCNFSM6AAAAAA3XC6QXQ . You are receiving this because you authored the thread.Message ID: @.***>
hello, many thanks for your efforts. I have been trying to install the dataset and when I run the requirement.txt I always get the error that torch-related error "couldn't find the version that satisfies the requirement ==1.9.1. I have tried with the previous python version on google collab but it did not work—my apology for the question. I am one w to this and still learning. Thanks again