Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
22a23e8d
"git@developer.sourcefind.cn:renzhc/diffusers_dcu.git" did not exist on "3ebbaf7c96801271f9e6c21400033b6aa5ffcf29"
Unverified
Commit
22a23e8d
authored
Dec 09, 2021
by
Nicolas Hug
Committed by
GitHub
Dec 09, 2021
Browse files
Fix download link for raft_small (#5078)
parent
2508a020
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
references/optical_flow/README.md
references/optical_flow/README.md
+1
-1
torchvision/prototype/models/optical_flow/raft.py
torchvision/prototype/models/optical_flow/raft.py
+2
-2
No files found.
references/optical_flow/README.md
View file @
22a23e8d
...
@@ -62,4 +62,4 @@ You can also evaluate on Kitti train:
...
@@ -62,4 +62,4 @@ You can also evaluate on Kitti train:
```
```
torchrun --nproc_per_node 1 --nnodes 1 train.py --val-dataset kitti --batch-size 1 --dataset-root $dataset_root --model raft_large --pretrained
torchrun --nproc_per_node 1 --nnodes 1 train.py --val-dataset kitti --batch-size 1 --dataset-root $dataset_root --model raft_large --pretrained
Kitti val epe: 4.7968 1px: 0.6388 3px: 0.8197 5px: 0.8661 per_image_epe: 4.5118 f1: 16.0679
Kitti val epe: 4.7968 1px: 0.6388 3px: 0.8197 5px: 0.8661 per_image_epe: 4.5118 f1: 16.0679
```
```
\ No newline at end of file
torchvision/prototype/models/optical_flow/raft.py
View file @
22a23e8d
...
@@ -97,11 +97,11 @@ class Raft_Small_Weights(WeightsEnum):
...
@@ -97,11 +97,11 @@ class Raft_Small_Weights(WeightsEnum):
)
)
C_T_V2
=
Weights
(
C_T_V2
=
Weights
(
# Chairs + Things
# Chairs + Things
url
=
"https://
github.com/pytorch/vision/tree/main/references/optical_flow
"
,
url
=
"https://
download.pytorch.org/models/raft_small_C_T_V2-01064c6d.pth
"
,
transforms
=
RaftEval
,
transforms
=
RaftEval
,
meta
=
{
meta
=
{
**
_COMMON_META
,
**
_COMMON_META
,
"recipe"
:
"https://github.com/p
rinceton-vl/RAFT
"
,
"recipe"
:
"https://github.com/p
ytorch/vision/tree/main/references/optical_flow
"
,
"sintel_train_cleanpass_epe"
:
1.9901
,
"sintel_train_cleanpass_epe"
:
1.9901
,
"sintel_train_finalpass_epe"
:
3.2831
,
"sintel_train_finalpass_epe"
:
3.2831
,
"kitti_train_per_image_epe"
:
7.5978
,
"kitti_train_per_image_epe"
:
7.5978
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment