Comments (6)
Hi @okotaku , the command mim train mmcls config.py --gpu-ids 1 --gpus 1
should work well because gpu-ids
will be parsed as other_args
and they will also be passed to train.py.
Lines 150 to 151 in 08a99cf
from mim.
Hi, okotaku. In mmcls, --gpu-ids
and --gpus
are two exclusive args. Maybe you can use CUDA_VISIBLE_DEVICES=1 mim train mmcls config.py --gpus 1
instead.
from mim.
Thank you!
from mim.
When I try to use mim train mmcls config.py --gpu-ids 1 --gpus 1
, I get the following error.
usage: train.py [-h] [--work-dir WORK_DIR] [--load-from LOAD_FROM] [--resume-from RESUME_FROM] [--no-validate] [--gpus GPUS | --gpu-ids GPU_IDS [GPU_IDS ...]] [--seed SEED]
[--deterministic] [--options OPTIONS [OPTIONS ...]] [--cfg-options CFG_OPTIONS [CFG_OPTIONS ...]] [--launcher {none,pytorch,slurm,mpi}] [--local_rank LOCAL_RANK]
config
train.py: error: argument --gpu-ids: not allowed with argument --gpus
from mim.
Please @kennymckormick have a look.
from mim.
Thank you!
from mim.
Related Issues (20)
- mim: command not found HOT 5
- Support print_config
- install fail HOT 1
- mim train
- How to modify the config file with train function in MIM
- Download FileNotFoundError HOT 2
- [Bug] mmengine version not upgrade to the latest version using mim HOT 1
- mim conflicts with pip and doesn't allow installing mmdet when using pip==23.2.1 (repeated download)
- Support custom import projects directory
- Build Wheel only use one cpu core HOT 1
- Precompiled PyTorch 2.1.1 with cu121 cp311 build for Windows?
- Access Denied error on Windows HOT 3
- min install an older version of mmdet
- Torch requirement makes installing mmdet impossible ias part of a package HOT 4
- Openmim>=0.3.9 Installation Fails Due to OSError
- Permission error in the cache directory. HOT 1
- Conflicts with Google Colab Env
- Python 3.12 uses mim prompt module 'pkgutil' has no attribute 'ImpImporter‘ HOT 5
- Unable to uninstall any package
- Mim install fails to install dependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mim.