-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] unrecognized arguments: --local-rank=0 #48
Comments
Hi, @leon-costa, sorry for the late reply. I try to run conda create -n openmixup python=3.8 pytorch=1.13 cudatoolkit=11.6 torchvision -c pytorch -y
conda activate openmixup
pip install openmim
mim install mmcv-full
pip install opencv-python
git clone https://github.com/Westlake-AI/openmixup.git
cd openmixup
python setup.py develop |
Hi. Thank you for your reply. Yes I'm on the latest commit on the I tried your commands:
And it worked, I was able to start a training. |
Thanks for your detailed solutions! @leon-costa👍 We will add a reference to this issue in |
Describe the bug
I followed the installation instructions in https://github.com/Westlake-AI/openmixup/blob/main/docs/en/install.md#install-openmixup and everything went well (except Apex but it's optional).
When I run the first Getting Started example command I get the following error:
To Reproduce
Follow the installation instructions and execute the example command as described above.
Post related information
pip list | grep "openmixup\|^torch"
No modified config. I just changed the 8 gpus to 1 gpu in the example command.
Additional context
I initially tried to install everything by following the instructions here but the last command
python setup.py develop
failed with this error:The text was updated successfully, but these errors were encountered: