Browse Source

add dubhe-data-process

tags/V3.0
enlin 2 years ago
parent
commit
e8ec092d22
100 changed files with 1354 additions and 68 deletions
  1. BIN
      dubhe_data_process/.DS_Store
  2. +2
    -1
      dubhe_data_process/.gitignore
  3. +273
    -56
      dubhe_data_process/README.md
  4. BIN
      dubhe_data_process/algorithm/.DS_Store
  5. BIN
      dubhe_data_process/algorithm/image-classification/.DS_Store
  6. +0
    -0
      dubhe_data_process/algorithm/image-classification/README.md
  7. +1000
    -0
      dubhe_data_process/algorithm/image-classification/imagenet.names
  8. +67
    -0
      dubhe_data_process/algorithm/image-classification/imagenet.py
  9. +12
    -11
      dubhe_data_process/algorithm/image-classification/inference.py
  10. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1-weight/out
  11. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-beta/out
  12. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-gamma/out
  13. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-moving_mean/out
  14. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-moving_variance/out
  15. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-fc1001-bias/out
  16. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-fc1001-weight/out
  17. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1-weight/out
  18. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-beta/out
  19. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-gamma/out
  20. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-moving_mean/out
  21. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-moving_variance/out
  22. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a-weight/out
  23. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-beta/out
  24. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-gamma/out
  25. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-moving_mean/out
  26. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-moving_variance/out
  27. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b-weight/out
  28. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-beta/out
  29. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-gamma/out
  30. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-moving_mean/out
  31. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-moving_variance/out
  32. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c-weight/out
  33. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-beta/out
  34. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-gamma/out
  35. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-moving_mean/out
  36. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-moving_variance/out
  37. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a-weight/out
  38. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-beta/out
  39. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-gamma/out
  40. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-moving_mean/out
  41. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-moving_variance/out
  42. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b-weight/out
  43. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-beta/out
  44. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-gamma/out
  45. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-moving_mean/out
  46. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-moving_variance/out
  47. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c-weight/out
  48. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-beta/out
  49. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-gamma/out
  50. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-moving_mean/out
  51. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-moving_variance/out
  52. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a-weight/out
  53. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-beta/out
  54. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-gamma/out
  55. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-moving_mean/out
  56. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-moving_variance/out
  57. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b-weight/out
  58. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-beta/out
  59. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-gamma/out
  60. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-moving_mean/out
  61. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-moving_variance/out
  62. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c-weight/out
  63. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-beta/out
  64. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-gamma/out
  65. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-moving_mean/out
  66. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-moving_variance/out
  67. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1-weight/out
  68. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-beta/out
  69. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-gamma/out
  70. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-moving_mean/out
  71. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-moving_variance/out
  72. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a-weight/out
  73. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-beta/out
  74. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-gamma/out
  75. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-moving_mean/out
  76. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-moving_variance/out
  77. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b-weight/out
  78. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-beta/out
  79. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-gamma/out
  80. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-moving_mean/out
  81. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-moving_variance/out
  82. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c-weight/out
  83. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-beta/out
  84. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-gamma/out
  85. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-moving_mean/out
  86. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-moving_variance/out
  87. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a-weight/out
  88. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-beta/out
  89. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-gamma/out
  90. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-moving_mean/out
  91. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-moving_variance/out
  92. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b-weight/out
  93. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-beta/out
  94. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-gamma/out
  95. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-moving_mean/out
  96. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-moving_variance/out
  97. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c-weight/out
  98. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c_bn-beta/out
  99. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c_bn-gamma/out
  100. +0
    -0
      dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c_bn-moving_mean/out

BIN
dubhe_data_process/.DS_Store View File


+ 2
- 1
dubhe_data_process/.gitignore View File

@@ -1,5 +1,6 @@
# my
*.log
/log
log
*.swp
.nfs*
core


+ 273
- 56
dubhe_data_process/README.md View File

@@ -13,13 +13,26 @@ redis 5.0+
oneflow 框架

## 下载源码
http://repo.codelab.org.cn/codeup/codelab/Dubhe.git

```shell
$ git clone https://gitee.com/zhijiangtianshu/Dubhe.git
```

## 进入项目根目录
cd dubhe_data_process

```shell
$ cd dubhe_data_process
```

## 启动算法 (参数指定需要启动的算法)
python main.py track

```shell
$ python main.py imgprocess False 127.0.0.1,6379,0,1234
```
> 参数说明
* imgprocess 表示启动的算法
* False 表示是否需要GPU
* 127.0.0.1,6379,0,1234分别表示redis的ip、端口、database、密码

具体部署流程请参考 http://tianshu.org.cn/?/course 中文档**部署数据处理算法**

@@ -28,71 +41,275 @@ python main.py track
### 代码结构:

```
├──
├── common 基础工具
| ├── config
| ├── constant
| ├── util
.
├── README.md
├── algorithm 预置算法程序目录
│ ├── image-classification 图像分类
│ ├── imgprocess 数据增强
│ ├── lung-segmentation 医学分割
│ ├── object-detection 目标检测
│ ├── ofrecord ofrecord转换
│ ├── text-classification 文本分类
│ ├── track 目标跟踪
│ └── videosample 采样
├── common 基础工具
│ ├── __init__.py
│ └── util
│ ├── __init__.py
│ └── public
│ ├── RedisUtil.py redis链接操作工具类
│ ├── __init__.py
│ ├── json_util.py json处理工具类
│ ├── logger_util.py 日志打印工具类
│ └── select_gpu.py gpu工具类(主要用于需要gpu的算法启动时切换gpu卡槽所用)
├── execute
│ ├── execute.py 具体任务处理类
│ └── lua_script.py 操作任务操作脚本
├── docker-image 预置算法镜像
│ ├── image-classification
│ │ ├── Dockerfile
│ │ ├── Python-3.7.4.tgz
│ │ ├── README.md
│ │ └── sources.list
│ ├── imgprocess
│ │ ├── Dockerfile
│ │ ├── README.md
│ │ ├── imgprocess-hpa.yaml
│ │ ├── imgprocess.yaml
│ │ └── sources.list
│ ├── lung-segmentation
│ ├── object-detection
│ ├── ofrecord
│ ├── text-classification
│ ├── truck
│ └── videosample
├── log
├── of_model oneflow模型文件
├── program
| ├── abstract
| ├── actuator.py 执行器抽象类
| ├── algorithm.py 算法抽象类
| ├── storage.py 存储抽象类
| ├── exec
| ├── annotation 目标检测
| ├── imagenet 图像分类
| ├── imgprocess 数据增强
| ├── lung_segmentation 肺部分割
| ├── ofrecord ofrecord转换
| ├── text_classification 文本分类
| ├── track 目标跟踪
| ├── videosample 视频采样
| ├── impl
| ├── config_actuator.py 执行器配置实现
| ├── redis_storage.py redis存储
| ├── thread
├── script 脚本
├── LICENSE
├── main.py
└── README.md
│ └── log_2022-05-26.txt
└── main.py 算法启动主入口
```

### 程序执行流程说明

![任务流程说明](image/%E7%AE%97%E6%B3%95%E7%A8%8B%E5%BA%8F%E6%89%A7%E8%A1%8C%E6%B5%81%E7%A8%8B.drawio.png)

> 其中初始化模型和调用推理接口两个方法需要满足系统要求

* 文件要在算法根目录下且名称要固定为inference.py
* 方法名称要固定为load(记载模型方法)及inference(推理方法)

如下案例:
```python
import annotation as ann

def load():
"""
加载
"""
print("加载")
ann._init()

def inference(task):
"""
推理
"""
return ann.execute(task)
```

### 算法接入:

#### 算法文件
[algorithm.py](./program/abstract/algorithm.py) 需要实现此算法抽象类
![算法接入流程](image/access-process.drawio.png)

#### 编写算法程序

编写算法程序需要注意:
* 需要在算法推理接口前增加inference.py文件来实现模型的加载以及对外推理服务的入口
* 如果算法需要加载模型权重,则需要把模型权重放到根目录下的model目录中
* 算法程序推理接口入参以及推理结果需要满足系统要求

> 目标检测

推理参数

```json
{
"files": [
{
"datasetId": 1,
"id": 1,
"name": "000000034139_ts48PFzrS0bz",
"url": "/nfs/dubhe-prod/dataset/1/origin/000000034139_ts48PFzrS0bz.jpg"
}
],
"labels": [
"person",
"bicycle",
"car"
],
"taskId": 1
}
```

推理结果

```json
{
'reTaskId': 'e3cd424c-5a7a-4278-9636-6d0d5f16b713',
'annotations': [
{
'id': 1,
'annotation': '[{"area": 36354.28243389582, "score": 0.9814451932907104, "iscrowd": 0, "category_id": "keyboard", "bbox": [74.66009259223938, 372.6794943213463, 272.36245572566986, 133.477583527565], "segmentation": [[74.66009259223938, 372.6794943213463, 347.02254831790924, 372.6794943213463, 347.02254831790924, 506.1570778489113, 74.66009259223938, 506.1570778489113]]}]'
}
]
}
```

> 图像分类

推理参数

```json
{
"files": [
{
"datasetId": 2,
"id": 2,
"name": "000000001584_tslXA6yhxzEW",
"url": "/nfs/dubhe-prod/dataset/2/origin/000000001584_tslXA6yhxzEW.jpg"
}
],
"labels": [
"tench, Tinca tinca",
"goldfish, Carassius auratus",
"great white shark, white shark, man-eater, man-eating shark, Carcharodon carcharias",
"tiger shark, Galeocerdo cuvieri"
],
"taskId": 2
}
```

推理结果

```json
{
'annotations': [{
'id': 2,
'annotation': '[{"category_id": "meat loaf, meatloaf", "score": 0.8088632822036743}]'
}]
}
```

> 文本分类

推理参数

```json
{
"files": [
{
"datasetId": 1,
"id": 1,
"name": "000000034139_ts48PFzrS0bz",
"url": "/nfs/dubhe-prod/dataset/1/origin/000000034139_ts48PFzrS0bz.jpg"
}
],
"labels": [
"person",
"bicycle",
"car"
],
"taskId": 1
}
```

推理结果

```json
{
"classifications": [{"annotation": "[{"category_id": "negative", "score": 0.7944}]", "id": 24340856}]
}
```

> 器官分割

推理参数

```json
{
"annotationPath": "/nfs/dubhe-open-dev/dataset/dcm/346/annotation",
"dcms":
[
"/nfs/dubhe-open-dev/dataset/dcm/346/origin/000144.dcm",
"/nfs/dubhe-open-dev/dataset/dcm/346/origin/000145.dcm",
"/nfs/dubhe-open-dev/dataset/dcm/346/origin/000146.dcm",
"/nfs/dubhe-open-dev/dataset/dcm/346/origin/000147.dcm"
],
"medicineFileIds":
[
"29756",
"29757",
"29758",
"29759"
],
"taskId": "5130"
}
```

推理结果

```json
[
{
"id": "29256",
"annotations": [{"type": 0, "annotation": []}]
}
]
```

> 目标跟踪

推理参数

```json
{
"path": "/nfs/dubhe-open-dev/dataset/5359/versionFile/V0001",
"images":
[
"GE44-S-w5m_ts2UPN6pQv2__1.jpg",
"GE44-S-w5m_ts2UPN6pQv2__101.jpg"
],
"labels":
[
"81",
"82"
]
}
```

推理结果

无。目标跟踪算法会直接修改标注文件写入实体ID。


算法文件目录放在 program/exec 下,实现 program/abstract 目录下的 algoriyhm.py 文件中的 Algorithm 类,
其中 __init__ 方法和 execut 方法需要实现,__init__ 方法为算法的初始化操作,execute 为算法执行入口,入参
为 jsonObject,返回值为 finish_data(算法执行完成放入 redis 中的信息)以及布尔类型(算法执行成功或者失败)

#### config.json文件
在 program/exec 的每个算法目录下,需要有 config.json 文件,用户启动 main.py 时通过参数来指定需要执行的算
法(参数与算法目录名称相同)
#### 算法程序上传

### config.json模板
登录天枢平台,在算法管理和模型管理中上传开发的算法程序(需要把算法和模型分开打包为压缩包,并且压缩包解压后文件结构和原始一样不能存在增加多余层级)。

#### 算法不需要使用GPU时的config.json
[config.json](./common/template/config.json)
#### 镜像上传

用户需要提供的参数:
- step1:"paramLocal"算法处理中队列名称
- step2:"module","class"替换为需要接入的算法
- step4:"paramLocal" 中"algorithm_task_queue","algorithm_processing_queue"替换为需要接入算法的待处理任务队列和处理中任务队列
- step:5:"module","class"替换为需要接入的算法
- step6:"paramLocal" 中"algorithm_task_queue","algorithm_processing_queue"替换为需要接入算法的处理成功和处理失败队列
用户需要根据自己的算法环境编写Dockfile并制作镜像(如果上传系统提供算法对应镜像,则可以在docker-image中找到对应Dockerfile),完成后把镜像保存为压缩文件并通过天枢平台镜像管理进行上传即可。

#### 算法需要使用GPU时的config.json
[config_GPU.json](./common/template/config_GPU.json)
#### 算法部署

用户需要提供的参数:
- step1:"paramLocal"算法处理中队列名称
- step3:"module","class"替换为需要接入的算法
- step5:"paramLocal" 中"algorithm_task_queue","algorithm_processing_queue"替换为需要接入算法的待处理任务队列和处理中任务队列
- step:6:"module","class"替换为需要接入的算法
- step7:"paramLocal" 中"algorithm_task_queue","algorithm_processing_queue"替换为需要接入算法的处理成功和处理失败队列
登录天枢平台打开`数据管理`->`标注服务管理`页面,点击`创建服务`按钮,在弹窗中根据需要填写以及选择对应算法、模型、镜像等,选择完成后点击`确定`即可,此时刷新列表页面,便可以看到刚才创建的服务,可以根据需要点击对应按钮

<center>
<div style="display: inline-block"> 1- 创建模型服务</div>
<img src="image/create.png"/>
</center>


<center>
<div style="display: inline-block"> 1- 查看服务日志</div>
<img src="image/check_log.png"/>
</center>

BIN
dubhe_data_process/algorithm/.DS_Store View File


BIN
dubhe_data_process/algorithm/image-classification/.DS_Store View File


dubhe_data_process/common/config/__init__.py → dubhe_data_process/algorithm/image-classification/README.md View File


+ 1000
- 0
dubhe_data_process/algorithm/image-classification/imagenet.names
File diff suppressed because it is too large
View File


+ 67
- 0
dubhe_data_process/algorithm/image-classification/imagenet.py View File

@@ -0,0 +1,67 @@
# !/usr/bin/env python
# -*- coding:utf-8 -*-

"""
Copyright 2020 Tianshu AI Platform. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
=============================================================
"""
import os
import logging
import json
import of_cnn_resnet as of_cnn_resnet
import numpy as np
current_dir = os.path.dirname(os.path.abspath(__file__))
label_to_name_file = current_dir + os.sep + "imagenet.names"
label_2_name = []
with open(label_to_name_file, 'r') as f:
label_2_name = f.readlines()

def _init():
of_cnn_resnet.init_resnet()
logging.info('env init finished')

def execute(task):
return process(task)

def process(task_dict):
"""Imagenet task method.
Args:
task_dict: imagenet task details.
key: imagenet task key.
"""
id_list = []
image_path_list = []
for file in task_dict["files"]:
id_list.append(file["id"])
image_path = file["url"]
image_path_list.append(image_path)
label_list = task_dict["labels"]
labels = []
for label in label_list:
for i in range(0, len(label_2_name)):
if (label == label_2_name[i].rstrip('\n')):
labels.append(i)
annotations = []
for inds in range(len(image_path_list)):
temp = {}
temp['id'] = id_list[inds]
temp['annotation'] = []
score, ca_id = of_cnn_resnet.resnet_inf(image_path_list[inds])
if ca_id in labels:
label_name = label_2_name[int(ca_id)]
temp['annotation'] = [{'category_id': label_name.rstrip('\n'), 'score': np.float(score)}]
temp['annotation'] = json.dumps(temp['annotation'])
annotations.append(temp)
return {"annotations": annotations}

dubhe_data_process/program/abstract/algorithm.py → dubhe_data_process/algorithm/image-classification/inference.py View File

@@ -17,17 +17,18 @@ See the License for the specific language governing permissions and
limitations under the License.
=============================================================
"""
# _*_ coding:utf-8 _*_

from abc import ABCMeta
from abc import abstractmethod
import imagenet as imagenet

def load():
"""
加载
"""
print("加载")
imagenet._init()

class Algorithm(metaclass=ABCMeta):

def __init__(self):
pass

@abstractmethod
def execute(self, task):
pass
def inference(task):
"""
推理
"""
return imagenet.execute(task)

dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-conv1_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-fc1001-bias/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-fc1001-bias/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-fc1001-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-fc1001-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch1_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2a_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2b_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_0_branch2c_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2a_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2b_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_1_branch2c_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2a_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2b_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res2_2_branch2c_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch1_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2a_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2b_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_0_branch2c_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2a_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-moving_mean/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-moving_variance/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2b_bn-moving_variance/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c-weight/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c-weight/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c_bn-beta/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c_bn-beta/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c_bn-gamma/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c_bn-gamma/out View File


dubhe_data_process/of_model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c_bn-moving_mean/out → dubhe_data_process/algorithm/image-classification/model/resnet_v15_of_best_model_val_top1_773/Resnet-res3_1_branch2c_bn-moving_mean/out View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save