Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
uoega
Zero Shot Action Recognition
Commits
050d4fe1
Commit
050d4fe1
authored
Jul 21, 2021
by
Tediloma
Browse files
pbersicht
parents
7fc22224
665044aa
Changes
5
Hide whitespace changes
Inline
Side-by-side
LearningToCompare_ZSL/Results.xlsx
View file @
050d4fe1
No preview for this file type
LearningToCompare_ZSL/plot_training_curve.py
0 → 100644
View file @
050d4fe1
import
numpy
as
np
import
matplotlib.pyplot
as
plt
import
scipy.io
as
sio
unseen_string
=
'unseen='
seen_string
=
'seen='
f
=
open
(
'./results/v2 v4 v5 mean batch size 128 (800k)/session_2021-07-08_20_52_40/log.txt'
)
unseen_accuracy
=
[]
seen_accuracy
=
[]
for
line
in
f
:
if
unseen_string
in
line
:
unseen_accuracy_frag
=
float
(
line
[
line
.
find
(
unseen_string
)
+
len
(
unseen_string
):
line
.
find
(
unseen_string
)
+
len
(
unseen_string
)
+
6
])
#print(unseen_accuracy_frag)
unseen_accuracy
=
np
.
append
(
unseen_accuracy
,
unseen_accuracy_frag
)
if
seen_string
in
line
:
seen_accuracy_frag
=
float
(
line
[
line
.
find
(
seen_string
)
+
len
(
seen_string
):
line
.
find
(
seen_string
)
+
len
(
seen_string
)
+
6
])
#print(unseen_accuracy_frag)
seen_accuracy
=
np
.
append
(
seen_accuracy
,
seen_accuracy_frag
)
episode_counter
=
np
.
arange
(
2000
,
802000
,
2000
)
unseen_accuracy
=
unseen_accuracy
[:
-
1
]
seen_accuracy
=
seen_accuracy
[:
-
1
]
print
(
len
(
unseen_accuracy
))
print
(
len
(
seen_accuracy
))
print
(
len
(
episode_counter
))
plt
.
plot
(
episode_counter
,
unseen_accuracy
,
'r'
,
episode_counter
,
seen_accuracy
,
'b'
)
plt
.
xlabel
(
'Episodes'
)
plt
.
ylabel
(
'Accuracy'
)
plt
.
legend
([
'unseen acc during training'
,
'seen acc during training'
])
plt
.
suptitle
(
'acc in Training'
)
plt
.
show
()
#sio.savemat('session_2021-07-13_20_31_58.mat', {'unseen':unseen_accuracy})
\ No newline at end of file
Template/latex/egbib.bib
View file @
050d4fe1
@article
{
jasani2019skeleton
,
title
=
{Skeleton based Zero Shot Action Recognition in Joint Pose-Language Semantic Space}
,
author
=
{Bhavan Jasani and Afshaan Mazagonwalla}
,
year
=
{2019}
,
journal
=
{arXiv:1911.11344}
,
archivePrefix
=
{arXiv}
,
primaryClass
=
{cs.CV}
}
@article
{
sung2018learning
,
title
=
{Learning to Compare: Relation Network for Few-Shot Learning}
,
author
=
{Flood Sung and Yongxin Yang and Li Zhang and Tao Xiang and Philip H. S. Torr and Timothy M. Hospedales}
,
year
=
{2018}
,
journal
=
{arXiv:1711.06025}
,
archivePrefix
=
{arXiv}
,
primaryClass
=
{cs.CV}
}
@article
{
yan2018spatial
,
title
=
{Spatial Temporal Graph Convolutional Networks for Skeleton-Based Action Recognition}
,
author
=
{Sijie Yan and Yuanjun Xiong and Dahua Lin}
,
year
=
{2018}
,
journal
=
{1801.07455}
,
archivePrefix
=
{arXiv}
,
primaryClass
=
{cs.CV}
}
@misc
{
Authors14
,
author
=
{Authors}
,
...
...
Template/latex/paper_working_design.log
View file @
050d4fe1
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6840 64-bit) (preloaded format=pdflatex 2018.10.16) 1
9
JUL 2021 1
9:44
This is pdfTeX, Version 3.14159265-2.6-1.40.19 (MiKTeX 2.9.6840 64-bit) (preloaded format=pdflatex 2018.10.16)
2
1 JUL 2021 1
8:28
entering extended mode
**./paper_working_design.tex
(paper_working_design.tex
...
...
Template/latex/paper_working_design.pdf
View file @
050d4fe1
No preview for this file type
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