
BUG
隐夜拙
None
展开
-
configure: error: Cannot find csh
转载:https://weibo.com/1957434080/FkoUc9vC6?type=comment问题:使用./configure的时候出现错误configure: error: "Cannot find csh"解决方法:sudo apt-get install tcsh转载 2020-06-12 18:15:57 · 428 阅读 · 0 评论 -
使用scipy.io.wavfile.read()来读取文件,出现WavFileWarning: Chunk (non-data) not understood, skipping it.
如题,因为读取的这些文件原来是MP3文件,我在linux系统下使用了audacity来将他转化成wav,读取的时候出现了这个警告。建议在windows下面使用cooledit进行格式转化,亲测有效。...原创 2020-03-24 15:25:16 · 7834 阅读 · 3 评论 -
UnboundLocalError: local variable 'outdir' referenced before assignment
跑别人的代码,发现如题错误打印输出和出错一行相关的内容,结果发现是在建立文件夹的时候名字里面有空格。把空格删掉就好了。原创 2020-03-24 15:20:39 · 957 阅读 · 0 评论 -
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 32: ordinal not in range(128)
python2.7出现UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 32: ordinal not in range(128)的错误,目前尝试的方法:1、# -*- coding: utf-8 -*- 没用2、把运行文件的目录的文件夹名全部换成英文的 有用参考:https://zhidao...原创 2020-03-24 10:26:48 · 333 阅读 · 0 评论 -
ValueError: Cannot feed value of shape (100, 100) for Tensor u'Reshape_1:0', which has shape '(10000
错误内容:Traceback (most recent call last): File "/home/dn236/PycharmProjects/drum_transcription_2/data_test_whole_file.py", line 331, in <module> print sess.run(result, feed_dict={x: xtr, y...原创 2019-07-03 18:30:20 · 1307 阅读 · 2 评论