Xiaohan Zou

Results 18 comments of Xiaohan Zou

Sorry for the late reply. After passing a`fill` prop,`fill` (or `stroke`) attribute in icon's`svg` element will be edited to control the color. However, most of the icons from Ionicons set...

Hi, have you tried importing the package following [this](https://nuxtjs.org/docs/2.x/directory-structure/plugins#vue-plugins)?

Features extracted by librosa have 312 dimensions, while those extracted by Opensmile have 1582 dimensions. So I believe you are feeding librosa features (312) to the model trained on Opensmial...

> 在调用files函数整理数据时候,只有remove函数起了作用,其余两个函数调用不起来,请问下是什么原因。 您好,调用不起来是指啥,有啥报错吗。

1. TensorFlow 和 Keras 我在 [cnn.py](https://github.com/Renovamen/Speech-Emotion-Recognition/blob/master/models/dnn/cnn.py) 里用的是 ` tensorflow.keras` 而不是 `tensorflow.python.keras`: https://github.com/Renovamen/Speech-Emotion-Recognition/blob/39db88cb0563d384d467e51c46e5a2352a37afea/models/dnn/cnn.py#L1-L2 参考[这个 issue](https://github.com/tensorflow/tensorflow/issues/33075#issuecomment-539070546),`tensorflow.python` 只是 TensorFlow 的开发团队使用的,我们并不应该使用 `tensorflow.python` 下的任何东西。**因此你应该考虑 `tensorflow.keras` 而不是 `tensorflow.python.keras`。** 而 `tensorflow.keras` 的源码在另一个仓库 [keras-team/keras](https://github.com/keras-team/keras) 里维护,而显然 `keras.layers` 里的 `__init__.py`...

已上传:[single_feature.csv](https://github.com/Renovamen/Speech-Emotion-Recognition/files/8643775/single_feature.csv) --- single_feature.csv 是 opensmile 提取单个音频时生成的特征文件,参考 https://github.com/Renovamen/Speech-Emotion-Recognition/issues/3 。可以试一下直接在终端里运行 opensmile 抽取特征的命令: https://github.com/Renovamen/Speech-Emotion-Recognition/blob/64e2f48be4ed0ed3fba3f85af824209f6c5c3884/extract_feats/opensmile.py#L42 如果成功,就会在你配置的路径下生成 single_feature.csv;如果报错,可以看一下是不是路径的问题,或者发一下报错信息?

> 在 lstm.py 里面的 class_lables 修改为 7 之外 我不确定你具体是怎么修改的这一点,但原本代码里 LSTM 分类层宽度等于 [lstm.yaml 里 class_labels](https://github.com/Renovamen/Speech-Emotion-Recognition/blob/64e2f48be4ed0ed3fba3f85af824209f6c5c3884/configs/lstm.yaml#L5) 标签的数量: https://github.com/Renovamen/Speech-Emotion-Recognition/blob/64e2f48be4ed0ed3fba3f85af824209f6c5c3884/models/__init__.py#L22 所以你有把 lstm.yaml 里的 class_labels: https://github.com/Renovamen/Speech-Emotion-Recognition/blob/64e2f48be4ed0ed3fba3f85af824209f6c5c3884/configs/lstm.yaml#L5 改为 EMO-DB 的 7 个标签吗: https://github.com/Renovamen/Speech-Emotion-Recognition/blob/64e2f48be4ed0ed3fba3f85af824209f6c5c3884/configs/lstm.yaml#L7

感谢关注! 1. tag 颜色:会先按把 tag 按每个条目的文章数量从高到低排序,然后颜色从深到浅渐变,代码在这里: https://github.com/Renovamen/vuepress-theme-gungnir/blob/4d63d554fa4750edac6f10ad2b95775651f32ab4/packages/theme/src/client/composables/useTags.ts#L23 也就是说如果想 fork 改颜色,改上面那行的 start(颜色变化范围下界)和 end(颜色变化范围上界)就行。现在这俩颜色是写死的,之后我做成可配置的吧。 > 为啥有一部分选中颜色,有一部分又不是 可能是因为现在的颜色变化范围上界正好是就是选中颜色,所以选中颜色最深的那几个 tag(文章最多的条目)时可能会看不出来区别。 2. [如文档中提到](https://v2-vuepress-theme-gungnir.vercel.app/zh/docs/basic/search.html),主题的默认搜索组件是我重写过的,效果可以看[这里](https://zxh.io/)(点右上角搜索键)。这个组件应该会好看一点,但只能搜博客不能搜文档。如果只有搜博客的需求的话可以直接用这个。 因为主题文档网站有搜索文档的需求,所以用的是官方搜索组件而不是主题默认的那个。目前的确还没完全适配好官方搜索组件的样式,但我短期内应该没精力调这个样式(欢迎 pr)。 可以自行通过 [css 变量](https://v2.vuepress.vuejs.org/zh/reference/plugin/docsearch.html#%E6%A0%B7%E5%BC%8F)来改样式,还不行的话就直接重写 css。

Hi, sorry for the late reply. I just noticed that [vuepress-plugin-fulltext-search](https://www.npmjs.com/package/vuepress-plugin-fulltext-search) isn't working with VuePress 2 as for now, so I can do nothing with theme v2.x. I'll try to...

I see, you mean when using ⌘ + K shortcut to call out the docsearch component and navigating to another page, the docsearch component would not disappear automatically after router...