示例#1
0
def test_harry_potter_exists():
    assert (exists(
        'https://s3.amazonaws.com/cadl/share/27334_Harry-Potter-Theme-Monophonic.mid'
    ))
    assert (exists(
        'https://s3.amazonaws.com/cadl/share/21150_Harry-Potter-and-the-Philosophers-Stone.mid'
    ))
示例#2
0
def test_model_exists():
    assert (exists(
        'https://s3.amazonaws.com/cadl/models/model.ckpt-200000.data-00000-of-00001'
    ))
    assert (
        exists('https://s3.amazonaws.com/cadl/models/model.ckpt-200000.index'))
    assert (
        exists('https://s3.amazonaws.com/cadl/models/model.ckpt-200000.meta'))
示例#3
0
 def test_gtzan_exists(self):
     assert (exists('http://opihi.cs.uvic.ca/sound/music_speech.tar.gz'))
示例#4
0
 def test_cifar_exists(self):
     assert (
         exists('http://www.cs.toronto.edu/~kriz/cifar-10-python.tar.gz'))
示例#5
0
def test_harry_potter_exists():
    assert(exists('https://s3.amazonaws.com/cadl/share/27334_Harry-Potter-Theme-Monophonic.mid'))
    assert(exists('https://s3.amazonaws.com/cadl/share/21150_Harry-Potter-and-the-Philosophers-Stone.mid'))
示例#6
0
def test_basic_rnn_mag_exists():
    assert(exists('https://s3.amazonaws.com/cadl/models/basic_rnn.mag'))
示例#7
0
def test_glove_exists():
    assert (exists('http://nlp.stanford.edu/data/wordvecs/glove.6B.zip'))
示例#8
0
 def test_inception_exists(self):
     assert(exists('https://s3.amazonaws.com/cadl/models/inception-2015-12-05.tgz'))
示例#9
0
 def test_i2v_exists(self):
     assert(exists('https://s3.amazonaws.com/cadl/models/illust2vec.tfmodel'))
示例#10
0
 def test_i2v_exists(self):
     assert (
         exists('https://s3.amazonaws.com/cadl/models/illust2vec.tfmodel'))
示例#11
0
def test_basic_rnn_mag_exists():
    assert (exists('https://s3.amazonaws.com/cadl/models/basic_rnn.mag'))
示例#12
0
 def test_celeb_vaegan_model_exists(self):
     assert (exists(
         'https://s3.amazonaws.com/cadl/models/celeb.vaegan.tfmodel'))
示例#13
0
 def test_celeb_vaegan_labels_exists(self):
     assert (exists(
         'https://s3.amazonaws.com/cadl/models/list_attr_celeba.txt'))
示例#14
0
def test_librispeech_exists():
    assert(exists('http://www.openslr.org/resources/12/dev-clean.tar.gz'))
    assert(exists('http://www.openslr.org/resources/12/train-clean-100.tar.gz'))
    assert(exists('http://www.openslr.org/resources/12/train-clean-360.tar.gz'))
示例#15
0
 def test_cornell_exists(self):
     assert (exists(
         'https://s3.amazonaws.com/cadl/models/cornell_movie_dialogs_corpus.zip'
     ))
示例#16
0
def test_librispeech_exists():
    assert (exists('http://www.openslr.org/resources/12/dev-clean.tar.gz'))
    assert (
        exists('http://www.openslr.org/resources/12/train-clean-100.tar.gz'))
    assert (
        exists('http://www.openslr.org/resources/12/train-clean-360.tar.gz'))
示例#17
0
 def test_vgg16_exists(self):
     assert (exists('https://s3.amazonaws.com/cadl/models/vgg16.tfmodel'))
示例#18
0
 def test_inception_exists(self):
     assert (exists(
         'https://s3.amazonaws.com/cadl/models/inception-2015-12-05.tgz'))
示例#19
0
 def test_vgg16_exists(self):
     assert(exists('https://s3.amazonaws.com/cadl/models/vgg16.tfmodel'))
示例#20
0
def test_glove_exists():
    assert(exists('http://nlp.stanford.edu/data/wordvecs/glove.6B.zip'))
示例#21
0
 def test_cornell_exists(self):
     assert(exists('https://s3.amazonaws.com/cadl/models/cornell_movie_dialogs_corpus.zip'))
示例#22
0
def test_model_exists():
    assert(exists('https://s3.amazonaws.com/cadl/models/model.ckpt-200000.data-00000-of-00001'))
    assert(exists('https://s3.amazonaws.com/cadl/models/model.ckpt-200000.index'))
    assert(exists('https://s3.amazonaws.com/cadl/models/model.ckpt-200000.meta'))