This Python code defines a module with version 0.0.1 that exports functions bar and buzz. If run as a script, it defines a main function that currently does nothing and calls it. The code also includes setup instructions to build documentation and package the module for distribution.
This Python code defines a module with version 0.0.1 that exports functions bar and buzz. If run as a script, it defines a main function that currently does nothing and calls it. The code also includes setup instructions to build documentation and package the module for distribution.
CVPR2019読み会 (Rethinking the Evaluation of Video Summaries)Yasunori Ozaki
CVPR2019読み会で発表したRethinking the Evaluation of Video Summariesの説明スライドです。論文自体は映像要約全体を分析しており、読み応えがありました。説明スライドがあっているかどうかよくわからないので、詳しくは本人に聞いてください。よろしくおねがいします。
12. nose
さっきのコードをnoseでやると…
from nose.tools import with_setup, raises
from method_sample import add_data
def test_add_data():
actual = add_data(0)
assert actual == 1000
def test_add_data2():
Assert.equalと同様の処理が簡
素化
されている
a = 10
actual = add_data(a)
assert actual == 1010