You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the RF-DETR issues and found no similar bug report.
Bug
Hi, Thanks for getting back to me. I have installed rfdetr package to use the provided .ipynb file but it is throwing me the cannot import name 'RFDETRBase' from 'rfdetr' (/home/user.local/lib/python3.8/site-packages/rfdetr/init.py). When I went inside the folder in /home/user.local/lib/python3.8/site-packages/rfdetr/init.py , nothing is inside the folder. I have attached the screenshots as requested. Many thanks for your help and support.
Hi @golygolkar, thanks a lot for taking the time to prepare this bug report. It seems I know what’s happening. You’re using Python 3.8.10, a version that reached its end-of-life at the end of 2024 (https://devguide.python.org/versions/) and is no longer supported by us. To run RF-DETR on your machine, I recommend installing Python 3.10 alongside your current version.
Below are the steps you can follow to install Python 3.10 on Ubuntu 20.04:
# update your package list
sudo apt update
# install Python 3.10 along with the virtual environment and development packages
sudo apt install python3.10 python3.10-venv python3.10-dev
# verify the installation
python3.10 --version
# create a virtual environment using Python 3.10
python3.10 -m venv venv
source venv/bin/activate
# install RF-DETR
pip install rfdetr
Search before asking
Bug
Hi, Thanks for getting back to me. I have installed rfdetr package to use the provided .ipynb file but it is throwing me the cannot import name 'RFDETRBase' from 'rfdetr' (/home/user.local/lib/python3.8/site-packages/rfdetr/init.py). When I went inside the folder in /home/user.local/lib/python3.8/site-packages/rfdetr/init.py , nothing is inside the folder. I have attached the screenshots as requested. Many thanks for your help and support.
Environment
Ubuntu 20.04
rfdetr-0.0.1
torch 2.0.1+cu117
torchvision2.0.1+cu117
Python 3.8.10
Minimal Reproducible Example
Additional
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: