bottom-up-attention.pytorch

环境

torch1.5+cu 101+cp38 on 2080ti

# clone the repository inclduing Detectron2(@be792b9) 
$ git clone --recursive https://github.com/MILVLG/bottom-up-attention.pytorch

$ cd detectron2
$ pip install -e .
$ cd ..

detectron2直接克隆有问题,需要把detecron2/detecron2中的所有文件放入detecron2下

git clone https://github.com/ptrblck/apex.git
cd apex
pip install -v --no-cache-dir ./


apt-get install libglib2.0-dev

 Faster R-CNN-k10-100 is the default model地址https://awma1-my.sharepoint.com/:u:/g/personal/yuz_l0_tn/EaXvCC3WjtlLvvEfLr3oa8UBLA21tcLh4L8YLbYXl6jgjg?download=1

python3 extract_features.py --mode caffe \
         --num-cpus 0 --gpus 1 \
         --extract-mode roi_feats \
         --min-max-boxes '36' \
         --config-file configs/caffe/test-caffe-r101.yaml \
         --image-dir /hy-tmp/img --bbox-dir /hy-tmp/out --out-dir /hy-tmp/out

相关推荐

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-05-01 06:54:03       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-05-01 06:54:03       106 阅读
  3. 在Django里面运行非项目文件

    2024-05-01 06:54:03       87 阅读
  4. Python语言-面向对象

    2024-05-01 06:54:03       96 阅读

热门阅读

  1. 二,网络安全常用术语

    2024-05-01 06:54:03       32 阅读
  2. 从零到屎山系列-游戏开发(Day1)

    2024-05-01 06:54:03       34 阅读
  3. zookeeper相关命令

    2024-05-01 06:54:03       31 阅读
  4. Python.第六章(函数)

    2024-05-01 06:54:03       24 阅读
  5. Electron打包流程

    2024-05-01 06:54:03       24 阅读
  6. selenium启动参数设置

    2024-05-01 06:54:03       29 阅读
  7. nvm pnpm powershell

    2024-05-01 06:54:03       34 阅读
  8. Ubuntu Linux完全入门视频教程

    2024-05-01 06:54:03       31 阅读
  9. 详解FastChat部署大模型API的实战教程

    2024-05-01 06:54:03       32 阅读