未验证 提交 68e76c5d 编写于 作者: N Nicky Chan 提交者: GitHub

Put wav file in python folder and move to proper path (#382)

上级 bba3faa5
......@@ -98,7 +98,7 @@ with logw.mode("train") as logger:
audio = logger.audio("scratch/audio_1", 4) # randomly sample 4 audio one pass
CHUNK = 4096
f = wave.open('./testing.wav', "rb")
f = wave.open(os.path.join(ROOT, 'python/testing.wav'), "rb")
wavdata = []
chunk = f.readframes(CHUNK)
......
......@@ -92,7 +92,7 @@ setup(
'visualdl.server':
['dist/*.js', 'dist/*.html', 'dist/fonts/*', 'dist/assets/*'],
'visualdl': ['core.so'],
'visualdl.python': ['core.so', 'dog.jpg']
'visualdl.python': ['core.so', 'dog.jpg', 'testing.wav']
},
packages=packages,
ext_modules=[Extension('_foo', ['stub.cc'])],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册