Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
models
提交
1ab674bf
M
models
项目概览
PaddlePaddle
/
models
大约 2 年 前同步成功
通知
232
Star
6828
Fork
2962
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
602
列表
看板
标记
里程碑
合并请求
255
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
M
models
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
602
Issue
602
列表
看板
标记
里程碑
合并请求
255
合并请求
255
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
1ab674bf
编写于
10月 29, 2019
作者:
H
huangjun12
提交者:
SunGaofeng
10月 29, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix raise statement in python3 (#3802)
* fix raise statement in python3 * modify README of bmn data
上级
7857ff8a
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
4 addition
and
7 deletion
+4
-7
PaddleCV/PaddleVideo/data/dataset/bmn/README.md
PaddleCV/PaddleVideo/data/dataset/bmn/README.md
+1
-5
PaddleCV/PaddleVideo/models/nonlocal_model/nonlocal_utils.py
PaddleCV/PaddleVideo/models/nonlocal_model/nonlocal_utils.py
+3
-2
未找到文件。
PaddleCV/PaddleVideo/data/dataset/bmn/README.md
浏览文件 @
1ab674bf
...
...
@@ -8,8 +8,4 @@ BMN模型使用ActivityNet 1.3数据集,使用方法有如下两种方式:
方式二:
我们也在
[
百度网盘
](
https://pan.baidu.com/s/19GI3_-uZbd_XynUO6g-8YQ
)
和
[
谷歌云盘
](
https://drive.google.com/file/d/1ISemndlSDS2FtqQOKL0t3Cjj9yk2yznF/view?usp=sharing
)
提供了处理好的视频特征。若使用百度网盘下载,在解压前请使用如下命令:
cat zip_csv_mean_100.z* > csv_mean_100.zip
解压完成后,请相应修改configs/bmn.yaml文件中的特征路径feat
\_
path。
我们也提供了处理好的视频特征,请下载
[
bmn\_feat
](
https://paddlemodels.bj.bcebos.com/video_detection/bmn_feat.tar.gz
)
数据后解压,同时相应的修改configs/bmn.yaml文件中的特征路径feat
\_
path。
PaddleCV/PaddleVideo/models/nonlocal_model/nonlocal_utils.py
浏览文件 @
1ab674bf
...
...
@@ -126,8 +126,9 @@ def load_pretrain_params_from_file(exe, prog, pretrained_file, place):
prog_tensor
.
set
(
new_value
,
place
)
logger
.
info
(
"load param {}"
.
format
(
name
))
else
:
raise
TypeError
,
\
"pretrained file is not in a directory, not suitable to load params"
.
format
(
pretrained_file
)
raise
TypeError
(
"pretrained file {} is not in a directory, not suitable to load params"
.
format
(
pretrained_file
))
def
get_common_names
(
param_name_list
,
param_name_from_file
):
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录