history:跑github 用mim跑swim的仓库报错

  1  sudo dpkg -i google-chrome-stable_current_amd64.deb
    2  echo 'export PATH="./anaconda3/bin:$PATH"'>> ~/.bashrc
    3  source ~/.bashrc
    4  conda
    5  export PATH="./anaconda3/bin:$PATH
    6  export PATH="./anaconda3/bin:$PATH"
    7  conda
    8  source ~/.bashrc
    9  conda
   10  conda 
   11  bash Anaconda3-2021.05-Linux-x86_64.sh
   12  source ~/.bashrc
   13  conda info
   14  conda 
   15  eval "$(/home/dutxutengfei/anaconda3/bin/conda shell.YOUR_SHELL_NAME hook)" 
   16  apt-get list
   17  bash Anaconda3-2021.05-Linux-x86_64.sh
   18  conda
   19  vim
   20  sudo apt install vim
   21  sudo vim ~/.bashrc
   22  conda
   23  pip
   24  python
   25  apt-get
   26  apt-get updat
   27  apt-get update
   28  sudo apt-get update
   29  conda
   30  conda create -n open-mmlab python=3.8 -y
   31  conda activate open-mmlab
   32  conda init
   33  conda
   34  conda activate open-mmlab
   35  pip install openmim
   36  mim install mmdet
   37  nvidia-smi
   38  nvcc -V
   39  sudo apt install nvidia-cuda-toolkit
   40  nvidia-smi
   41  nvcc
   42  nvcc -V
   43  sudo apt-get install git
   44  nvidia-smi
   45  sudo apt-get install git
   46  sudo apt-get install dkms
   47  nvidia-smi
   48  sudo dkms install -m nvidia
   49  nvidia-smi
   50  sudo dkms install -m nvidia -v srv-418
   51  sudo dlms install -m nvidia -v srv-418.197.02
   52  sudo dkms install -m nvidia -v srv-418.197.02
   53  sudo dkms install -m nvidia -v 418.197.02
   54  sudo add-apt-repository ppa:fcitx-team/nightly // 添加FCITX仓库.
   55  sudo add-apt-repository ppa:fcitx-team/nightly
   56  sudo apt-get update
   57  sudo apt-get install fcitx
   58  mim install mmdet
   59  conda activate open-mmlab
   60  mim install mmdet
   61  conda activate 
   62  conda list
   63  conda info --env
   64  conda activate open-mmlab
   65  pip 
   66  mim
   67  mim install mmdet
   68  conda install pytorch torchvision -c pytorch
   69  mim
   70  mim install mmdet
   71  nvidia-smi
   72  nvcc
   73  nvcc -n
   74  sudo apt install nvidia-cuda-toolkit
   75  sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
   76  sudo dpkg -i sogoupinyin_2.4.0.3469_amd64.deb
   77  sudo apt-get install -f
   78  sudo dpkg -i sogoupinyin_2.4.0.3469_amd64.deb
   79  apt-get
   80  apt-get update
   81  sudo apt-get update
   82  sudo apt-get install -f
   83  mim
   84  conda activate open-mmlab在这里插入代码片
   85  mim install mmdet
   86  pip list
   87  sudo dpkg -i code_1.58.0-1625728071_amd64.deb
   88  source /home/dutxutengfei/anaconda3/bin/activate
   89  conda activate open-mmlab
   90  /home/dutxutengfei/anaconda3/envs/open-mmlab/bin/python /home/dutxutengfei/2021hwsz-baseline/baseline_released.py
   91  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
   92  conda activate open-mmlab
   93  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
   94  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8 
   95  nvidia-smi
   96  conda activate open-mmlab
   97  pip list
   98  git clone https://github.com/open-mmlab/mim-example.git
   99  git clone https://github.com.cnpmjs.org/open-mmlab/mim-example.git
  100  pip install timm  # swin transformer relies timm
  101  mim install mmsegmentation
  102  pip show mmdet
  103  pip show mim
  104  pip show openmim
  105  mim install -i
  106  mim install -h
  107  mim install -f https://github.com.cnpmjs.org/open-mmlab/mmsegmentation.git mmsegmentation
  108  slurm
  109  pip install slurm
  110  nvidia-smi
  111  source /home/dutxutengfei/anaconda3/bin/activate
  112  conda activate open-mmlab
  113  /home/dutxutengfei/anaconda3/envs/open-mmlab/bin/python /home/dutxutengfei/cv_projects/mim-example/swin_transformer/swin/swin_transformer.py
  114  nvidia-smi
  115  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8 
  116  conda activate open-mmlab
  117  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8 
  118  pip list
  119  nvcc
  120  nvidia-smi
  121  expr 3\*3
  122  history
  123  r 3\*3
  124  expr 3*3
  125  echo "ff"
  126  # expr 3\*3
  127  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
  128  $!
  129  echo $!
  130  echo $$
  131  echo $1
  132  echo $0
  133  echo 3\*3
  134  expr
  135  expr 3 3
  136  expr 3*3
  137  expr 3\*3
  138  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
  139  name="test"
  140  echo $name 
  141  .
  142  cd .
  143  echo \=
  144  echo $PARTITION
  145  echo $SRUN_ARGS
  146  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py
  147  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
  148  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args 0
  149  mim install mmcv-full
  150  mim list
  151  pip install srun
  152  mim install mmcls
  153  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py
  154  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --gpus 8 
  155  pip install swin
  156  history

目前怀疑 是mmcv-full mmdet需要重新编译(因为重新下载了pytorch)

Traceback (most recent call last):
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmdet/tools/train.py", line 188, in 
    main()
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmdet/tools/train.py", line 89, in main
    cfg = Config.fromfile(args.config)
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmcv/utils/config.py", line 318, in fromfile
    import_modules_from_strings(**cfg_dict['custom_imports'])
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmcv/utils/misc.py", line 80, in import_modules_from_strings
    raise ImportError
ImportError
Traceback (most recent call last):
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/bin/mim", line 8, in 
    sys.exit(cli())
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mim/commands/train.py", line 96, in cli
    is_success, msg = train(
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mim/commands/train.py", line 236, in train
    ret = subprocess.check_call(
  File "/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['python', '/home/dutxutengfei/anaconda3/envs/open-mmlab/lib/python3.8/site-packages/mmdet/tools/train.py', 'configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py', '--gpus', '8', '--launcher', 'none', '--work-dir', '../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py']' returned non-zero exit status 1.

官方给的命令里srun,partition部分好像没有用:

https://github.com/open-mmlab/mim/blob/73692e491a47807c0a335dc63deff42631bfb266/mim/commands/train.py
   1  sudo dpkg -i google-chrome-stable_current_amd64.deb
    2  echo 'export PATH="./anaconda3/bin:$PATH"'>> ~/.bashrc
    3  source ~/.bashrc
    4  conda
    5  export PATH="./anaconda3/bin:$PATH
    6  export PATH="./anaconda3/bin:$PATH"
    7  conda
    8  source ~/.bashrc
    9  conda
   10  conda 
   11  bash Anaconda3-2021.05-Linux-x86_64.sh
   12  source ~/.bashrc
   13  conda info
   14  conda 
   15  eval "$(/home/dutxutengfei/anaconda3/bin/conda shell.YOUR_SHELL_NAME hook)" 
   16  apt-get list
   17  bash Anaconda3-2021.05-Linux-x86_64.sh
   18  conda
   19  vim
   20  sudo apt install vim
   21  sudo vim ~/.bashrc
   22  conda
   23  pip
   24  python
   25  apt-get
   26  apt-get updat
   27  apt-get update
   28  sudo apt-get update
   29  conda
   30  conda create -n open-mmlab python=3.8 -y
   31  conda activate open-mmlab
   32  conda init
   33  conda
   34  conda activate open-mmlab
   35  pip install openmim
   36  mim install mmdet
   37  nvidia-smi
   38  nvcc -V
   39  sudo apt install nvidia-cuda-toolkit
   40  nvidia-smi
   41  nvcc
   42  nvcc -V
   43  sudo apt-get install git
   44  nvidia-smi
   45  sudo apt-get install git
   46  sudo apt-get install dkms
   47  nvidia-smi
   48  sudo dkms install -m nvidia
   49  nvidia-smi
   50  sudo dkms install -m nvidia -v srv-418
   51  sudo dlms install -m nvidia -v srv-418.197.02
   52  sudo dkms install -m nvidia -v srv-418.197.02
   53  sudo dkms install -m nvidia -v 418.197.02
   54  sudo add-apt-repository ppa:fcitx-team/nightly // 添加FCITX仓库.
   55  sudo add-apt-repository ppa:fcitx-team/nightly
   56  sudo apt-get update
   57  sudo apt-get install fcitx
   58  mim install mmdet
   59  conda activate open-mmlab
   60  mim install mmdet
   61  conda activate 
   62  conda list
   63  conda info --env
   64  conda activate open-mmlab
   65  pip 
   66  mim
   67  mim install mmdet
   68  conda install pytorch torchvision -c pytorch
   69  mim
   70  mim install mmdet
   71  nvidia-smi
   72  nvcc
   73  nvcc -n
   74  sudo apt install nvidia-cuda-toolkit
   75  sudo dpkg -i sogoupinyin_2.2.0.0108_amd64.deb
   76  sudo dpkg -i sogoupinyin_2.4.0.3469_amd64.deb
   77  sudo apt-get install -f
   78  sudo dpkg -i sogoupinyin_2.4.0.3469_amd64.deb
   79  apt-get
   80  apt-get update
   81  sudo apt-get update
   82  sudo apt-get install -f
   83  mim
   84  conda activate open-mmlab
   85  mim install mmdet
   86  pip list
   87  sudo dpkg -i code_1.58.0-1625728071_amd64.deb
   88  source /home/dutxutengfei/anaconda3/bin/activate
   89  conda activate open-mmlab
   90  /home/dutxutengfei/anaconda3/envs/open-mmlab/bin/python /home/dutxutengfei/2021hwsz-baseline/baseline_released.py
   91  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
   92  conda activate open-mmlab
   93  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
   94  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8 
   95  nvidia-smi
   96  conda activate open-mmlab
   97  pip list
   98  git clone https://github.com/open-mmlab/mim-example.git
   99  git clone https://github.com.cnpmjs.org/open-mmlab/mim-example.git
  100  pip install timm  # swin transformer relies timm
  101  mim install mmsegmentation
  102  pip show mmdet
  103  pip show mim
  104  pip show openmim
  105  mim install -i
  106  mim install -h
  107  mim install -f https://github.com.cnpmjs.org/open-mmlab/mmsegmentation.git mmsegmentation
  108  slurm
  109  pip install slurm
  110  nvidia-smi
  111  source /home/dutxutengfei/anaconda3/bin/activate
  112  conda activate open-mmlab
  113  /home/dutxutengfei/anaconda3/envs/open-mmlab/bin/python /home/dutxutengfei/cv_projects/mim-example/swin_transformer/swin/swin_transformer.py
  114  nvidia-smi
  115  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8 
  116  conda activate open-mmlab
  117  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8 
  118  pip list
  119  nvcc
  120  nvidia-smi
  121  expr 3\*3
  122  history
  123  r 3\*3
  124  expr 3*3
  125  echo "ff"
  126  # expr 3\*3
  127  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
  128  $!
  129  echo $!
  130  echo $$
  131  echo $1
  132  echo $0
  133  echo 3\*3
  134  expr
  135  expr 3 3
  136  expr 3*3
  137  expr 3\*3
  138  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
  139  name="test"
  140  echo $name 
  141  .
  142  cd .
  143  echo \=
  144  echo $PARTITION
  145  echo $SRUN_ARGS
  146  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py
  147  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
  148  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args 0
  149  mim install mmcv-full
  150  mim list
  151  pip install srun
  152  mim install mmcls
  153  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py
  154  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --gpus 8 
  155  pip install swin
  156  history
  157  conda activate open-mmlab
  158  pip list
  159  conda install 
  160  conda install pytorch==1.9.0 torchvision==0.10.0 cudatoolkit=11.2 -c pytorch
  161  conda install pytorch==1.9.0 torchvision==0.10.0 cudatoolkit=11.1 -c pytorch
  162  pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111
  163  pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html
  164  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
  165  PYTHONPATH='.':$PYTHONPATH mim train mmseg configs/upernet/upernet_swin-t_512x512_160k_8x2_ade20k.py --work-dir ../work_dir/upernet_swin-t_512x512_160k_8x2_ade20k.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8 --srun-args $SRUN_ARGS
  166  PYTHONPATH='.':$PYTHONPATH mim train mmseg configs/upernet/upernet_swin-t_512x512_160k_8x2_ade20k.py --work-dir ../work_dir/upernet_swin-t_512x512_160k_8x2_ade20k.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8 
  167  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
  168  PYTHONPATH='.':$PYTHONPATH mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8 
  169  mimmim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
  170  ————————————————
  171  版权声明:本文为CSDN博主「构建的乐趣」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
  172  原文链接:https://blog.csdn.net/qq_44065334/article/details/118642122
  173  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
  174  conda activate open-mmlab
  175  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8  --srun-args $SRUN_ARGS
  176  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --launcher slurm --partition $PARTITION --gpus 8 --gpus-per-node 8
  177  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py
  178  ————————————————
  179  版权声明:本文为CSDN博主「构建的乐趣」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
  180  原文链接:https://blog.csdn.net/qq_44065334/article/details/118642122m
  181  mim --work-dir -h
  182  mim -h
  183  mim train mmdet --work-dir
  184  mim train mmdet --work-dir -h
  185  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --work-dir logs_and_models 
  186  pip show mmdet
  187  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --work-dir logs_and_models 
  188  pip install swin
  189  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --work-dir logs_and_models 
  190  echo $PWD
  191  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --work-dir logs_and_models 
  192  conda activate open-mmlab
  193  mim install mmdet
  194  mim uninstall mmdet
  195  mim uninstall mmcv-full
  196  mim uninstall mmcls
  197  mim install mmdet
  198  mmdet install mmcls
  199  mim install mmcls
  200  mim install mmcls -f https://github.com.cnpmjs.org/
  201  mim install mmcls
  202  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --work-dir logs_and_models 
  203  conda activate open-mmlab
  204  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py --work-dir logs_and_models 
  205  mim train mmdet configs/swin_mask_rcnn/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py \--work-dir ../work_dir/mask_rcnn_swim-t-p4-w7_fpn_fp16_1x_coco.py 
  206  history

https://github.com/open-mmlab/mim-example

你可能感兴趣的:(history:跑github 用mim跑swim的仓库报错)