url
stringlengths 52
53
| repository_url
stringclasses 1
value | labels_url
stringlengths 66
67
| comments_url
stringlengths 61
62
| events_url
stringlengths 59
60
| html_url
stringlengths 40
43
| id
int64 719M
2.8B
| node_id
stringlengths 18
32
| number
int64 1.28k
11.9k
| title
stringlengths 1
350
| user
dict | labels
listlengths 0
10
| state
stringclasses 2
values | locked
bool 2
classes | assignee
dict | assignees
listlengths 0
3
| milestone
null | comments
sequencelengths 0
30
⌀ | created_at
timestamp[s] | updated_at
timestamp[s] | closed_at
timestamp[s] | author_association
stringclasses 4
values | sub_issues_summary
dict | active_lock_reason
stringclasses 1
value | draft
bool 2
classes | pull_request
dict | body
stringlengths 0
73.4k
⌀ | closed_by
dict | reactions
dict | timeline_url
stringlengths 61
62
| performed_via_github_app
null | state_reason
stringclasses 3
values | is_pull_request
bool 2
classes |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
https://api.github.com/repos/NVIDIA/NeMo/issues/1678 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1678/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1678/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1678/events | https://github.com/NVIDIA/NeMo/pull/1678 | 796,572,495 | MDExOlB1bGxSZXF1ZXN0NTYzNzI5NDgw | 1,678 | add new quantization nodes in QuartzNet | {
"login": "ttyio",
"id": 365590,
"node_id": "MDQ6VXNlcjM2NTU5MA==",
"avatar_url": "https://avatars.githubusercontent.com/u/365590?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ttyio",
"html_url": "https://github.com/ttyio",
"followers_url": "https://api.github.com/users/ttyio/followers",
"following_url": "https://api.github.com/users/ttyio/following{/other_user}",
"gists_url": "https://api.github.com/users/ttyio/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ttyio/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ttyio/subscriptions",
"organizations_url": "https://api.github.com/users/ttyio/orgs",
"repos_url": "https://api.github.com/users/ttyio/repos",
"events_url": "https://api.github.com/users/ttyio/events{/privacy}",
"received_events_url": "https://api.github.com/users/ttyio/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Could you please sign your commits. See https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md for general guidelines.\r\nTo sign already committed commits, checkout DCO's bot output: https://github.com/NVIDIA/NeMo/pull/1678/checks?check_run_id=1789269686",
"CI failed on style check. \r\nTo check for style do:\r\n``python setup.py style``\r\nTo fix style:\r\n``python setup.py style --fix``",
"This pull request **introduces 4 alerts** when merging 057c428dde16e9bb62a5dafaf1565378047cb733 into 8a26496f415386f50adcead21ebd1e4a21a7ff42 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-876474ea51b450756c5d62c7fafd1b354a66b534)\n\n**new alerts:**\n\n* 4 for Unused import",
"This PR requires a significant refactor - and does not need to add explicit global support for quantization in the constructor. If you would agree to it, could I push some changes to this branch directly ?",
"> This PR requires a significant refactor - and does not need to add explicit global support for quantization in the constructor. If you would agree to it, could I push some changes to this branch directly ?\r\n\r\nThanks @titu1994 , I do not know other ways to pass the quantization flag from the upper script to model, please help me to refactor the code, thanks!",
"Sounds good, thanks for the go ahead.",
"@okuchaiev for review regarding core ModelPT changes to support 1) returning of config instead of model 2) overriding config with either str path or with OmegaConf object",
"This pull request **introduces 4 alerts** when merging de1f57db1a375b8a6972b07d5c870c7ec6467fc0 into 8a26496f415386f50adcead21ebd1e4a21a7ff42 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-7df2249de95d719f81c51b4c2cbecf9f9508e2bf)\n\n**new alerts:**\n\n* 4 for Unused import",
"This pull request **introduces 4 alerts** when merging 033b96296c5b72f82491fda49feb0cd03364c27f into 8a26496f415386f50adcead21ebd1e4a21a7ff42 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-ef25758a3207343c34dd3975db75604fa7f111b5)\n\n**new alerts:**\n\n* 4 for Unused import",
"This pull request **introduces 4 alerts** when merging 33d0c11416a0b2b02b8406a02bddb9b1dfd5490e into 8a26496f415386f50adcead21ebd1e4a21a7ff42 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-dab7b7231360f2ca3eacc5b1952a1d6341c63373)\n\n**new alerts:**\n\n* 4 for Unused import",
"This pull request **introduces 4 alerts** when merging e542e45a3c616fa1b5b03ba30d1768df148bd9a5 into 8a26496f415386f50adcead21ebd1e4a21a7ff42 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-dd5e821caa2ca951023a3d81be5b4b2f4dffaa53)\n\n**new alerts:**\n\n* 4 for Unused import"
] | 2021-01-29T04:40:48 | 2021-01-29T18:42:14 | 2021-01-29T18:42:14 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1678",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1678",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1678.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1678.patch",
"merged_at": "2021-01-29T18:42:14"
} | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1678/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1678/timeline | null | null | true |
|
https://api.github.com/repos/NVIDIA/NeMo/issues/1677 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1677/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1677/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1677/events | https://github.com/NVIDIA/NeMo/issues/1677 | 796,209,449 | MDU6SXNzdWU3OTYyMDk0NDk= | 1,677 | Is it possible to serve Nvidia NeMo models using Nvidia Triton Server? | {
"login": "Jblauvs",
"id": 38537191,
"node_id": "MDQ6VXNlcjM4NTM3MTkx",
"avatar_url": "https://avatars.githubusercontent.com/u/38537191?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Jblauvs",
"html_url": "https://github.com/Jblauvs",
"followers_url": "https://api.github.com/users/Jblauvs/followers",
"following_url": "https://api.github.com/users/Jblauvs/following{/other_user}",
"gists_url": "https://api.github.com/users/Jblauvs/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Jblauvs/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Jblauvs/subscriptions",
"organizations_url": "https://api.github.com/users/Jblauvs/orgs",
"repos_url": "https://api.github.com/users/Jblauvs/repos",
"events_url": "https://api.github.com/users/Jblauvs/events{/privacy}",
"received_events_url": "https://api.github.com/users/Jblauvs/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Every NeMo model inherits from ``torch.nn.Module`` at the top of it's inheritance chain. So everything applicable to torch.nn.Module objects, including serving them via Triton Server should apply here as well.\r\n\r\n",
"Great, thanks for the response. "
] | 2021-01-28T17:32:10 | 2021-01-29T20:12:05 | 2021-01-29T20:12:05 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Is it possible to serve Nvidia NeMo models using Nvidia Triton Server?
| {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1677/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1677/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1676 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1676/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1676/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1676/events | https://github.com/NVIDIA/NeMo/issues/1676 | 795,917,325 | MDU6SXNzdWU3OTU5MTczMjU= | 1,676 | Language Model - Old Tutorial links[Question] | {
"login": "ulucsahin",
"id": 22548197,
"node_id": "MDQ6VXNlcjIyNTQ4MTk3",
"avatar_url": "https://avatars.githubusercontent.com/u/22548197?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ulucsahin",
"html_url": "https://github.com/ulucsahin",
"followers_url": "https://api.github.com/users/ulucsahin/followers",
"following_url": "https://api.github.com/users/ulucsahin/following{/other_user}",
"gists_url": "https://api.github.com/users/ulucsahin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ulucsahin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ulucsahin/subscriptions",
"organizations_url": "https://api.github.com/users/ulucsahin/orgs",
"repos_url": "https://api.github.com/users/ulucsahin/repos",
"events_url": "https://api.github.com/users/ulucsahin/events{/privacy}",
"received_events_url": "https://api.github.com/users/ulucsahin/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hi, is there any update on this?\r\n\r\nI would also like to ask if it's possible to add a language model in this notebook :\r\nhttps://colab.research.google.com/github/NVIDIA/NeMo/blob/main/tutorials/asr/01_ASR_with_NeMo.ipynb\r\n\r\nI would like to add my language model to train my data in order to achieve better WER, so far I could not find any tutorial on this.\r\n\r\nLooking forward for your replies,\r\n\r\nThanks.\r\n\r\n\r\n\r\n\r\n\r\n\r\n",
"Documentation for language modelling with ASR models is available here - https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/main/asr/asr_language_modeling.html"
] | 2021-01-28T11:24:31 | 2021-06-19T04:41:37 | 2021-06-19T04:41:37 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hello, I am currently training a QuartzNet15x5 model for speech recognition. As far as I know this uses greedy decoder by default. I want to use a language model to achieve better WER if possible. I have 2 questions:
1) If I want to use a language model instead of greedy decoder, should I restart my training and train language model in parallel with my encoder-decoder, or does language model part act like a separate entity which can be plugged in after training?
2) I am trying to follow tutorials but most of the links give me 404 error because of the structure change in this repository. Do old tutorials not work or can I safely follow them? For example, I couldn't find the tutorial given in this link:
https://nvidia.github.io/NeMo/asr/tutorial.html#evaluation-with-language-model
Thanks. | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1676/reactions",
"total_count": 2,
"+1": 2,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1676/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1675 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1675/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1675/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1675/events | https://github.com/NVIDIA/NeMo/pull/1675 | 795,831,446 | MDExOlB1bGxSZXF1ZXN0NTYzMTEzMjA2 | 1,675 | Adding Jarvis compatibility to WaveGlow | {
"login": "borisfom",
"id": 14189615,
"node_id": "MDQ6VXNlcjE0MTg5NjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14189615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisfom",
"html_url": "https://github.com/borisfom",
"followers_url": "https://api.github.com/users/borisfom/followers",
"following_url": "https://api.github.com/users/borisfom/following{/other_user}",
"gists_url": "https://api.github.com/users/borisfom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/borisfom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/borisfom/subscriptions",
"organizations_url": "https://api.github.com/users/borisfom/orgs",
"repos_url": "https://api.github.com/users/borisfom/repos",
"events_url": "https://api.github.com/users/borisfom/events{/privacy}",
"received_events_url": "https://api.github.com/users/borisfom/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-28T09:32:03 | 2021-01-29T00:16:43 | 2021-01-29T00:16:43 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1675",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1675",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1675.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1675.patch",
"merged_at": "2021-01-29T00:16:42"
} | Signed-off-by: Boris Fomitchev <[email protected]> | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1675/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1675/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1674 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1674/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1674/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1674/events | https://github.com/NVIDIA/NeMo/pull/1674 | 795,772,237 | MDExOlB1bGxSZXF1ZXN0NTYzMDY1MzY1 | 1,674 | Add sentencepiece tokenizer support to transformer LM | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Thanks @yzhang123 !"
] | 2021-01-28T08:09:18 | 2021-01-28T18:25:23 | 2021-01-28T18:24:50 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1674",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1674",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1674.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1674.patch",
"merged_at": "2021-01-28T18:24:50"
} | # Changelog
- Add support for external tokenizer files for transformer language models
- Add support for serialization of tokenizer vocab + tokenizer file (if present)
- Add support to disable optimizers by passing file_path = None
Signed-off-by: smajumdar <[email protected]> | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1674/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1674/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1673 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1673/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1673/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1673/events | https://github.com/NVIDIA/NeMo/pull/1673 | 795,632,130 | MDExOlB1bGxSZXF1ZXN0NTYyOTQ3NTMx | 1,673 | Tarred Datasets for NMT | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 4 alerts** when merging 8804196b70e585ebb8bd2847f4a503ba19358ac2 into cd8f1c5a74e0d0f2c5bf5847951e30d1170909c3 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-33c1b211c8938e3824030f9c8b2b1d9708c3bfdb)\n\n**new alerts:**\n\n* 3 for Unused import\n* 1 for Unused local variable",
"This pull request **introduces 4 alerts** when merging e6d59380c7f599616d043750c4d58eefd001a7f2 into cd8f1c5a74e0d0f2c5bf5847951e30d1170909c3 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-b707f2a3fe60823dab01087fadc6822aac488bf3)\n\n**new alerts:**\n\n* 4 for Unused import",
"This pull request **introduces 1 alert** when merging 8d0d83dd2b36e1d250f2aacbb63471b7dbc00127 into cd8f1c5a74e0d0f2c5bf5847951e30d1170909c3 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-eb9c72b8bb41b91e29b388e0b4010687909a0fb5)\n\n**new alerts:**\n\n* 1 for Unused import",
"@MaximumEntropy Try the final dataloader on a multigpu setup to full convergence before merge. Otherwise, it looks good. ",
"this should go to \"main\" (I should probably delete nmtmodel branch). And now there are a bunch of merge conflicts. Any thoughts why?",
"@okuchaiev I guess its because this branch was created from nmtmodel rather than main and there have been some commits to main after the nmtmodel merge (like typing). I can either resolve these conflicts or just submit another PR starting from main.",
"Closing this PR since it started from the wrong branch. New one at #1683 "
] | 2021-01-28T03:23:30 | 2022-08-16T16:15:48 | 2021-01-29T22:35:08 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1673",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1673",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1673.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1673.patch",
"merged_at": null
} | This PR adds support for Tarred Datasets when training NMT models on very large datasets. It avoids loading the entire dataset into CPU memory for every DDP process. It uses webdataset (https://github.com/tmbdev/webdataset) similar to ASR and language modeling.
To use this functionality
1. Run `python examples/nlp/machine_translation/create_tarred_dataset.py --clean --bpe_dropout 0.1 --shared_tokenizer --src_fname src_file.txt --tgt_fname tgt_file.txt --out_dir /path/to/out_dir --vocab_size 32000 --tokens_in_batch 16000 --lines_per_dataset_fragment 5000000 --num_batches_per_tarfile 1000` to create a folder that contains many tar files. Each tar file consists of a certain number of batches (specified by `num_batches_per_tarfile`), where each batch is a pickle file. The output folder will also contain `metadata.json` that contains the total number of training batches and YTTM tokenizer model files.
2. Point to the tarred dataset folder when training like so
```
python examples/nlp/machine_translation/enc_dec_nmt.py -c aayn_base \
trainer.gpus=8 \
+trainer.max_steps=300000
...........
model.train_ds.src_file_name=/path/to/out_dir/batches.tokens.16000._OP_1..100_CL_.tar \
model.train_ds.tgt_file_name=/path/to/out_dir/batches.tokens.16000._OP_1..100_CL_.tar \
+model.train_ds.load_from_tarred_dataset=true \
+model.train_ds.metadata_path=/path/to/out_dir/metadata.json \
+model.train_ds.tar_shuffle_n=100 \
.............
``` | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1673/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1673/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1672 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1672/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1672/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1672/events | https://github.com/NVIDIA/NeMo/issues/1672 | 795,555,616 | MDU6SXNzdWU3OTU1NTU2MTY= | 1,672 | Small edit needed to intent/slot tutorial | {
"login": "carolmanderson",
"id": 25518180,
"node_id": "MDQ6VXNlcjI1NTE4MTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/25518180?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/carolmanderson",
"html_url": "https://github.com/carolmanderson",
"followers_url": "https://api.github.com/users/carolmanderson/followers",
"following_url": "https://api.github.com/users/carolmanderson/following{/other_user}",
"gists_url": "https://api.github.com/users/carolmanderson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/carolmanderson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/carolmanderson/subscriptions",
"organizations_url": "https://api.github.com/users/carolmanderson/orgs",
"repos_url": "https://api.github.com/users/carolmanderson/repos",
"events_url": "https://api.github.com/users/carolmanderson/events{/privacy}",
"received_events_url": "https://api.github.com/users/carolmanderson/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"can you please send a PR?",
"fixed"
] | 2021-01-28T00:17:29 | 2021-02-02T04:53:16 | 2021-02-02T04:53:16 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | In the intent/slot tutorial notebook, I think this line:
https://github.com/NVIDIA/NeMo/blob/ad0edf2e6910b7b6de3ae93fba9b728f6479c50e/tutorials/nlp/Joint_Intent_and_Slot_Classification.ipynb#L508
Should be changed to: `trainer.test(model=eval_model, ckpt_path=None, verbose=False)`
So that the reloaded/best model is the one that gets evaluated. | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1672/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1672/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1671 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1671/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1671/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1671/events | https://github.com/NVIDIA/NeMo/issues/1671 | 795,547,478 | MDU6SXNzdWU3OTU1NDc0Nzg= | 1,671 | Missing ipywidgets package in Docker causes intent/slot tutorial to raise ImportError | {
"login": "carolmanderson",
"id": 25518180,
"node_id": "MDQ6VXNlcjI1NTE4MTgw",
"avatar_url": "https://avatars.githubusercontent.com/u/25518180?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/carolmanderson",
"html_url": "https://github.com/carolmanderson",
"followers_url": "https://api.github.com/users/carolmanderson/followers",
"following_url": "https://api.github.com/users/carolmanderson/following{/other_user}",
"gists_url": "https://api.github.com/users/carolmanderson/gists{/gist_id}",
"starred_url": "https://api.github.com/users/carolmanderson/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/carolmanderson/subscriptions",
"organizations_url": "https://api.github.com/users/carolmanderson/orgs",
"repos_url": "https://api.github.com/users/carolmanderson/repos",
"events_url": "https://api.github.com/users/carolmanderson/events{/privacy}",
"received_events_url": "https://api.github.com/users/carolmanderson/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-27T23:58:42 | 2021-07-13T15:22:26 | 2021-07-13T15:22:26 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
When running in the NeMo Docker container, the Intent/slot model tutorial errors out due to missing ipywidgets package.
**Steps/Code to reproduce bug**
Running [tutorial notebook](https://github.com/NVIDIA/NeMo/blob/main/tutorials/nlp/Joint_Intent_and_Slot_Classification.ipynb) in the nvcr.io/nvidia/nemo:1.0.0b3 docker container
This line raises an ImportError:
`model = nemo_nlp.models.IntentSlotClassificationModel(config.model, trainer=trainer)`
```
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/opt/conda/lib/python3.6/site-packages/nemo/collections/common/tokenizers/huggingface/auto_tokenizer.py in __init__(self, pretrained_model_name, vocab_file, mask_token, bos_token, eos_token, pad_token, sep_token, cls_token, unk_token)
103 else:
--> 104 self.tokenizer = AUTOTOKENIZER.from_pretrained(pretrained_model_name_or_path=pretrained_model_name)
105 except Exception as e:
/opt/conda/lib/python3.6/site-packages/transformers/tokenization_auto.py in from_pretrained(cls, pretrained_model_name_or_path, *inputs, **kwargs)
305 if not isinstance(config, PretrainedConfig):
--> 306 config = AutoConfig.from_pretrained(pretrained_model_name_or_path, **kwargs)
307
/opt/conda/lib/python3.6/site-packages/transformers/configuration_auto.py in from_pretrained(cls, pretrained_model_name_or_path, **kwargs)
332 """
--> 333 config_dict, _ = PretrainedConfig.get_config_dict(pretrained_model_name_or_path, **kwargs)
334
/opt/conda/lib/python3.6/site-packages/transformers/configuration_utils.py in get_config_dict(cls, pretrained_model_name_or_path, **kwargs)
387 resume_download=resume_download,
--> 388 local_files_only=local_files_only,
389 )
/opt/conda/lib/python3.6/site-packages/transformers/file_utils.py in cached_path(url_or_filename, cache_dir, force_download, proxies, resume_download, user_agent, extract_compressed_file, force_extract, local_files_only)
954 user_agent=user_agent,
--> 955 local_files_only=local_files_only,
956 )
/opt/conda/lib/python3.6/site-packages/transformers/file_utils.py in get_from_cache(url, cache_dir, force_download, proxies, etag_timeout, resume_download, user_agent, local_files_only)
1163
-> 1164 http_get(url_to_download, temp_file, proxies=proxies, resume_size=resume_size, user_agent=user_agent)
1165
/opt/conda/lib/python3.6/site-packages/transformers/file_utils.py in http_get(url, temp_file, proxies, resume_size, user_agent)
1033 desc="Downloading",
-> 1034 disable=bool(logging.get_verbosity() == logging.NOTSET),
1035 )
/opt/conda/lib/python3.6/site-packages/tqdm/notebook.py in __init__(self, *args, **kwargs)
231 self.container = self.status_printer(
--> 232 self.fp, total, self.desc, self.ncols)
233 if display_here:
/opt/conda/lib/python3.6/site-packages/tqdm/notebook.py in status_printer(_, total, desc, ncols)
96 raise ImportError(
---> 97 "IProgress not found. Please update jupyter and ipywidgets."
98 " See https://ipywidgets.readthedocs.io/en/stable"
ImportError: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
<ipython-input-5-676c262478c3> in <module>
1 # initialize the model
----> 2 model = nemo_nlp.models.IntentSlotClassificationModel(config.model, trainer=trainer)
3
4
5 # train
/opt/conda/lib/python3.6/site-packages/nemo/collections/nlp/models/intent_slot_classification/intent_slot_classification_model.py in __init__(self, cfg, trainer)
62 )
63
---> 64 self._setup_tokenizer(cfg.tokenizer)
65 # init superclass
66 super().__init__(cfg=cfg, trainer=trainer)
/opt/conda/lib/python3.6/site-packages/nemo/collections/nlp/models/intent_slot_classification/intent_slot_classification_model.py in _setup_tokenizer(self, cfg)
235 tokenizer_model=cfg.tokenizer_model,
236 special_tokens=OmegaConf.to_container(cfg.special_tokens) if cfg.special_tokens else None,
--> 237 vocab_file=cfg.vocab_file,
238 )
239 self.tokenizer = tokenizer
/opt/conda/lib/python3.6/site-packages/nemo/collections/nlp/modules/common/tokenizer_utils.py in get_tokenizer(tokenizer_name, tokenizer_model, vocab_file, special_tokens)
71 return CharTokenizer(vocab_file=vocab_file, **special_tokens_dict)
72
---> 73 return AutoTokenizer(pretrained_model_name=tokenizer_name, vocab_file=vocab_file, **special_tokens_dict,)
/opt/conda/lib/python3.6/site-packages/nemo/collections/common/tokenizers/huggingface/auto_tokenizer.py in __init__(self, pretrained_model_name, vocab_file, mask_token, bos_token, eos_token, pad_token, sep_token, cls_token, unk_token)
104 self.tokenizer = AUTOTOKENIZER.from_pretrained(pretrained_model_name_or_path=pretrained_model_name)
105 except Exception as e:
--> 106 raise ValueError(f'{pretrained_model_name} is not supported by HuggingFace. {e}')
107
108 special_tokens_dict = {}
ValueError: bert-base-uncased is not supported by HuggingFace. IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html
```
**Environment overview (please complete the following information)**
- Environment location: local machine
- Method of NeMo install: Docker
**Additional context**
Fixed by `pip install ipywidgets` | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1671/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1671/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1670 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1670/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1670/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1670/events | https://github.com/NVIDIA/NeMo/pull/1670 | 795,531,638 | MDExOlB1bGxSZXF1ZXN0NTYyODY1MDA3 | 1,670 | Add ASR with Subword Tokenization Tutorial | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"@okuchaiev Could you review the move of citrinet configs from experimental to conf/citrinet/ and update to Jenkinsfile? "
] | 2021-01-27T23:22:19 | 2021-02-01T20:12:22 | 2021-02-01T20:12:15 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1670",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1670",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1670.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1670.patch",
"merged_at": "2021-02-01T20:12:15"
} | # Changelog
- Adds ASR with subword tokenization notebook
- Move configs from experimental to conf/citrinet/
- Updates change_vocabulary() in CTCBPE and RNNTBPE so that vocabulary updated is actual tokens instead of token indices.
- Update readme with link to colab
| {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1670/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1670/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1669 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1669/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1669/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1669/events | https://github.com/NVIDIA/NeMo/pull/1669 | 795,320,308 | MDExOlB1bGxSZXF1ZXN0NTYyNjg4Mjk3 | 1,669 | Patch for NMT accuracy regression from PTL 1.1.3 to PTL 1.1.4+ | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 1 alert** when merging 03dc67e4e06a7fd939ec32ae6a3ae2ed07371759 into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-c00b16affad2c7a4c82e0998d3d0995a058cd2fa)\n\n**new alerts:**\n\n* 1 for Unused import",
"This pull request **introduces 1 alert** when merging aef07cbe74e840895837e762d43cec01edf20520 into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-9cf8fbb6a2d4f0b68c50296c181384e3550def58)\n\n**new alerts:**\n\n* 1 for Unused import",
"This pull request **introduces 4 alerts** when merging 8c31f4a4477ff00015b8ae2090088037efdc4117 into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-3cd0f71bd1172d2ed2de884efa167a1af42e6667)\n\n**new alerts:**\n\n* 4 for Unused import",
"This pull request **introduces 6 alerts** when merging 02207f86415e790202848f2c36cec7b9c4d434d5 into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-c9c4ab115bd8a7f9e0c5fcea57199420d23b2096)\n\n**new alerts:**\n\n* 6 for Unused import",
"This pull request **introduces 3 alerts** when merging d5d4b232bad996a0d580cf60861da375c6e67d94 into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-8034262612377c60fb47429f0eaed321a4ed596c)\n\n**new alerts:**\n\n* 3 for Unused import",
"This pull request **introduces 6 alerts** when merging 8035fb988a2ea99060906d61e556c4c567f0783e into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-2a53970fd049a53b63fe0aecc48e2ebba93538d3)\n\n**new alerts:**\n\n* 6 for Unused import",
"This pull request **introduces 6 alerts** when merging 13e9523583dee6c3162f788f0ded35d40e8be195 into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-8a488418abeec43276230b5d76f0919febc82bbb)\n\n**new alerts:**\n\n* 6 for Unused import",
"This pull request **introduces 7 alerts** when merging c8cab3bb299ec160506d29049d535b204461ce7a into 838892b1d38650bdf1bd829437f5722589f3ae42 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-0e82ea57b3b8d1489dc063ca5698a74d96827759)\n\n**new alerts:**\n\n* 7 for Unused import",
"This pull request **introduces 7 alerts** when merging d140ecb485c0e6ee39187dbde63c78c7c6b578ff into c4379da172c1ac866fea0cd91ac6433dcd119651 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-cd9d7dcd746bf7bc876c7b0f2d4fdd66b0034e4d)\n\n**new alerts:**\n\n* 7 for Unused import",
"This pull request **introduces 7 alerts** when merging 4f612b8e057aad68b38eb0640de1fab9ee892412 into 4fe96b152a74ba2dd3e044cd76fe91dfda566c08 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-be0ac3f1ed9da68c4be76cfc657b8496201aaa83)\n\n**new alerts:**\n\n* 7 for Unused import",
"This pull request **introduces 7 alerts** when merging 26e7446e098ed675511db01582d6d0aabd0bedc0 into 3a67cd013c451f65eba75a0c54dcdcad89c9e95e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-ddc1888fd8d6a12ea682855215b9eb37b49fe0ce)\n\n**new alerts:**\n\n* 7 for Unused import",
"This pull request **introduces 7 alerts** when merging 1e1e08a9c0e991ccf20bce8e71d9b394065aa068 into 4fc670ad0c886be2623247921d4311ba30f486f8 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-6201fb13723cee2bb0b099feab30fc972ec9dc45)\n\n**new alerts:**\n\n* 7 for Unused import",
"This pull request **introduces 7 alerts** when merging 1af04e4192fbf8b240cbc8a7e6924619b2479397 into 4fc670ad0c886be2623247921d4311ba30f486f8 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-ed7ec377da0e2e12033f12e9d30436abf85bb56b)\n\n**new alerts:**\n\n* 7 for Unused import",
"This pull request **introduces 7 alerts** when merging 31b2529424ef89aa61cd21bd24420539ce5bac84 into 4fc670ad0c886be2623247921d4311ba30f486f8 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-65d9475e9b65afc5f4b6358083158f4bc2d5bc0d)\n\n**new alerts:**\n\n* 7 for Unused import",
"This pull request **introduces 7 alerts** when merging 20a37cec79729323ba976a0905e37daa019ea1f9 into 4fc670ad0c886be2623247921d4311ba30f486f8 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-3b89e3a9955ae19480c4127dd192c30b4c4d4048)\n\n**new alerts:**\n\n* 7 for Unused import",
"This pull request **fixes 2 alerts** when merging 0552327ff2bb3f84eec23a9643a50c8c9b3525f8 into 4fc670ad0c886be2623247921d4311ba30f486f8 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-c5bcb22771d638b0df7c818b0e55893454023d6b)\n\n**fixed alerts:**\n\n* 2 for Unused import",
"This pull request **fixes 2 alerts** when merging 6da45cfd3132804ede19bebde0e22479b3640619 into 6c34fe9d44d0c398dd9a87404f9fa45616a13647 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-50cdc7a69a1c92dbc3d8880909231c3d36f5252d)\n\n**fixed alerts:**\n\n* 2 for Unused import",
"This pull request **fixes 2 alerts** when merging 4e3fdaac7c945785149d74d74b0f7a41cdc03451 into 3c9e60ab269e858cc73e780e5f85f749a8b8dcff - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-03fbce0110733279aa8078fea9fdb5858ebd1f55)\n\n**fixed alerts:**\n\n* 2 for Unused import",
"This pull request **fixes 2 alerts** when merging a6f200f29fe688b91db0cf82565542d1fcd5cb50 into 090cfae5db9b6f9eb62b3ede37ed438875a150df - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-c28ba7668fcf2c5ae9052379e659cd92127064e0)\n\n**fixed alerts:**\n\n* 2 for Unused import",
"This pull request **fixes 2 alerts** when merging 65e1b3f20fa063206b8cdd4ff043572a19f55fa3 into 090cfae5db9b6f9eb62b3ede37ed438875a150df - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-bc0906d35565b3d2304aa6c1589223d1e1e5b2c0)\n\n**fixed alerts:**\n\n* 2 for Unused import",
"This pull request **fixes 2 alerts** when merging 368d32bfbbe945426ce30025692506a80061e3ca into 4f87abb242fee7f0131fd27a266883c8740d8fac - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-d83fa003be981db281e39d1f6a282e677680386a)\n\n**fixed alerts:**\n\n* 2 for Unused import"
] | 2021-01-27T17:58:25 | 2021-02-09T03:18:56 | 2021-02-09T03:18:52 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1669",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1669",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1669.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1669.patch",
"merged_at": "2021-02-09T03:18:52"
} | The default for `find_unused_parameters` was changed from `True` to `False` in PTL. We're seeing higher accuracy in NMT with `find_unused_parameters=True`. Overriding this in NMT model until we learn more. | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1669/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1669/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1668 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1668/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1668/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1668/events | https://github.com/NVIDIA/NeMo/issues/1668 | 794,440,370 | MDU6SXNzdWU3OTQ0NDAzNzA= | 1,668 | Wav2letter implementation | {
"login": "lematmat",
"id": 19993147,
"node_id": "MDQ6VXNlcjE5OTkzMTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/19993147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lematmat",
"html_url": "https://github.com/lematmat",
"followers_url": "https://api.github.com/users/lematmat/followers",
"following_url": "https://api.github.com/users/lematmat/following{/other_user}",
"gists_url": "https://api.github.com/users/lematmat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lematmat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lematmat/subscriptions",
"organizations_url": "https://api.github.com/users/lematmat/orgs",
"repos_url": "https://api.github.com/users/lematmat/repos",
"events_url": "https://api.github.com/users/lematmat/events{/privacy}",
"received_events_url": "https://api.github.com/users/lematmat/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Currently we do not have wav2letter implementation. Checkout Jasper and QuartzNet networks which were inspired by wav2letter",
"Ok, thank you."
] | 2021-01-26T17:56:37 | 2021-01-30T16:21:00 | 2021-01-29T20:16:24 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe your question**: As Nemo is a Pytorch lightening module (as wav2letter) is there an easy to implement Wav2letter with Nemo ?
A clear and concise description of your question.
Describe what you want to achieve. And/or what NeMo APIs are unclear/confusing.
**Environment overview (please complete the following information)**
- Environment location: [Bare-metal, Docker, Cloud(specify cloud provider - AWS, Azure, GCP, Collab)]
- Method of NeMo install: [pip install or from source]. Please specify exact commands you used to install.
- If method of install is [Docker], provide `docker pull` & `docker run` commands used
**Environment details**
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version
- PyTorch version
- Python version
**Additional context**
Add any other context about the problem here.
Example: GPU model
| {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1668/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1668/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1667 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1667/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1667/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1667/events | https://github.com/NVIDIA/NeMo/issues/1667 | 794,208,485 | MDU6SXNzdWU3OTQyMDg0ODU= | 1,667 | wav2letter | {
"login": "lematmat",
"id": 19993147,
"node_id": "MDQ6VXNlcjE5OTkzMTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/19993147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lematmat",
"html_url": "https://github.com/lematmat",
"followers_url": "https://api.github.com/users/lematmat/followers",
"following_url": "https://api.github.com/users/lematmat/following{/other_user}",
"gists_url": "https://api.github.com/users/lematmat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lematmat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lematmat/subscriptions",
"organizations_url": "https://api.github.com/users/lematmat/orgs",
"repos_url": "https://api.github.com/users/lematmat/repos",
"events_url": "https://api.github.com/users/lematmat/events{/privacy}",
"received_events_url": "https://api.github.com/users/lematmat/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-26T12:53:55 | 2021-01-26T17:46:36 | 2021-01-26T17:46:36 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe your question**
I don't manage to find wav2letter in Nemo ASR models wheareas it existed in OpenSeq2Seq.
What's the point ?
**Environment overview (please complete the following information)**
- Environment location: [Bare-metal, Docker, Cloud(specify cloud provider - AWS, Azure, GCP, Collab)]
- Method of NeMo install: [pip install or from source]. Please specify exact commands you used to install.
- If method of install is [Docker], provide `docker pull` & `docker run` commands used
**Environment details**
If NVIDIA docker image is used you don't need to specify these.
Otherwise, please provide:
- OS version
- PyTorch version
- Python version
**Additional context**
Add any other context about the problem here.
Example: GPU model
| {
"login": "lematmat",
"id": 19993147,
"node_id": "MDQ6VXNlcjE5OTkzMTQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/19993147?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lematmat",
"html_url": "https://github.com/lematmat",
"followers_url": "https://api.github.com/users/lematmat/followers",
"following_url": "https://api.github.com/users/lematmat/following{/other_user}",
"gists_url": "https://api.github.com/users/lematmat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lematmat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lematmat/subscriptions",
"organizations_url": "https://api.github.com/users/lematmat/orgs",
"repos_url": "https://api.github.com/users/lematmat/repos",
"events_url": "https://api.github.com/users/lematmat/events{/privacy}",
"received_events_url": "https://api.github.com/users/lematmat/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1667/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1667/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1666 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1666/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1666/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1666/events | https://github.com/NVIDIA/NeMo/pull/1666 | 793,970,782 | MDExOlB1bGxSZXF1ZXN0NTYxNTY2MjM5 | 1,666 | Fixed typo, Docker builds now | {
"login": "borisfom",
"id": 14189615,
"node_id": "MDQ6VXNlcjE0MTg5NjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14189615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisfom",
"html_url": "https://github.com/borisfom",
"followers_url": "https://api.github.com/users/borisfom/followers",
"following_url": "https://api.github.com/users/borisfom/following{/other_user}",
"gists_url": "https://api.github.com/users/borisfom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/borisfom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/borisfom/subscriptions",
"organizations_url": "https://api.github.com/users/borisfom/orgs",
"repos_url": "https://api.github.com/users/borisfom/repos",
"events_url": "https://api.github.com/users/borisfom/events{/privacy}",
"received_events_url": "https://api.github.com/users/borisfom/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-26T06:25:22 | 2021-01-26T08:00:45 | 2021-01-26T08:00:45 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1666",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1666",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1666.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1666.patch",
"merged_at": "2021-01-26T08:00:45"
} | Signed-off-by: Boris Fomitchev <[email protected]> | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1666/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1666/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1665 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1665/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1665/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1665/events | https://github.com/NVIDIA/NeMo/pull/1665 | 793,886,740 | MDExOlB1bGxSZXF1ZXN0NTYxNDk1Mjc4 | 1,665 | Add preliminary support for ASR Model dataclasses | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 1 alert** when merging cdb20c1742dca80fd3519991029d356e95573f98 into 9ea071605034f9f56db9b677eb1fe54fdee2b820 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-cc6090175340df7c3bed280609bfe623e3253748)\n\n**new alerts:**\n\n* 1 for Unused import",
"This pull request **introduces 1 alert** when merging 6ad69e3b240fe8ffedcaae7d4260dcbd05828c1b into 9ea071605034f9f56db9b677eb1fe54fdee2b820 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-2bbd5a3297d9a000e28efc1a91aba9366c42046e)\n\n**new alerts:**\n\n* 1 for Unused import"
] | 2021-01-26T03:01:31 | 2021-01-29T01:09:46 | 2021-01-29T01:09:42 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1665",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1665",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1665.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1665.patch",
"merged_at": "2021-01-29T01:09:42"
} | # Changelog
- Adds nearly concrete implementations of dataclasses for QuartzNet 15x5, Jasper 10x5-DR and MatchboxNet-3x1x64 and VAD modes.
- Adds *ConfigBuilder class supporting the construction of arbitrarily complex interdependencies between sub-configs
- Adds various dataclasses for ASR datasets + ASR Classification datasets
- Adds core support for class-dataclass testing | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1665/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1665/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1664 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1664/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1664/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1664/events | https://github.com/NVIDIA/NeMo/issues/1664 | 793,848,404 | MDU6SXNzdWU3OTM4NDg0MDQ= | 1,664 | Issue in loading model from checkpoint | {
"login": "meetdave06",
"id": 7240751,
"node_id": "MDQ6VXNlcjcyNDA3NTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/7240751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/meetdave06",
"html_url": "https://github.com/meetdave06",
"followers_url": "https://api.github.com/users/meetdave06/followers",
"following_url": "https://api.github.com/users/meetdave06/following{/other_user}",
"gists_url": "https://api.github.com/users/meetdave06/gists{/gist_id}",
"starred_url": "https://api.github.com/users/meetdave06/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meetdave06/subscriptions",
"organizations_url": "https://api.github.com/users/meetdave06/orgs",
"repos_url": "https://api.github.com/users/meetdave06/repos",
"events_url": "https://api.github.com/users/meetdave06/events{/privacy}",
"received_events_url": "https://api.github.com/users/meetdave06/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [] | 2021-01-26T01:24:14 | 2021-02-11T04:55:45 | 2021-02-11T04:55:45 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I am trying to run the Relation Extraction - BioMegatron notebook where once the model is trained, I am trying to load the best checkpoint.
**Steps/Code to reproduce bug**
- Train the model as usual
`checkpoint_path = trainer.checkpoint_callback.best_model_path`
`eval_model = nemo_nlp.models.TextClassificationModel.load_from_checkpoint(checkpoint_path=checkpoint_path)`
**Expected behavior**
<img width="1048" alt="Screen Shot 2021-01-25 at 8 01 09 PM" src="https://user-images.githubusercontent.com/7240751/105785078-13d5e100-5f48-11eb-991d-3560fa24a1e3.png">
**Environment overview (please complete the following information)**
- Environment Location: Collab
- Method of NeMo install: pip
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1664/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1664/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1663 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1663/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1663/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1663/events | https://github.com/NVIDIA/NeMo/pull/1663 | 793,671,533 | MDExOlB1bGxSZXF1ZXN0NTYxMzIwMTMz | 1,663 | Text normalization | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 6 alerts** and **fixes 1** when merging af4278cd307544343b466d80f681f939f41d7a3e into df360cd3c856c645d23505305ee8b689636b2dd1 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-976deade5b08d9a975c92bc6433f92edeaf9f4ab)\n\n**new alerts:**\n\n* 3 for Except block handles 'BaseException'\n* 3 for Unused import\n\n**fixed alerts:**\n\n* 1 for Except block handles 'BaseException'",
"This pull request **introduces 1 alert** when merging 9ed7a43b4919facffeee454d1fe3ff26bc182d17 into 9ea071605034f9f56db9b677eb1fe54fdee2b820 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-798486a6838f30a2b5a1dd7ef2a11ee73916b0c5)\n\n**new alerts:**\n\n* 1 for Unused import"
] | 2021-01-25T19:41:12 | 2021-01-26T23:48:51 | 2021-01-26T22:06:20 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1663",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1663",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1663.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1663.patch",
"merged_at": "2021-01-26T22:06:20"
} | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1663/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1663/timeline | null | null | true |
|
https://api.github.com/repos/NVIDIA/NeMo/issues/1662 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1662/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1662/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1662/events | https://github.com/NVIDIA/NeMo/issues/1662 | 793,650,751 | MDU6SXNzdWU3OTM2NTA3NTE= | 1,662 | Handle shape mismatch when restoring pretrained weights | {
"login": "vinchg",
"id": 25923368,
"node_id": "MDQ6VXNlcjI1OTIzMzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/25923368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vinchg",
"html_url": "https://github.com/vinchg",
"followers_url": "https://api.github.com/users/vinchg/followers",
"following_url": "https://api.github.com/users/vinchg/following{/other_user}",
"gists_url": "https://api.github.com/users/vinchg/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vinchg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vinchg/subscriptions",
"organizations_url": "https://api.github.com/users/vinchg/orgs",
"repos_url": "https://api.github.com/users/vinchg/repos",
"events_url": "https://api.github.com/users/vinchg/events{/privacy}",
"received_events_url": "https://api.github.com/users/vinchg/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | closed | false | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"This is not a good approach imo, because it allows the chance that model weights are skipped with a warning only and training progresses as is. When developing on scheduled dispatchers like Slurm, we rarely every take constant look at slurm logs so this can silently introduce bugs.\r\n\r\nThe official way to change the decoder is using the provided method - it contructs a new randomly initialized decoder for you. If you only wish to load encoder weights, that is possibly as below\r\n\r\n```python\r\nold_ckpt = torch.load(...)\r\nnew_model = EncDecCTCModel(...)\r\n\r\n# change decoder vocabular\r\nnew_model.change_vocabulary(...)\r\n\r\n# do things manually (NOT ADVISED)\r\nnew_model.decoder = torch.nn.Sequential(...)\r\nnew_model.encoder.load_state_dict(old_ckpt['state_dict']['encoder'])\r\n...\r\n```",
"Thank you for the response! Yeah, that's a fair point. I'll just stick with the provided method then."
] | 2021-01-25T19:10:51 | 2021-02-24T17:53:03 | 2021-02-24T17:53:03 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Is your feature request related to a problem? Please describe.**
Loading pretrained weights onto a model with a slightly different architecture results in a shape mismatch error. This makes it unwieldy to use pretrained weights for fine-tuning a model with a different decoder shape (for example, ASR with a different vocab size). modelPT.restore_from has a strict=False option but will error if a layer has a similar name but different shape.
**Describe the solution you'd like**
My preferred approach is for restore_from to warn of shape mismatch and ignore loading weights in that circumstance. Something like this perhaps:
```
instance = cls.from_config_dict(config=conf)
instance = instance.to(map_location)
instance_state_dict = instance.state_dict()
state_dict = torch.load(model_weights, map_location=map_location)
if not strict:
mismatched_layers = set()
for k, v in state_dict.items():
if k in instance_state_dict and instance_state_dict[k].shape != v.shape:
mismatched_layers.add(k)
logging.warning(f"Size mismatch for {k}: ignoring weights")
[state_dict.pop(name) for name in mismatched_layers]
instance.load_state_dict(state_dict=state_dict, strict=strict)
logging.info(f'Model {cls.__name__} was successfully restored from {restore_path}.')
``` | {
"login": "vinchg",
"id": 25923368,
"node_id": "MDQ6VXNlcjI1OTIzMzY4",
"avatar_url": "https://avatars.githubusercontent.com/u/25923368?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vinchg",
"html_url": "https://github.com/vinchg",
"followers_url": "https://api.github.com/users/vinchg/followers",
"following_url": "https://api.github.com/users/vinchg/following{/other_user}",
"gists_url": "https://api.github.com/users/vinchg/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vinchg/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vinchg/subscriptions",
"organizations_url": "https://api.github.com/users/vinchg/orgs",
"repos_url": "https://api.github.com/users/vinchg/repos",
"events_url": "https://api.github.com/users/vinchg/events{/privacy}",
"received_events_url": "https://api.github.com/users/vinchg/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1662/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1662/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1661 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1661/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1661/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1661/events | https://github.com/NVIDIA/NeMo/issues/1661 | 793,515,932 | MDU6SXNzdWU3OTM1MTU5MzI= | 1,661 | Licence of pretrained models | {
"login": "DanBmh",
"id": 18572490,
"node_id": "MDQ6VXNlcjE4NTcyNDkw",
"avatar_url": "https://avatars.githubusercontent.com/u/18572490?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/DanBmh",
"html_url": "https://github.com/DanBmh",
"followers_url": "https://api.github.com/users/DanBmh/followers",
"following_url": "https://api.github.com/users/DanBmh/following{/other_user}",
"gists_url": "https://api.github.com/users/DanBmh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/DanBmh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/DanBmh/subscriptions",
"organizations_url": "https://api.github.com/users/DanBmh/orgs",
"repos_url": "https://api.github.com/users/DanBmh/repos",
"events_url": "https://api.github.com/users/DanBmh/events{/privacy}",
"received_events_url": "https://api.github.com/users/DanBmh/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | true | null | [] | null | [
"1. NeMo software is released under [Apache 2.0 license](https://github.com/NVIDIA/NeMo/blob/main/LICENSE)\r\n2. Pre-trained checkpoints which you can find on NVIDIA NGC are under [NGC TERMS OF USE](https://ngc.nvidia.com/legal/terms) unless another License/Terms Of Use/EULA is clearly specified.\r\n\r\nSpecifically, all models from:\r\n\r\n- https://ngc.nvidia.com/catalog/models/nvidia:nemospeechmodels/files?version=1.0.0a5\r\n- https://ngc.nvidia.com/catalog/models/nvidia:nemonlpmodels/files?version=1.0.0a5\r\n- https://ngc.nvidia.com/catalog/models/nvidia:nemottsmodels/files?version=1.0.0a5\r\n\r\n(note ``?version=1.0.0a5`` part) are under [NGC TERMS OF USE](https://ngc.nvidia.com/legal/terms).\r\n\r\nI think going forward we should explicitly specify License/EULA for pre-trained models' weights. Will try doing that in the next releases.\r\n\r\nWe are also open to community's feedback on this question."
] | 2021-01-25T16:12:35 | 2021-01-29T20:15:15 | 2021-01-29T20:15:14 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi, do the pretrained models from https://ngc.nvidia.com/catalog/models/nvidia:nemospeechmodels have the same Apache2 licence as this repository? | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1661/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1661/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1660 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1660/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1660/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1660/events | https://github.com/NVIDIA/NeMo/issues/1660 | 793,232,789 | MDU6SXNzdWU3OTMyMzI3ODk= | 1,660 | RIR and noise augmentation for ASR Quartznet | {
"login": "lodm94",
"id": 70609842,
"node_id": "MDQ6VXNlcjcwNjA5ODQy",
"avatar_url": "https://avatars.githubusercontent.com/u/70609842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lodm94",
"html_url": "https://github.com/lodm94",
"followers_url": "https://api.github.com/users/lodm94/followers",
"following_url": "https://api.github.com/users/lodm94/following{/other_user}",
"gists_url": "https://api.github.com/users/lodm94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lodm94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodm94/subscriptions",
"organizations_url": "https://api.github.com/users/lodm94/orgs",
"repos_url": "https://api.github.com/users/lodm94/repos",
"events_url": "https://api.github.com/users/lodm94/events{/privacy}",
"received_events_url": "https://api.github.com/users/lodm94/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | {
"login": "jbalam-nv",
"id": 4916480,
"node_id": "MDQ6VXNlcjQ5MTY0ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4916480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jbalam-nv",
"html_url": "https://github.com/jbalam-nv",
"followers_url": "https://api.github.com/users/jbalam-nv/followers",
"following_url": "https://api.github.com/users/jbalam-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/jbalam-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jbalam-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbalam-nv/subscriptions",
"organizations_url": "https://api.github.com/users/jbalam-nv/orgs",
"repos_url": "https://api.github.com/users/jbalam-nv/repos",
"events_url": "https://api.github.com/users/jbalam-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/jbalam-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "jbalam-nv",
"id": 4916480,
"node_id": "MDQ6VXNlcjQ5MTY0ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4916480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jbalam-nv",
"html_url": "https://github.com/jbalam-nv",
"followers_url": "https://api.github.com/users/jbalam-nv/followers",
"following_url": "https://api.github.com/users/jbalam-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/jbalam-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jbalam-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbalam-nv/subscriptions",
"organizations_url": "https://api.github.com/users/jbalam-nv/orgs",
"repos_url": "https://api.github.com/users/jbalam-nv/repos",
"events_url": "https://api.github.com/users/jbalam-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/jbalam-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"@lodm94 You are right, there seems to be an issue with the default value of noise_tar_paths. Until we push a fix, as a workaround you could change your dict to the following:\r\n\r\naudio_augmentations = dict(\r\n rir_noise_aug = dict(\r\n prob=0.5,\r\n rir_manifest_path = 'rir_manifest.json',\r\n rir_prob = 0.5,\r\n noise_manifest_paths = ['noise_manifest.json'],\r\n min_snr_db = [0],\r\n max_snr_db = [30],\r\n bg_noise_manifest_paths = ['noise_manifest.json'],\r\n bg_min_snr_db = [10],\r\n bg_max_snr_db = [40],\r\n noise_tar_filepaths=[None], \r\n bg_noise_tar_filepaths=[None]\r\n )\r\n)\r\n",
"Hi @jbalam-nv thanks for the feedback. That was exactly how i managed to un the augmentation, i just forgot to reply here but it works.\r\nAnyway things went somehow bad. Take a look here:\r\n\r\n\r\n\r\nOrange line: model from pre-trained fine tuned with spec-augment only and 90h of data.\r\nBlue line: model from pre-trained fine tuned with spec-augment, rir_and_noise and 240h of data.\r\nIs there some tips you could give me to improve wer? Best result i got was 15.04% (ORAGE LINE)\r\nIf details are needed i will supply asap.\r\nThanks",
"@lodm94 I would suggest reducing augmentation probability (0.1 or 0.2) . What is the learning rate for your fine-tuning?",
"@jbalam-nv tomorrow i will run an experiment with reduced probs (either noise and rir). Here's my optim dict:\r\n\r\n```\r\noptim:\r\n name: novograd\r\n # _target_: nemo.core.optim.optimizers.Novograd\r\n lr: .001\r\n betas: [0.9, 0.25]\r\n weight_decay: 0.001\r\n\r\n sched:\r\n name: CosineAnnealing\r\n warmup_steps: null\r\n warmup_ratio: 0.12\r\n min_lr: 0.0\r\n last_epoch: -1\r\n```",
"Sorry i accidentally closed the issue. One more question about optim: should i try a different min_lr? Should training stop when i reaach the min_lr or maybe it could be worth to let the model train for some epochs at costant min_lr?",
"Hi @jbalam-nv i tried with reduced probs as you said. Training was going well but then\r\n\r\n\r\n\r\n\r\nduring validation check at the end of the epoch, i can see only the reference sentence. Decode is blank.\r\nDuring training, instead, i can see the decoded sentence and it is perfect, so perfect that i am afraid model is overfitting. Look that u-shape in val_loss. ",
"Hi All, Thanks for this thread @titu1994 and @jbalam-nv. I followed these instructions and could successfully train a musan noise augmented nemo ASR model. However, I have few queries:\r\n\r\n1. Where does the noise augmented files are stored? Or Are these noise augmented files are simply produced on the fly, as and when needed, and discarded once the job is done (without retaining them)?\r\n\r\n2. When I use augmentors during training, does it include original clean files also for training along-with noise augmented files? Or it only uses noise augmented files for training?\r\n\r\n3. For the kind of experiments & datasets that we used, we had expected lower WERs with noise augmentation compared to WERs obtained on clean datasets. However the obtained results are other way (noise augmented datasets have 1% higher WER than clean data). This made us to suspect the implementation part of nemo asr training. I have used exactly the same config of **audio_augmentations** mentioned by @jbalam-nv. There were no errors during training as well. Do you still feel there might be some implementation gaps (which has led to lower WER). Any suggestions on this would be very helpful.\r\n\r\n4. I have used musan free sound noise and RIR. Is it fine? or any suggestions on this?\r\n\r\nThanks\r\nManjunath",
"\r\nHi @titu1994 or @jbalam-nv , Could you please suggest me on my above query. Thanks",
"Do not reopen discussing on a months old thread. Create a new one. "
] | 2021-01-25T10:02:05 | 2022-11-09T09:16:05 | 2021-10-26T23:43:31 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi all,
I'm still having trouble implementing RIR in my ASR model after i solved [this](https://github.com/NVIDIA/NeMo/issues/1648) problem.
Let's assume i have alredy created manifest file for both noise and rir aug. Let's assume also that i want to implement augmentation with implicit definition, as suggested in [tutorial n.5](https://github.com/NVIDIA/NeMo/blob/main/tutorials/asr/05_Online_Noise_Augmentation.ipynb).
With this in mind, i created the nested dictionary:
```
audio_augmentations = dict(
rir_noise_aug = dict(
prob=0.5,
rir_manifest_path = 'rir_manifest.json',
rir_prob = 0.5,
noise_manifest_paths = 'noise_manifest.json',
min_snr_db = [0,0],
max_snr_db = [30,30],
bg_noise_manifest_paths = 'noise_manifest.json',
bg_min_snr_db = [10,10],
bg_max_snr_db = [40,40]
)
)
```
And supplied the 'augmentor' to the model.train_ds config:
`config.model.train_ds.augmentor = audio_augmentations`
But when i go for:
`asr_model.setup_training_data(train_data_config=config.model.train_ds)`
It returns an error:
```
TypeError Traceback (most recent call last)
<ipython-input-29-e364e6754a27> in <module>
----> 1 asr_model.setup_training_data(train_data_config=config.model.train_ds)
2 asr_model.setup_validation_data(val_data_config=config.model.validation_ds)
3 asr_model.set_trainer(trainer)
4 asr_model.setup_optimization(optim_config=config.model.optim)
/opt/conda/lib/python3.6/site-packages/nemo/collections/asr/models/ctc_models.py in setup_training_data(self, train_data_config)
326 self._update_dataset_config(dataset_name='train', config=train_data_config)
327
--> 328 self._train_dl = self._setup_dataloader_from_config(config=train_data_config)
329
330 # Need to set this because if using an IterableDataset, the length of the dataloader is the total number
/opt/conda/lib/python3.6/site-packages/nemo/collections/asr/models/ctc_models.py in _setup_dataloader_from_config(self, config)
224 def _setup_dataloader_from_config(self, config: Optional[Dict]):
225 if 'augmentor' in config:
--> 226 augmentor = process_augmentations(config['augmentor'])
227 else:
228 augmentor = None
/opt/conda/lib/python3.6/site-packages/nemo/collections/asr/parts/perturb.py in process_augmentations(augmenter)
753
754 try:
--> 755 augmentation = perturbation_types[augment_name](**augment_kwargs)
756 augmentations.append([prob, augmentation])
757 except KeyError:
/opt/conda/lib/python3.6/site-packages/nemo/collections/asr/parts/perturb.py in __init__(self, rir_manifest_path, rir_prob, noise_manifest_paths, min_snr_db, max_snr_db, rir_tar_filepaths, rir_shuffle_n, noise_tar_filepaths, apply_noise_rir, orig_sample_rate, max_additions, max_duration, bg_noise_manifest_paths, bg_min_snr_db, bg_max_snr_db, bg_noise_tar_filepaths, bg_orig_sample_rate)
508 min_snr_db=min_snr_db[i],
509 max_snr_db=max_snr_db[i],
--> 510 audio_tar_filepaths=noise_tar_filepaths[i],
511 orig_sr=orig_sr,
512 )
TypeError: 'NoneType' object is not subscriptable
```
Actually i can't figure it out where is the problem. I tried to search in perturb.py but i guess i'am too naive to find the solution. It seems the problem relies in noise_tar_filepath. But my rir and noise are not tarred!!
Thanks in advance | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1660/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1660/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1659 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1659/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1659/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1659/events | https://github.com/NVIDIA/NeMo/pull/1659 | 792,416,134 | MDExOlB1bGxSZXF1ZXN0NTYwMzAzMTMx | 1,659 | Fix configs in ASR tutorials | {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hmm wait, the function exists in main but the error exists in b3? If the error exists only in main, then for now comment out these patches with a note that it needs to be uncommented. Or use a try catch. \r\n\r\nAlso, tests are failing on a notebook only pr?",
"> Hmm wait, the function exists in main but the error exists in b3? If the error exists only in main, then for now comment out these patches with a note that it needs to be uncommented. Or use a try catch.\r\n> \r\n> Also, tests are failing on a notebook only pr?\r\n\r\n@titu1994 the error exists in b3 well the patch function exists in main. Is it safe to change branch in some notebooks to main now? If it's not, I can revert it back to b3 and fix it by manually accessing params or writing the patch function explicitly in notebooks. \r\n\r\nRight not sure why the tests fails for notebook changes ",
"We will be changing branch later, main is not suitable for the notebooks cause it's not stable and tested as much as the exact branches.\n\nFor now, It might be best to do manual fixes by back porting the config updater to the notebooks.",
"> We will be changing branch later, main is not suitable for the notebooks cause it's not stable and tested as much as the exact branches.\r\n> \r\n> For now, It might be best to do manual fixes by back porting the config updater to the notebooks.\r\n\r\nSounds great. will update it."
] | 2021-01-23T02:40:57 | 2021-01-29T02:18:23 | 2021-01-29T02:18:10 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1659",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1659",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1659.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1659.patch",
"merged_at": "2021-01-29T02:18:10"
} | Update and fix the **outside of the model constructor configs** in ASR tutorials. Converting outside Hydra 0.x configs to Hydra 1.x configs.
Tiny bug fix for notebook 03 speech command
Related bug: [1649](https://github.com/NVIDIA/NeMo/issues/1649) | {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1659/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1659/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1658 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1658/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1658/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1658/events | https://github.com/NVIDIA/NeMo/issues/1658 | 792,249,466 | MDU6SXNzdWU3OTIyNDk0NjY= | 1,658 | [Question]Can I integrate it with my college website to transcribe the lecture videos online? | {
"login": "souravverma94",
"id": 54256843,
"node_id": "MDQ6VXNlcjU0MjU2ODQz",
"avatar_url": "https://avatars.githubusercontent.com/u/54256843?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/souravverma94",
"html_url": "https://github.com/souravverma94",
"followers_url": "https://api.github.com/users/souravverma94/followers",
"following_url": "https://api.github.com/users/souravverma94/following{/other_user}",
"gists_url": "https://api.github.com/users/souravverma94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/souravverma94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/souravverma94/subscriptions",
"organizations_url": "https://api.github.com/users/souravverma94/orgs",
"repos_url": "https://api.github.com/users/souravverma94/repos",
"events_url": "https://api.github.com/users/souravverma94/events{/privacy}",
"received_events_url": "https://api.github.com/users/souravverma94/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
">>\"Can I integrate it with my college website\"\r\n- Yes.\r\n\r\n>> \"could you please guide me?\"\r\n- Have a look at this notebook for example. \r\nhttps://colab.research.google.com/github/NVIDIA/NeMo/blob/r1.0.0b3/tutorials/NeMo_voice_swap_app.ipynb"
] | 2021-01-22T19:25:35 | 2021-05-28T08:35:08 | 2021-05-28T08:35:08 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I am new to ASR (Automatic Speech Recognition), I am working on a college website where professors can upload their lectures. I want to integrate an automatic speech transcript generator so that users can turn on the captions while streaming. While searching for open source options, I came across Nemo. Could anyone please tell me whether it is possible to do that and if Yes, could you please guide me? | {
"login": "VahidooX",
"id": 23551647,
"node_id": "MDQ6VXNlcjIzNTUxNjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/23551647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VahidooX",
"html_url": "https://github.com/VahidooX",
"followers_url": "https://api.github.com/users/VahidooX/followers",
"following_url": "https://api.github.com/users/VahidooX/following{/other_user}",
"gists_url": "https://api.github.com/users/VahidooX/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VahidooX/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VahidooX/subscriptions",
"organizations_url": "https://api.github.com/users/VahidooX/orgs",
"repos_url": "https://api.github.com/users/VahidooX/repos",
"events_url": "https://api.github.com/users/VahidooX/events{/privacy}",
"received_events_url": "https://api.github.com/users/VahidooX/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1658/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1658/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1657 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1657/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1657/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1657/events | https://github.com/NVIDIA/NeMo/pull/1657 | 792,226,479 | MDExOlB1bGxSZXF1ZXN0NTYwMTQ1Mjc5 | 1,657 | fix log dir | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **fixes 1 alert** when merging bdac5e9dff261cc3eb92ec5ce82746e0dab2a369 into a42987279f0226aea7d776840ff06a56c4bfb259 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-7fa88b8e67e895c005a893c335113b38bc7711b1)\n\n**fixed alerts:**\n\n* 1 for Except block handles 'BaseException'"
] | 2021-01-22T18:44:36 | 2021-11-05T17:44:08 | 2021-01-28T17:33:19 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1657",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1657",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1657.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1657.patch",
"merged_at": null
} | Signed-off-by: Yang Zhang <[email protected]> | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1657/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1657/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1656 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1656/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1656/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1656/events | https://github.com/NVIDIA/NeMo/pull/1656 | 792,136,996 | MDExOlB1bGxSZXF1ZXN0NTYwMDcxNjMw | 1,656 | pre-trained models performance test added and masking fix | {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-22T16:24:25 | 2021-01-22T21:48:59 | 2021-01-22T21:22:56 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1656",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1656",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1656.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1656.patch",
"merged_at": "2021-01-22T21:22:56"
} | {
"login": "tkornuta-nvidia",
"id": 56979727,
"node_id": "MDQ6VXNlcjU2OTc5NzI3",
"avatar_url": "https://avatars.githubusercontent.com/u/56979727?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tkornuta-nvidia",
"html_url": "https://github.com/tkornuta-nvidia",
"followers_url": "https://api.github.com/users/tkornuta-nvidia/followers",
"following_url": "https://api.github.com/users/tkornuta-nvidia/following{/other_user}",
"gists_url": "https://api.github.com/users/tkornuta-nvidia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tkornuta-nvidia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tkornuta-nvidia/subscriptions",
"organizations_url": "https://api.github.com/users/tkornuta-nvidia/orgs",
"repos_url": "https://api.github.com/users/tkornuta-nvidia/repos",
"events_url": "https://api.github.com/users/tkornuta-nvidia/events{/privacy}",
"received_events_url": "https://api.github.com/users/tkornuta-nvidia/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1656/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1656/timeline | null | null | true |
|
https://api.github.com/repos/NVIDIA/NeMo/issues/1655 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1655/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1655/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1655/events | https://github.com/NVIDIA/NeMo/pull/1655 | 791,714,307 | MDExOlB1bGxSZXF1ZXN0NTU5NzI1OTE4 | 1,655 | Fix for log_dir access in trainer | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 1 alert** when merging be2e4ab037277ddc4832ac2dc36155fc3ddccc63 into db60a786c71767478a49dfcad772718f9d4878d2 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-97c11b343a84e9d6d8a330403161e07698220e3c)\n\n**new alerts:**\n\n* 1 for Except block handles 'BaseException'"
] | 2021-01-22T05:38:10 | 2021-01-22T15:26:06 | 2021-01-22T05:56:50 | MEMBER | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1655",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1655",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1655.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1655.patch",
"merged_at": "2021-01-22T05:56:50"
} | Signed-off-by: Oleksii Kuchaiev <[email protected]> | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1655/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1655/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1654 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1654/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1654/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1654/events | https://github.com/NVIDIA/NeMo/issues/1654 | 791,384,594 | MDU6SXNzdWU3OTEzODQ1OTQ= | 1,654 | Caching datasets for ASR training | {
"login": "diego-fustes",
"id": 5707233,
"node_id": "MDQ6VXNlcjU3MDcyMzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5707233?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/diego-fustes",
"html_url": "https://github.com/diego-fustes",
"followers_url": "https://api.github.com/users/diego-fustes/followers",
"following_url": "https://api.github.com/users/diego-fustes/following{/other_user}",
"gists_url": "https://api.github.com/users/diego-fustes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/diego-fustes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/diego-fustes/subscriptions",
"organizations_url": "https://api.github.com/users/diego-fustes/orgs",
"repos_url": "https://api.github.com/users/diego-fustes/repos",
"events_url": "https://api.github.com/users/diego-fustes/events{/privacy}",
"received_events_url": "https://api.github.com/users/diego-fustes/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"currently we don't support such feature. Also, it would put high requirements on available RAM"
] | 2021-01-21T18:13:34 | 2021-05-28T08:35:55 | 2021-05-28T08:35:55 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Caching datasets for ASR training**
The current data loaders for ASR seem to load the file from disk for every iteration with AudioSegment. This becomes a bottleneck when the disk is not very fast (i.e. is not a SSD). Is there a way to cache the audio files in RAM memory? Should we add the option to cache the datasets? We think that it may accelerate training when it fits.
Kind regards
| {
"login": "VahidooX",
"id": 23551647,
"node_id": "MDQ6VXNlcjIzNTUxNjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/23551647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VahidooX",
"html_url": "https://github.com/VahidooX",
"followers_url": "https://api.github.com/users/VahidooX/followers",
"following_url": "https://api.github.com/users/VahidooX/following{/other_user}",
"gists_url": "https://api.github.com/users/VahidooX/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VahidooX/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VahidooX/subscriptions",
"organizations_url": "https://api.github.com/users/VahidooX/orgs",
"repos_url": "https://api.github.com/users/VahidooX/repos",
"events_url": "https://api.github.com/users/VahidooX/events{/privacy}",
"received_events_url": "https://api.github.com/users/VahidooX/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1654/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1654/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1653 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1653/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1653/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1653/events | https://github.com/NVIDIA/NeMo/issues/1653 | 790,654,513 | MDU6SXNzdWU3OTA2NTQ1MTM= | 1,653 | [Question]Google Colab Error: MisconfigurationException: You requested GPUs: [1] But your machine only has: [0] | {
"login": "michael-so",
"id": 77725154,
"node_id": "MDQ6VXNlcjc3NzI1MTU0",
"avatar_url": "https://avatars.githubusercontent.com/u/77725154?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/michael-so",
"html_url": "https://github.com/michael-so",
"followers_url": "https://api.github.com/users/michael-so/followers",
"following_url": "https://api.github.com/users/michael-so/following{/other_user}",
"gists_url": "https://api.github.com/users/michael-so/gists{/gist_id}",
"starred_url": "https://api.github.com/users/michael-so/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/michael-so/subscriptions",
"organizations_url": "https://api.github.com/users/michael-so/orgs",
"repos_url": "https://api.github.com/users/michael-so/repos",
"events_url": "https://api.github.com/users/michael-so/events{/privacy}",
"received_events_url": "https://api.github.com/users/michael-so/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Could you try by replacing gpus=[1] with gpus=1? This seems to be trying to index GPU [1] which would be the second gpu, but colab has just 1 gpu",
"Hi Good Sir,\n\nYes, it seems that this is the case. It runs smoothly now once I have\nchanged to \"gpus=1\".\n\nAlthough would just like to inform you that looks like the an4 server the\nnotebook is fetching data from is currently down. I have to use my own data\nto validify your suggested solution.\n\nEither way, thank you for your kind help.\n\nRegards\n\nOn Thu, 21 Jan 2021 at 12:00, Somshubra Majumdar <[email protected]>\nwrote:\n\n> Could you try by replacing gpus=[1] with gpus=1? This seems to be trying\n> to index GPU [1] which would be the second gpu, but colab has just 1 gpu\n>\n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/NVIDIA/NeMo/issues/1653#issuecomment-764221827>, or\n> unsubscribe\n> <https://github.com/notifications/unsubscribe-auth/ASQ73YTFZPOJPPHYQF6RTYDS26REPANCNFSM4WMBQN4A>\n> .\n>\n"
] | 2021-01-21T03:29:24 | 2021-01-21T16:46:10 | 2021-01-21T16:46:10 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi, I am a beginner in ASR technology and I am currently studying more about this field using your tutorial from this link:
https://colab.research.google.com/github/NVIDIA/NeMo/blob/main/tutorials/asr/01_ASR_with_NeMo.ipynb
I was running the codes in your notebook, everything was fine until it reaches the "**Transfer Learning**" section, on the part where it asks to fine-tune the model for 2 epochs on AN4 dataset, I have stumbled on an error from this part of the code(bolded):
_#And now we can create a PyTorch Lightning trainer and call `fit` again.
**trainer = pl.Trainer(gpus=[1], max_epochs=2)
trainer.fit(quartznet)**_
The error was:
MisconfigurationException:
You requested GPUs: [1]
But your machine only has: [0]
I am running the notebook on Colab and not locally, and there were no changes made on any part of the code. It was just me running cells to study. The runtime type has already been changed to GPU and it was a success on the "**Training with PyTorch Lightning**" section but not for **Transfer Learning**.
I would like to know what may be the reason for this error?
For your information, I am using Chrome to run the notebook
If there is any inquires regarding my side, kindly do comment and reply, I will do my best to provide them.
Thank you in advance.
| {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1653/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1653/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1652 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1652/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1652/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1652/events | https://github.com/NVIDIA/NeMo/pull/1652 | 790,613,911 | MDExOlB1bGxSZXF1ZXN0NTU4Nzk2NDgx | 1,652 | Fix hydra runner | {
"login": "tkornuta-nvidia",
"id": 56979727,
"node_id": "MDQ6VXNlcjU2OTc5NzI3",
"avatar_url": "https://avatars.githubusercontent.com/u/56979727?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tkornuta-nvidia",
"html_url": "https://github.com/tkornuta-nvidia",
"followers_url": "https://api.github.com/users/tkornuta-nvidia/followers",
"following_url": "https://api.github.com/users/tkornuta-nvidia/following{/other_user}",
"gists_url": "https://api.github.com/users/tkornuta-nvidia/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tkornuta-nvidia/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tkornuta-nvidia/subscriptions",
"organizations_url": "https://api.github.com/users/tkornuta-nvidia/orgs",
"repos_url": "https://api.github.com/users/tkornuta-nvidia/repos",
"events_url": "https://api.github.com/users/tkornuta-nvidia/events{/privacy}",
"received_events_url": "https://api.github.com/users/tkornuta-nvidia/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 2 alerts** when merging 1548c44f5dc90b95d7fc3d8fd1f1e83347753c74 into eb927fe6aa69f8d73705dcb785a2afb95e4c279d - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-2b1f14de5396282d23465f680fcf532753f62246)\n\n**new alerts:**\n\n* 1 for Non\\-callable called\n* 1 for Unused import"
] | 2021-01-21T01:59:59 | 2021-01-22T15:26:50 | 2021-01-22T15:26:46 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1652",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1652",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1652.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1652.patch",
"merged_at": "2021-01-22T15:26:46"
} | This PR fixes hydra runner, enabling to use schemas with manual passing of configs files using command line.
- [x] Modified hydra_runner so it injects schema into the right "place" in ConfigStore.
- [x] Covers runner with integration tests
Usage: please take a look at tests and the used "example" (`tests/hydra/my_app.py`)
Additionally cleans up some hydra settings in NeMo:
- [x] Sets hydra logging outputs only to stdout (no empty log file in . dir!!)
- [x] Disables the creation of .hydra subdir
- [x] Removes the old set_config wrapper
| {
"login": "blisc",
"id": 4763352,
"node_id": "MDQ6VXNlcjQ3NjMzNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4763352?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blisc",
"html_url": "https://github.com/blisc",
"followers_url": "https://api.github.com/users/blisc/followers",
"following_url": "https://api.github.com/users/blisc/following{/other_user}",
"gists_url": "https://api.github.com/users/blisc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blisc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blisc/subscriptions",
"organizations_url": "https://api.github.com/users/blisc/orgs",
"repos_url": "https://api.github.com/users/blisc/repos",
"events_url": "https://api.github.com/users/blisc/events{/privacy}",
"received_events_url": "https://api.github.com/users/blisc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1652/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1652/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1651 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1651/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1651/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1651/events | https://github.com/NVIDIA/NeMo/pull/1651 | 790,468,347 | MDExOlB1bGxSZXF1ZXN0NTU4NjU5OTU1 | 1,651 | Patch SPE support for ASR | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-20T23:57:58 | 2021-01-21T19:25:58 | 2021-01-21T19:25:55 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1651",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1651",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1651.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1651.patch",
"merged_at": "2021-01-21T19:25:55"
} | # Changelog
- Create SPE vocabulary as a key=subword to value=id mapping to be consistent with WPE
- Use keys() as the actual vocabulary to inject into the decoder
Signed-off-by: smajumdar <[email protected]> | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1651/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1651/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1650 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1650/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1650/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1650/events | https://github.com/NVIDIA/NeMo/pull/1650 | 789,413,763 | MDExOlB1bGxSZXF1ZXN0NTU3NzYwNzY1 | 1,650 | Clarify comments and neural types in Model Primer Notebook | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-19T22:07:11 | 2021-01-20T04:28:37 | 2021-01-20T04:28:32 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1650",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1650",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1650.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1650.patch",
"merged_at": "2021-01-20T04:28:32"
} | # Changelog
- Address Neural Type comments from https://github.com/NVIDIA/NeMo/issues/1634 regarding LSTM
- Address clarification of "GPT Encoder neural module" vs "Transformer Decoder network" issue raised in https://github.com/NVIDIA/NeMo/issues/1638
Closes https://github.com/NVIDIA/NeMo/issues/1634 and https://github.com/NVIDIA/NeMo/issues/1638
Signed-off-by: smajumdar <[email protected]> | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1650/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1650/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1649 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1649/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1649/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1649/events | https://github.com/NVIDIA/NeMo/issues/1649 | 789,243,987 | MDU6SXNzdWU3ODkyNDM5ODc= | 1,649 | Key 'window_stride' is not in struct | {
"login": "shfaizan",
"id": 39994105,
"node_id": "MDQ6VXNlcjM5OTk0MTA1",
"avatar_url": "https://avatars.githubusercontent.com/u/39994105?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/shfaizan",
"html_url": "https://github.com/shfaizan",
"followers_url": "https://api.github.com/users/shfaizan/followers",
"following_url": "https://api.github.com/users/shfaizan/following{/other_user}",
"gists_url": "https://api.github.com/users/shfaizan/gists{/gist_id}",
"starred_url": "https://api.github.com/users/shfaizan/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/shfaizan/subscriptions",
"organizations_url": "https://api.github.com/users/shfaizan/orgs",
"repos_url": "https://api.github.com/users/shfaizan/repos",
"events_url": "https://api.github.com/users/shfaizan/events{/privacy}",
"received_events_url": "https://api.github.com/users/shfaizan/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"Thanks for reporting this. We will fix it asap and let you know.",
"@shfaizan [Fixed](https://github.com/NVIDIA/NeMo/pull/1659)! Please pull and update. Thanks!"
] | 2021-01-19T18:09:28 | 2021-01-29T02:19:58 | 2021-01-29T02:19:58 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I am trying to run the[ VAD notebook](https://github.com/NVIDIA/NeMo/blob/9aa4ada92b2e6ddd418704dc392e8576d44e5f41/tutorials/asr/07_Online_Offline_Microphone_VAD_Demo.ipynb).
I followed every step but got this error:

| {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1649/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1649/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1648 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1648/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1648/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1648/events | https://github.com/NVIDIA/NeMo/issues/1648 | 788,946,092 | MDU6SXNzdWU3ODg5NDYwOTI= | 1,648 | Quartznet RIR augmentation - tutorial 05 | {
"login": "lodm94",
"id": 70609842,
"node_id": "MDQ6VXNlcjcwNjA5ODQy",
"avatar_url": "https://avatars.githubusercontent.com/u/70609842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lodm94",
"html_url": "https://github.com/lodm94",
"followers_url": "https://api.github.com/users/lodm94/followers",
"following_url": "https://api.github.com/users/lodm94/following{/other_user}",
"gists_url": "https://api.github.com/users/lodm94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lodm94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodm94/subscriptions",
"organizations_url": "https://api.github.com/users/lodm94/orgs",
"repos_url": "https://api.github.com/users/lodm94/repos",
"events_url": "https://api.github.com/users/lodm94/events{/privacy}",
"received_events_url": "https://api.github.com/users/lodm94/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | {
"login": "jbalam-nv",
"id": 4916480,
"node_id": "MDQ6VXNlcjQ5MTY0ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4916480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jbalam-nv",
"html_url": "https://github.com/jbalam-nv",
"followers_url": "https://api.github.com/users/jbalam-nv/followers",
"following_url": "https://api.github.com/users/jbalam-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/jbalam-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jbalam-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbalam-nv/subscriptions",
"organizations_url": "https://api.github.com/users/jbalam-nv/orgs",
"repos_url": "https://api.github.com/users/jbalam-nv/repos",
"events_url": "https://api.github.com/users/jbalam-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/jbalam-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "jbalam-nv",
"id": 4916480,
"node_id": "MDQ6VXNlcjQ5MTY0ODA=",
"avatar_url": "https://avatars.githubusercontent.com/u/4916480?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/jbalam-nv",
"html_url": "https://github.com/jbalam-nv",
"followers_url": "https://api.github.com/users/jbalam-nv/followers",
"following_url": "https://api.github.com/users/jbalam-nv/following{/other_user}",
"gists_url": "https://api.github.com/users/jbalam-nv/gists{/gist_id}",
"starred_url": "https://api.github.com/users/jbalam-nv/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/jbalam-nv/subscriptions",
"organizations_url": "https://api.github.com/users/jbalam-nv/orgs",
"repos_url": "https://api.github.com/users/jbalam-nv/repos",
"events_url": "https://api.github.com/users/jbalam-nv/events{/privacy}",
"received_events_url": "https://api.github.com/users/jbalam-nv/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"@lodm94 The issue here is that the script get_openslr_rir.py only works with absolute paths. \r\nPlease change the first line in the cell to:\r\n`rir_data_path = os.getcwd()`\r\nI will fix this in the main branch too. Thanks for letting us know of this issue.",
"Holy moly it finally works! Cheers man! Thank you\r\nWhen fixing the main branch, consider that\r\n`!python ../../scripts/get_openslr_rir.py --data_root {rir_data_path}`\r\nreturns error. I had to wget the script and change this path.\r\n\r\n"
] | 2021-01-19T11:32:42 | 2021-01-20T09:39:20 | 2021-01-20T09:39:20 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hello,
im tryin to implement RIR aug, just like suggested in the [tutorial](https://github.com/NVIDIA/NeMo/blob/main/tutorials/asr/05_Online_Noise_Augmentation.ipynb
)
But when i run the cell:
```
rir_data_path = '.'
!python ../../scripts/get_openslr_rir.py --data_root {rir_data_path}
rir_manifest_path = os.path.join(rir_data_path, 'processed', 'rir.json')
!head -n 3 {rir_manifest_path}
```
It returns:
```
python3: can't open file '../../scripts/get_openslr_rir.py': [Errno 2] No such file or directory
head: cannot open './processed/rir.json' for reading: No such file or directory
```
So, i downloaded get_openslr_rir.py script manually from [here](https://raw.githubusercontent.com/NVIDIA/NeMo/main/scripts/get_openslr_rir.py)
And the cell to run became:
```
rir_data_path = '.'
!python get_openslr_rir.py --data_root {rir_data_path}
rir_manifest_path = os.path.join(rir_data_path, 'processed', 'rir.json')
!head -n 3 {rir_manifest_path}
```
But still get an error after downloading and extracting the file:
```
INFO:root:
Working on: slr28
INFO:root:Getting slr28
INFO:root:./slr28.zip does not exist. Downloading ...
INFO:root:Downloaded ./slr28.zip.
INFO:root:Extracting slr28
INFO:root:Processing slr28
Traceback (most recent call last):
File "get_openslr_rir.py", line 139, in <module>
main()
File "get_openslr_rir.py", line 133, in main
os.path.join(os.path.join(data_root, "processed", "rir.json")),
File "get_openslr_rir.py", line 105, in __process_data
with open(manifest_file, 'w') as man_f:
FileNotFoundError: [Errno 2] No such file or directory: './processed/rir.json'
head: cannot open './processed/rir.json' for reading: No such file or directory
```
Is this a known issue? Or i'm just bad af and i don't know what to do? I can't even look at how rir manifest are structured. And this is realy important for me to add RiRAug in my ASR pipeline.
Appreciate some help
Thanks in advance
| {
"login": "lodm94",
"id": 70609842,
"node_id": "MDQ6VXNlcjcwNjA5ODQy",
"avatar_url": "https://avatars.githubusercontent.com/u/70609842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lodm94",
"html_url": "https://github.com/lodm94",
"followers_url": "https://api.github.com/users/lodm94/followers",
"following_url": "https://api.github.com/users/lodm94/following{/other_user}",
"gists_url": "https://api.github.com/users/lodm94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lodm94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodm94/subscriptions",
"organizations_url": "https://api.github.com/users/lodm94/orgs",
"repos_url": "https://api.github.com/users/lodm94/repos",
"events_url": "https://api.github.com/users/lodm94/events{/privacy}",
"received_events_url": "https://api.github.com/users/lodm94/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1648/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1648/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1645 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1645/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1645/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1645/events | https://github.com/NVIDIA/NeMo/issues/1645 | 788,436,146 | MDU6SXNzdWU3ODg0MzYxNDY= | 1,645 | How to view raw and augmented spectrograms?[Question] | {
"login": "rbracco",
"id": 47190785,
"node_id": "MDQ6VXNlcjQ3MTkwNzg1",
"avatar_url": "https://avatars.githubusercontent.com/u/47190785?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rbracco",
"html_url": "https://github.com/rbracco",
"followers_url": "https://api.github.com/users/rbracco/followers",
"following_url": "https://api.github.com/users/rbracco/following{/other_user}",
"gists_url": "https://api.github.com/users/rbracco/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rbracco/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rbracco/subscriptions",
"organizations_url": "https://api.github.com/users/rbracco/orgs",
"repos_url": "https://api.github.com/users/rbracco/repos",
"events_url": "https://api.github.com/users/rbracco/events{/privacy}",
"received_events_url": "https://api.github.com/users/rbracco/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"The type error mentions that \"input_signal_length\" has no corresponding input types - and the two valid input names are input_signal and length. \r\n\r\nSo if you replace the call function argument of empty_model.preprocessor() from input_signal_length to just length, it should work ",
"Thank you, I was able to get this working thanks to your help and will share code in case anyone else needs to replicate. That being said I'm still hoping there is a better way to do this. I also had to change normalization in config from `per_feature` to `all_features` to avoid a NaN issue. \r\n\r\nAny insight into why there are two channels returned by the preprocessor and one of them is empty? Is it because I pass the length as a 2D tensor (shape: [1, num_samples]) instead of a 1D tensor? Thank you.\r\n\r\n```\r\nfrom IPython.display import display\r\nimport matplotlib.pyplot as plt\r\nimport librosa.display\r\nplt.rcParams[\"figure.figsize\"]=(12,9)\r\ndef display_specs(model, audio_file):\r\n display(Audio(audio_file))\r\n model.to('cpu')\r\n y0,sr = torchaudio.load(audio_file)\r\n y0r = torchaudio.transforms.Resample(sr,16000)(y0)\r\n y0_len = torch.tensor(y0r.shape)\r\n fig, ax = plt.subplots(nrows=3, ncols=1, sharex=True)\r\n spec_result = model.preprocessor(input_signal=y0r, length=torch.tensor(y0_len))\r\n ax[0].set(title=\"First channel of spec\")\r\n librosa.display.specshow(spec_result[0][0].numpy(), ax=ax[0])\r\n ax[1].set(title=\"Second channel of spec\")\r\n librosa.display.specshow(spec_result[0][1].numpy(), ax=ax[1])\r\n aug_result = model.spec_augmentation(input_spec=spec_result[0][1].unsqueeze(0))\r\n ax[2].set(title=\"Augmented second channel of spec\")\r\n librosa.display.specshow(aug_result[0].numpy(), ax=ax[2])\r\n```\r\n\r\nUse by calling \r\n`display_specs(<your_model_instance>, <path_to_audiofile>)`",
"> I also had to change normalization in config from per_feature to all_features to avoid a NaN issue.\r\n\r\nThis should not be needed\r\n\r\n> Any insight into why there are two channels returned by the preprocessor and one of them is empty? Is it because I pass the length as a 2D tensor (shape: [1, num_samples]) instead of a 1D tensor? \r\n\r\nLength is supposed to be a 1D tensor with each element representing the duration per sample. So len(length) == batch size; length[0] = len(sample_0).\r\n\r\nYou can take a look at `FilterbankFeatures` to make out whats happening inside the preprocessor module. \r\n"
] | 2021-01-18T17:21:26 | 2021-01-29T20:17:15 | 2021-01-29T20:17:15 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe your question**
I would like to be able to display the spectrograms that are being generated by Quartznet and SpecAugment but I'm having trouble being able to do so.
Things I tried:
- If I apply the preprocessor directly to a tensor (loaded with torchaudio) I get a TypeError because the input type doesn't match (included below).
- There's no way to hook in and log the spectrogram (that I'm aware of) because it is only available from the middle of the forward method.
- I could copy the entire `EncDecCTCModel` and paste in code but I was hoping there was a better way to be able to view spectrograms as they are very important.
- I checked the ASR_with_nemo tutorial but the only spectrograms displayed are manually generated using librosa.
```
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-198-408d2f6bb357> in <module>()
----> 1 empty_model.preprocessor(input_signal=y_resampled, input_signal_length=y_resampled.size(-1))
2 frames
/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
725 result = self._slow_forward(*input, **kwargs)
726 else:
--> 727 result = self.forward(*input, **kwargs)
728 for hook in itertools.chain(
729 _global_forward_hooks.values(),
/usr/local/lib/python3.6/dist-packages/nemo/core/classes/common.py in __call__(self, wrapped, instance, args, kwargs)
506
507 # Perform rudimentary input checks here
--> 508 instance._validate_input_types(input_types=input_types, **kwargs)
509
510 # Call the method - this can be forward, or any other callable method
/usr/local/lib/python3.6/dist-packages/nemo/core/classes/common.py in _validate_input_types(self, input_types, **kwargs)
96 if key not in input_types:
97 raise TypeError(
---> 98 f"Input argument {key} has no corresponding input_type match. "
99 f"Existing input_types = {input_types.keys()}"
100 )
TypeError: Input argument input_signal_length has no corresponding input_type match. Existing input_types = dict_keys(['input_signal', 'length'])
```
**Environment overview (please complete the following information)**
- Colab w Nemo 1.0.0b2
| {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1645/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1645/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1644 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1644/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1644/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1644/events | https://github.com/NVIDIA/NeMo/pull/1644 | 788,178,519 | MDExOlB1bGxSZXF1ZXN0NTU2NzMzMTIx | 1,644 | Asr pipe read | {
"login": "qmpzzpmq",
"id": 21037898,
"node_id": "MDQ6VXNlcjIxMDM3ODk4",
"avatar_url": "https://avatars.githubusercontent.com/u/21037898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qmpzzpmq",
"html_url": "https://github.com/qmpzzpmq",
"followers_url": "https://api.github.com/users/qmpzzpmq/followers",
"following_url": "https://api.github.com/users/qmpzzpmq/following{/other_user}",
"gists_url": "https://api.github.com/users/qmpzzpmq/gists{/gist_id}",
"starred_url": "https://api.github.com/users/qmpzzpmq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qmpzzpmq/subscriptions",
"organizations_url": "https://api.github.com/users/qmpzzpmq/orgs",
"repos_url": "https://api.github.com/users/qmpzzpmq/repos",
"events_url": "https://api.github.com/users/qmpzzpmq/events{/privacy}",
"received_events_url": "https://api.github.com/users/qmpzzpmq/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hi! Thanks for the PR. Could you sign your commit using the instructions here - https://github.com/NVIDIA/NeMo/pull/1644/checks?check_run_id=1721045606",
"@titu1994 I cannot read the details of check, please check it. Thanks"
] | 2021-01-18T11:15:36 | 2021-02-04T01:21:50 | 2021-02-03T21:25:51 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1644",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1644",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1644.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1644.patch",
"merged_at": "2021-02-03T21:25:51"
} | support kaldi pipe read | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1644/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1644/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1643 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1643/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1643/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1643/events | https://github.com/NVIDIA/NeMo/issues/1643 | 788,135,269 | MDU6SXNzdWU3ODgxMzUyNjk= | 1,643 | Key 'params' is not in struct | {
"login": "Faizan-Pirhoalpha",
"id": 76702393,
"node_id": "MDQ6VXNlcjc2NzAyMzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/76702393?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Faizan-Pirhoalpha",
"html_url": "https://github.com/Faizan-Pirhoalpha",
"followers_url": "https://api.github.com/users/Faizan-Pirhoalpha/followers",
"following_url": "https://api.github.com/users/Faizan-Pirhoalpha/following{/other_user}",
"gists_url": "https://api.github.com/users/Faizan-Pirhoalpha/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Faizan-Pirhoalpha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Faizan-Pirhoalpha/subscriptions",
"organizations_url": "https://api.github.com/users/Faizan-Pirhoalpha/orgs",
"repos_url": "https://api.github.com/users/Faizan-Pirhoalpha/repos",
"events_url": "https://api.github.com/users/Faizan-Pirhoalpha/events{/privacy}",
"received_events_url": "https://api.github.com/users/Faizan-Pirhoalpha/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"You don't need the decoder.params.vocabulary anymore. Directly use decoder.vocabulary",
"Yes this solves the issue thanks"
] | 2021-01-18T10:21:39 | 2021-01-19T17:38:23 | 2021-01-19T17:38:23 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I try to run the [offline colab notebook](https://colab.research.google.com/github/NVIDIA/NeMo/blob/r1.0.0b3/tutorials/asr/Offline_ASR.ipynb#scrollTo=8qgXHl78WneK).
Without changing anything I run cells and get error while running this line `labels = list(asr_model.cfg.decoder.params.vocabulary) + ['blank']:`
Error:

| {
"login": "Faizan-Pirhoalpha",
"id": 76702393,
"node_id": "MDQ6VXNlcjc2NzAyMzkz",
"avatar_url": "https://avatars.githubusercontent.com/u/76702393?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Faizan-Pirhoalpha",
"html_url": "https://github.com/Faizan-Pirhoalpha",
"followers_url": "https://api.github.com/users/Faizan-Pirhoalpha/followers",
"following_url": "https://api.github.com/users/Faizan-Pirhoalpha/following{/other_user}",
"gists_url": "https://api.github.com/users/Faizan-Pirhoalpha/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Faizan-Pirhoalpha/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Faizan-Pirhoalpha/subscriptions",
"organizations_url": "https://api.github.com/users/Faizan-Pirhoalpha/orgs",
"repos_url": "https://api.github.com/users/Faizan-Pirhoalpha/repos",
"events_url": "https://api.github.com/users/Faizan-Pirhoalpha/events{/privacy}",
"received_events_url": "https://api.github.com/users/Faizan-Pirhoalpha/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1643/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1643/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1642 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1642/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1642/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1642/events | https://github.com/NVIDIA/NeMo/pull/1642 | 788,057,733 | MDExOlB1bGxSZXF1ZXN0NTU2NjMxNzc2 | 1,642 | asr data read support kaldi pipeline | {
"login": "qmpzzpmq",
"id": 21037898,
"node_id": "MDQ6VXNlcjIxMDM3ODk4",
"avatar_url": "https://avatars.githubusercontent.com/u/21037898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qmpzzpmq",
"html_url": "https://github.com/qmpzzpmq",
"followers_url": "https://api.github.com/users/qmpzzpmq/followers",
"following_url": "https://api.github.com/users/qmpzzpmq/following{/other_user}",
"gists_url": "https://api.github.com/users/qmpzzpmq/gists{/gist_id}",
"starred_url": "https://api.github.com/users/qmpzzpmq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qmpzzpmq/subscriptions",
"organizations_url": "https://api.github.com/users/qmpzzpmq/orgs",
"repos_url": "https://api.github.com/users/qmpzzpmq/repos",
"events_url": "https://api.github.com/users/qmpzzpmq/events{/privacy}",
"received_events_url": "https://api.github.com/users/qmpzzpmq/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-18T08:41:29 | 2021-01-18T08:42:06 | 2021-01-18T08:42:06 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1642",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1642",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1642.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1642.patch",
"merged_at": null
} | {
"login": "qmpzzpmq",
"id": 21037898,
"node_id": "MDQ6VXNlcjIxMDM3ODk4",
"avatar_url": "https://avatars.githubusercontent.com/u/21037898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qmpzzpmq",
"html_url": "https://github.com/qmpzzpmq",
"followers_url": "https://api.github.com/users/qmpzzpmq/followers",
"following_url": "https://api.github.com/users/qmpzzpmq/following{/other_user}",
"gists_url": "https://api.github.com/users/qmpzzpmq/gists{/gist_id}",
"starred_url": "https://api.github.com/users/qmpzzpmq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qmpzzpmq/subscriptions",
"organizations_url": "https://api.github.com/users/qmpzzpmq/orgs",
"repos_url": "https://api.github.com/users/qmpzzpmq/repos",
"events_url": "https://api.github.com/users/qmpzzpmq/events{/privacy}",
"received_events_url": "https://api.github.com/users/qmpzzpmq/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1642/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1642/timeline | null | null | true |
|
https://api.github.com/repos/NVIDIA/NeMo/issues/1641 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1641/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1641/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1641/events | https://github.com/NVIDIA/NeMo/issues/1641 | 787,937,241 | MDU6SXNzdWU3ODc5MzcyNDE= | 1,641 | Error while processing Punctuation module | {
"login": "onzone",
"id": 7061779,
"node_id": "MDQ6VXNlcjcwNjE3Nzk=",
"avatar_url": "https://avatars.githubusercontent.com/u/7061779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/onzone",
"html_url": "https://github.com/onzone",
"followers_url": "https://api.github.com/users/onzone/followers",
"following_url": "https://api.github.com/users/onzone/following{/other_user}",
"gists_url": "https://api.github.com/users/onzone/gists{/gist_id}",
"starred_url": "https://api.github.com/users/onzone/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/onzone/subscriptions",
"organizations_url": "https://api.github.com/users/onzone/orgs",
"repos_url": "https://api.github.com/users/onzone/repos",
"events_url": "https://api.github.com/users/onzone/events{/privacy}",
"received_events_url": "https://api.github.com/users/onzone/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"I am also encountering this problem. Tried setting num_workers=0 in _setup_infer_dataloader method of nemo/collections/nlp/models/token_classification/punctuation_capitalization_model.py, but it did not solve problem.",
"We don’t support Windows at this point, please try running in Colab `https://colab.research.google.com/github/NVIDIA/NeMo/blob/r1.0.0rc1/tutorials/NeMo_voice_swap_app.ipynb`",
"@ekmb I don't know if you're still interested, but I actually ended up fixing this problem by changing `DEFAULT_PROTOCOL` in torch/serialization.py to 4 followed by changing all `num_workers` to 0 in punctuation_capitalization_model.py"
] | 2021-01-18T05:42:30 | 2021-03-02T21:34:22 | 2021-02-26T18:38:52 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Environment overview (please complete the following information)**
Installed Nemo using pip
**Environment details**
- OS version Windows 10
- PyTorch version 1.7.0+cu101
- Python version 3.6
This is the error I am getting while running the voice_swap demo in my machine.
> NotImplementedError Traceback (most recent call last)
>
> <ipython-input-4-51c966b428c7> in <module>
> 7
> 8 # Add capitalization and punctuation
> ----> 9 res = punctuation.add_punctuation_capitalization(queries=[raw_text])
> 10 text = res[0]
> 11 print(f'\nRaw recognized text: {raw_text}. \nText with capitalization and punctuation: {text}')
>
> E:\FaceFirst_Projects\NeMo-main\nemo\collections\nlp\models\token_classification\punctuation_capitalization_model.py in add_punctuation_capitalization(self, queries, batch_size)
> 390 all_capit_preds = []
> 391
> --> 392 for batch in infer_datalayer:
> 393 input_ids, input_type_ids, input_mask, subtokens_mask = batch
> 394
>
> c:\python36\lib\site-packages\torch\utils\data\dataloader.py in __iter__(self)
> 350 return self._iterator
> 351 else:
> --> 352 return self._get_iterator()
> 353
> 354 @property
>
> c:\python36\lib\site-packages\torch\utils\data\dataloader.py in _get_iterator(self)
> 292 return _SingleProcessDataLoaderIter(self)
> 293 else:
> --> 294 return _MultiProcessingDataLoaderIter(self)
> 295
> 296 @property
>
> c:\python36\lib\site-packages\torch\utils\data\dataloader.py in __init__(self, loader)
> 799 # before it starts, and __del__ tries to join but will get:
> 800 # AssertionError: can only join a started process.
> --> 801 w.start()
> 802 self._index_queues.append(index_queue)
> 803 self._workers.append(w)
>
> c:\python36\lib\multiprocessing\process.py in start(self)
> 103 'daemonic processes are not allowed to have children'
> 104 _cleanup()
> --> 105 self._popen = self._Popen(self)
> 106 self._sentinel = self._popen.sentinel
> 107 # Avoid a refcycle if the target function holds an indirect
>
> c:\python36\lib\multiprocessing\context.py in _Popen(process_obj)
> 221 @staticmethod
> 222 def _Popen(process_obj):
> --> 223 return _default_context.get_context().Process._Popen(process_obj)
> 224
> 225 class DefaultContext(BaseContext):
>
> c:\python36\lib\multiprocessing\context.py in _Popen(process_obj)
> 320 def _Popen(process_obj):
> 321 from .popen_spawn_win32 import Popen
> --> 322 return Popen(process_obj)
> 323
> 324 class SpawnContext(BaseContext):
>
> c:\python36\lib\multiprocessing\popen_spawn_win32.py in __init__(self, process_obj)
> 63 try:
> 64 reduction.dump(prep_data, to_child)
> ---> 65 reduction.dump(process_obj, to_child)
> 66 finally:
> 67 set_spawning_popen(None)
>
> c:\python36\lib\multiprocessing\reduction.py in dump(obj, file, protocol)
> 58 def dump(obj, file, protocol=None):
> 59 '''Replacement for pickle.dump() using ForkingPickler.'''
> ---> 60 ForkingPickler(file, protocol).dump(obj)
> 61
> 62 #
>
> NotImplementedError: object proxy must define __reduce_ex__()
Any idea why this error?? | {
"login": "ekmb",
"id": 10428420,
"node_id": "MDQ6VXNlcjEwNDI4NDIw",
"avatar_url": "https://avatars.githubusercontent.com/u/10428420?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ekmb",
"html_url": "https://github.com/ekmb",
"followers_url": "https://api.github.com/users/ekmb/followers",
"following_url": "https://api.github.com/users/ekmb/following{/other_user}",
"gists_url": "https://api.github.com/users/ekmb/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ekmb/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ekmb/subscriptions",
"organizations_url": "https://api.github.com/users/ekmb/orgs",
"repos_url": "https://api.github.com/users/ekmb/repos",
"events_url": "https://api.github.com/users/ekmb/events{/privacy}",
"received_events_url": "https://api.github.com/users/ekmb/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1641/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1641/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1640 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1640/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1640/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1640/events | https://github.com/NVIDIA/NeMo/issues/1640 | 787,897,173 | MDU6SXNzdWU3ODc4OTcxNzM= | 1,640 | kaldi wav.scp and text to manifest support? | {
"login": "qmpzzpmq",
"id": 21037898,
"node_id": "MDQ6VXNlcjIxMDM3ODk4",
"avatar_url": "https://avatars.githubusercontent.com/u/21037898?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/qmpzzpmq",
"html_url": "https://github.com/qmpzzpmq",
"followers_url": "https://api.github.com/users/qmpzzpmq/followers",
"following_url": "https://api.github.com/users/qmpzzpmq/following{/other_user}",
"gists_url": "https://api.github.com/users/qmpzzpmq/gists{/gist_id}",
"starred_url": "https://api.github.com/users/qmpzzpmq/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/qmpzzpmq/subscriptions",
"organizations_url": "https://api.github.com/users/qmpzzpmq/orgs",
"repos_url": "https://api.github.com/users/qmpzzpmq/repos",
"events_url": "https://api.github.com/users/qmpzzpmq/events{/privacy}",
"received_events_url": "https://api.github.com/users/qmpzzpmq/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1719393562,
"node_id": "MDU6TGFiZWwxNzE5MzkzNTYy",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/feature",
"name": "feature",
"color": "68F3F0",
"default": false,
"description": "request/PR for a new feature"
}
] | closed | false | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"Adding a `me too` comment here. I'm actually interested in loading features archives computed by kaldi (like fbank). This is a feature very useful we find in other toolkits like ESPnet for example. Is there some documentation or some guidelines how one would implement that?",
"@jprobichaud I already fixed here\r\nhttps://github.com/NVIDIA/NeMo/pull/1644",
"@qmpzzpmq Thanks for your reply. This is useful for loading audio that can come from transformation, but that assumes that the entire audio will be one \"segment\". The kaldi feature data layer allowed if I read properly to read in extracted features for each segments (one audio file could be split in multiple shorter segments.\r\n\r\nIt's already nice to have the pipe reading available. Thanks for that! I still wonder if reading audio + segment or raw features will be possible again in the future or if that was deem not useful.\r\n",
"Hi @jprobichaud and @qmpzzpmq Thanks for your requests and contributions.\r\n\r\nYes we think the external features (like fbank) is quite useful. Due to some maintenance reason, we don't have KaldiFeatureLayer now. But we are working on ExternalFeatureDataloader that reads the stored feature (in pickle) and we will provide the script to extract and store it to pickle files. Hope this would give more flexibility. We might support reading from feature.ark as well later. \r\n\r\n> extracted features for each segments (one audio file could be split in multiple shorter segments.\r\n\r\nLike [feat1, feat2, feat3] corresponding to [utt1, utt2, utt3]? @jprobichaud could you elaboration more so we can understand your idea clearly? ",
"@jprobichaud \r\nusing \"utils/data/extract_wav_segments_data_dir.sh\""
] | 2021-01-18T04:05:49 | 2021-08-17T01:00:51 | 2021-08-17T01:00:51 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi, guys. I am new to NeMo.
And I still reusing the data augment in Kaldi, since there have a lot data prepare script.
is it possible to read pipeline data in NeMo, I already wrote a script generate Manifest .json file from wav.scp and text file in kaldi stype dataset. But it only work for .wav not pipeline data.
And I found (https://github.com/NVIDIA/NeMo/issues/743) KaldiFeatureDataLayer already removed. Do you guys have any plan for these? | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1640/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1640/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1639 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1639/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1639/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1639/events | https://github.com/NVIDIA/NeMo/pull/1639 | 787,667,501 | MDExOlB1bGxSZXF1ZXN0NTU2MzE4NjU0 | 1,639 | Fixing optional onnx-graphsurgeon import | {
"login": "borisfom",
"id": 14189615,
"node_id": "MDQ6VXNlcjE0MTg5NjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14189615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisfom",
"html_url": "https://github.com/borisfom",
"followers_url": "https://api.github.com/users/borisfom/followers",
"following_url": "https://api.github.com/users/borisfom/following{/other_user}",
"gists_url": "https://api.github.com/users/borisfom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/borisfom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/borisfom/subscriptions",
"organizations_url": "https://api.github.com/users/borisfom/orgs",
"repos_url": "https://api.github.com/users/borisfom/repos",
"events_url": "https://api.github.com/users/borisfom/events{/privacy}",
"received_events_url": "https://api.github.com/users/borisfom/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-17T09:33:23 | 2021-01-18T08:50:42 | 2021-01-18T08:50:41 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1639",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1639",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1639.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1639.patch",
"merged_at": "2021-01-18T08:50:41"
} | Signed-off-by: Boris Fomitchev <[email protected]>
Fixing possible incorrect default overrides.
Adding building onnx-surgeon from source to Dockerfile.
| {
"login": "borisfom",
"id": 14189615,
"node_id": "MDQ6VXNlcjE0MTg5NjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14189615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisfom",
"html_url": "https://github.com/borisfom",
"followers_url": "https://api.github.com/users/borisfom/followers",
"following_url": "https://api.github.com/users/borisfom/following{/other_user}",
"gists_url": "https://api.github.com/users/borisfom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/borisfom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/borisfom/subscriptions",
"organizations_url": "https://api.github.com/users/borisfom/orgs",
"repos_url": "https://api.github.com/users/borisfom/repos",
"events_url": "https://api.github.com/users/borisfom/events{/privacy}",
"received_events_url": "https://api.github.com/users/borisfom/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1639/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1639/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1638 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1638/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1638/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1638/events | https://github.com/NVIDIA/NeMo/issues/1638 | 787,314,415 | MDU6SXNzdWU3ODczMTQ0MTU= | 1,638 | Confusing GPT Terminology in NeMo Models tutorial | {
"login": "kshtzgupta",
"id": 76540498,
"node_id": "MDQ6VXNlcjc2NTQwNDk4",
"avatar_url": "https://avatars.githubusercontent.com/u/76540498?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kshtzgupta",
"html_url": "https://github.com/kshtzgupta",
"followers_url": "https://api.github.com/users/kshtzgupta/followers",
"following_url": "https://api.github.com/users/kshtzgupta/following{/other_user}",
"gists_url": "https://api.github.com/users/kshtzgupta/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kshtzgupta/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kshtzgupta/subscriptions",
"organizations_url": "https://api.github.com/users/kshtzgupta/orgs",
"repos_url": "https://api.github.com/users/kshtzgupta/repos",
"events_url": "https://api.github.com/users/kshtzgupta/events{/privacy}",
"received_events_url": "https://api.github.com/users/kshtzgupta/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"While not consistent with the paper, this is a tutorial to explain how to refactor a monolithic concrete model into an abstract NeMo model - comprising of neural modules that represent the abstraction with neural types, and then instantiate them with actual concrete modules (which can be anything that fits the neural types) as a Nemo Model. \r\n\r\nThe concept of a NeMo models components don't need to be 1:1 with a papers notation of terms - they are represented as \"encoder\" that takes certain neural type and returns some neural type, and a \"decoder\" that takes some neural type from the encoder and returns some other neural type. They don't refer to the encoder and decoder blocks of the gpt blocks only. \r\n\r\nSee ASR models who also present encoder decoder architecture. \r\n\r\nThe encoder neural module can be a cnn based QuartzNet or a self attention based transformer decoder block or a Conformer sandwich. \r\n\r\nSimilarly, the decoder neural module can be a basic linear layer, a RNN based Autoregressive decoder, or even an RNNT Transducer based decoding scheme. \r\n\r\nFor now, to be clear I will add a note there"
] | 2021-01-16T01:21:15 | 2021-01-20T04:28:32 | 2021-01-20T04:28:32 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | In the NeMo Models tutorial, in the refactored minGPT we have `GPTEmbedding`, `GPTTransformerEncoder`, `GPTDecoder`. I think `GPTTransformerEncoder` and `GPTDecoder` are confusing names both with respect to the original GPT architecture and the Transformer architecture. In the original Tranformer paper, namely the left stack of identical layers is called encoder and the right stack of identical layers is called decoder and that's why in general both Transformer encoder and decoder are used to describe two different and specific sub-architectures in the NLP community.
.
Based on the original Transformer architecture we have all the subsequent Transformer architecture descriptions using the encoder and decoder terminology. For example, authors of [BERT](https://arxiv.org/pdf/1810.04805.pdf) describe it as
> BERT’s model architecture is a multi-layer **bidirectional Transformer encoder** based on the original implementation described in Vaswani et al. (2017).
Similarly, the original [GPT paper](https://cdn.openai.com/research-covers/language-unsupervised/language_understanding_paper.pdf) describes the architecture of GPT as a
> **12-layer decoder-only transformer**
So there is no "encoder" in GPT's architecture and that's why to a beginner the tutorial's `GPTTransformerEncoder` would come across as confusing. Especially because the work it is doing is that of the decoder as defined in the GPT paper. Similarly, the tutorial calls the final layer (LayerNorm + Linear) in the architecture `GPTDecoder`. Again, with the respect to the GPT paper this is a confusing name because the work this module is doing is not actually that of the GPT decoder. Including the GPT architecture from the original paper for reference:

| {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1638/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1638/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1637 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1637/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1637/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1637/events | https://github.com/NVIDIA/NeMo/pull/1637 | 787,134,555 | MDExOlB1bGxSZXF1ZXN0NTU1ODk3OTA0 | 1,637 | Simplify checkpoint path setup for checkpoint averaging | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-15T19:17:55 | 2021-01-19T20:55:04 | 2021-01-19T20:54:59 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1637",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1637",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1637.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1637.patch",
"merged_at": "2021-01-19T20:54:59"
} | # Changelog
- Add optional directory path to reduce checkpoint_paths to checkpoint_names
Signed-off-by: smajumdar <[email protected]> | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1637/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1637/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1636 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1636/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1636/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1636/events | https://github.com/NVIDIA/NeMo/pull/1636 | 786,570,404 | MDExOlB1bGxSZXF1ZXN0NTU1NDE4Njcw | 1,636 | Make onnx-graphsurgery an optional deferred import | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hmmm, I think the line that was breaking NeMo installation on my MacBook was in `setup.py`:\r\nhttps://github.com/NVIDIA/NeMo/blob/45f60f03e5d15a4b6e7db145b5d731d73f3a891d/setup.py#L235\r\n\r\n@borisfom ideas?",
"> Hmmm, I think the line that was breaking NeMo installation on my MacBook was in `setup.py`:\r\n> https://github.com/NVIDIA/NeMo/blob/45f60f03e5d15a4b6e7db145b5d731d73f3a891d/setup.py#L235\r\n> \r\n> @borisfom ideas?\r\n\r\n@tkornuta-nvidia Doesn't seem like this PR breaks MacOS compatibility. It looks like it was broken before? This PR change reduces ```setup_requires=['pytest-runner', 'nvidia-pyindex'],``` to ```setup_requires=['pytest-runner']```",
"Awaiting @borisfom review before merge",
"Merged as main branch is broken without this, preventing other prs ",
"Sorry to be late for the game - I am on vacation right now ...\r\nToo bad onnx-graphsurgeon is not available on all platforms - we would need to think how to handle those cases properly in general. It makes it rather difficult to have seamless setup.py, without hairy scripts around. As my original change was primarily to enable a workaround for TRT issue that will hopefiully be fixed, it's probably fine in this case. \r\nThe way it's left after this PR merged is not right though: \r\n1. constant_folding argument is defunct (always overridden). We should revert changes to it and only have onnx-graphsurgeon invocation under the GRAPGSURGEION_AVAILABLE conditional.\r\n2. default setup.py would not install onnx-graphsurgeon on any platform. That's probably the best we can do at the moment and have developers who need to use this WAR, to install it manually - but we should think of general way of handling optional components to have best experience on all platforms. It sees that, besides WAR for TRT 'double' issue, onnx-graphsurgeon pass makes most of the graphs more compact (potentially faster, one needs to check), so it would probably be nice to keep it enabled for the platforms that have it, even when TRT issue is fixed."
] | 2021-01-15T05:46:11 | 2021-01-16T03:00:11 | 2021-01-15T22:15:23 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1636",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1636",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1636.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1636.patch",
"merged_at": "2021-01-15T22:15:23"
} | # Changelog
- onnx-graphsurgery is not available on all platforms, and breaks pip install (currently tested on darwin and some versions of ubuntu).
- Make it an optional import that performs runtime check instead. | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1636/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1636/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1635 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1635/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1635/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1635/events | https://github.com/NVIDIA/NeMo/pull/1635 | 786,536,682 | MDExOlB1bGxSZXF1ZXN0NTU1Mzg3OTg1 | 1,635 | Add testing support to Transformer based language models | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-15T05:04:03 | 2021-01-15T19:02:42 | 2021-01-15T19:02:37 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1635",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1635",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1635.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1635.patch",
"merged_at": "2021-01-15T19:02:37"
} | # Changelog
- Add support for `trainer.test()` on Transformer based LM | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1635/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1635/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1634 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1634/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1634/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1634/events | https://github.com/NVIDIA/NeMo/issues/1634 | 786,433,567 | MDU6SXNzdWU3ODY0MzM1Njc= | 1,634 | Incorrect usage of nn.LSTM in NeMo Models Tutorial | {
"login": "kshtzgupta",
"id": 76540498,
"node_id": "MDQ6VXNlcjc2NTQwNDk4",
"avatar_url": "https://avatars.githubusercontent.com/u/76540498?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/kshtzgupta",
"html_url": "https://github.com/kshtzgupta",
"followers_url": "https://api.github.com/users/kshtzgupta/followers",
"following_url": "https://api.github.com/users/kshtzgupta/following{/other_user}",
"gists_url": "https://api.github.com/users/kshtzgupta/gists{/gist_id}",
"starred_url": "https://api.github.com/users/kshtzgupta/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/kshtzgupta/subscriptions",
"organizations_url": "https://api.github.com/users/kshtzgupta/orgs",
"repos_url": "https://api.github.com/users/kshtzgupta/repos",
"events_url": "https://api.github.com/users/kshtzgupta/events{/privacy}",
"received_events_url": "https://api.github.com/users/kshtzgupta/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"This is a good find, I keep forgetting TF and PT have different semantics for their RNNs. \r\n\r\nNeMo currently ignores nested structures (h, c) (though we plan to add this), so that will be a todo for a subsequent patch. In the diagram above, \"h\" corresponds to \"y_t\" and \"c\" corresponds to both (h_n, c_n), so a bit of renaming will be necessary as well.\r\n\r\nAs to the axes, we cant detach the num_directions * num_layers since it flattens out into a single axis. The axiskind most appropriate to that would probably be Channel/Dimension rather than Any. Any is a bit too generic for an RNN state axis.\r\n\r\n"
] | 2021-01-15T00:14:16 | 2021-01-20T04:28:32 | 2021-01-20T04:28:32 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Under the Neural Types section, for Case 2 LSTM [ERROR CELL], the tutorial gives the wrong reason for the `TypeError: Number of output arguments provided (2) is not as expected (1)`. Specifically, it states:
> What exactly is going on here? Well, inside our `LSTMModule` class, we declare the output types to be a single NeuralType - an `EncodedRepresentation` of shape [B, T, C].
> But the output of an LSTM layer is a tuple of two state values - the hidden state `h` and the cell state `c`!
But actually from the nn.LSTM [docs](https://pytorch.org/docs/stable/generated/torch.nn.LSTM.html) we see that  it outputs a tuple `output, (h_n, c_n)` whose first element `output` contains the output features from the last layer of the LSTM for all timesteps. With `batch_first=True` this should be of the shape `B x T x C`. The second element of the tuple is again itself a tuple of the final hidden state (`h_n`) and final cell state (`c_n`). So the axes in `CorrectLSTMModule` is also wrong. Particularly, even with `batch_first=True` in the LSTM `h_n` and `c_n` are of shape `(num_layers * num_directions, batch, hidden_size)`. Since `h_n` and `c_n` are the final states there should be no Time (T) or seq_len dim in their shape. Here we are using unidirectional LSTM and representing batch with axis B and hidden_size with axis C so shape becomes `(num_layers, B, C)` not `(B, T, C)` as implemented in `CorrectLSTMModule`
.
Also wondering, is there an AxisKind to represent `num_layers` or `num_directions`? Couldn't find a suitable AxisKind in https://github.com/NVIDIA/NeMo/blob/main/nemo/core/neural_types/axes.py. Maybe "Any" should be used?
To give a more concrete example of the LSTM output. Let `(h_n, c_n)` be the tuple of final hidden and cell state and `y_t` be the outputs for all timestamps then
```
lstm = torch.nn.LSTM(1, 30, batch_first=True)
x3 = torch.rand(2, 5, 1)
# x3 shape is [batch_size x time stamps x dimension]
y_t, (h_n, c_n) = lstm(x3)
```
`y_t` is of shape ([2, 5, 30]) i.e `batch_size x time stamps x dimension`
`h_n` is of shape ([1, 2, 30]) i.e. `num_layers x batch_size x dimension`
`c_n` is of shape ([1, 2, 30]) i.e. `num_layers x batch_size x dimension`
| {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1634/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1634/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1633 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1633/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1633/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1633/events | https://github.com/NVIDIA/NeMo/issues/1633 | 786,235,226 | MDU6SXNzdWU3ODYyMzUyMjY= | 1,633 | [Question] MatchboxNet and MarbleNet | {
"login": "seekingdeep",
"id": 71519088,
"node_id": "MDQ6VXNlcjcxNTE5MDg4",
"avatar_url": "https://avatars.githubusercontent.com/u/71519088?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seekingdeep",
"html_url": "https://github.com/seekingdeep",
"followers_url": "https://api.github.com/users/seekingdeep/followers",
"following_url": "https://api.github.com/users/seekingdeep/following{/other_user}",
"gists_url": "https://api.github.com/users/seekingdeep/gists{/gist_id}",
"starred_url": "https://api.github.com/users/seekingdeep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seekingdeep/subscriptions",
"organizations_url": "https://api.github.com/users/seekingdeep/orgs",
"repos_url": "https://api.github.com/users/seekingdeep/repos",
"events_url": "https://api.github.com/users/seekingdeep/events{/privacy}",
"received_events_url": "https://api.github.com/users/seekingdeep/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"> After training the Voice Activity Detection model, How to deploy it for inferencing on arm based devices such as Raspberry Pi?\r\n\r\nWe dont have deployment scripts for Raspberry Pi. \r\n\r\n> How much memory is required to inference MatchboxNet\r\n\r\nDepends on deployment framework, but it should be small considering the size of the model. \r\n\r\n> How does MatchboxNet perform against MarbleNet\r\n\r\nThey perform two different (but similar tasks) so they cant be compared directly. Matchboxnet is meant for speech command recognition - multiclass classification problem and Marblenet is meant for voice activity detection - binary classification problem. ",
"- For the Voice Activity Detection task, the deployment to ARM-based devices is vital and should be considered.\r\nWhat difficulties need to be solved to be able to deploy the VAD model for inferencing on an Raspberry Pi?\r\n- isn't Matchboxnet currently used for VAD? "
] | 2021-01-14T18:58:28 | 2021-01-21T18:27:21 | 2021-01-21T18:27:21 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi there,
@fayejf @titu1994 @borisgin
In the task of Voice Activity Detection, the following questions arise:
- After training the Voice Activity Detection model, How to deploy it for inferencing on arm based devices such as Raspberry Pi?
- How much memory is required to inference MatchboxNet
- How does MatchboxNet perform against MarbleNet | {
"login": "seekingdeep",
"id": 71519088,
"node_id": "MDQ6VXNlcjcxNTE5MDg4",
"avatar_url": "https://avatars.githubusercontent.com/u/71519088?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/seekingdeep",
"html_url": "https://github.com/seekingdeep",
"followers_url": "https://api.github.com/users/seekingdeep/followers",
"following_url": "https://api.github.com/users/seekingdeep/following{/other_user}",
"gists_url": "https://api.github.com/users/seekingdeep/gists{/gist_id}",
"starred_url": "https://api.github.com/users/seekingdeep/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/seekingdeep/subscriptions",
"organizations_url": "https://api.github.com/users/seekingdeep/orgs",
"repos_url": "https://api.github.com/users/seekingdeep/repos",
"events_url": "https://api.github.com/users/seekingdeep/events{/privacy}",
"received_events_url": "https://api.github.com/users/seekingdeep/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1633/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1633/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1632 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1632/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1632/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1632/events | https://github.com/NVIDIA/NeMo/issues/1632 | 785,503,982 | MDU6SXNzdWU3ODU1MDM5ODI= | 1,632 | [Question] Low accuracy in VAD demo? | {
"login": "skubicius",
"id": 39620641,
"node_id": "MDQ6VXNlcjM5NjIwNjQx",
"avatar_url": "https://avatars.githubusercontent.com/u/39620641?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/skubicius",
"html_url": "https://github.com/skubicius",
"followers_url": "https://api.github.com/users/skubicius/followers",
"following_url": "https://api.github.com/users/skubicius/following{/other_user}",
"gists_url": "https://api.github.com/users/skubicius/gists{/gist_id}",
"starred_url": "https://api.github.com/users/skubicius/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/skubicius/subscriptions",
"organizations_url": "https://api.github.com/users/skubicius/orgs",
"repos_url": "https://api.github.com/users/skubicius/repos",
"events_url": "https://api.github.com/users/skubicius/events{/privacy}",
"received_events_url": "https://api.github.com/users/skubicius/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Hi @skubicius Thanks for your question 😃 . This is the expected plot for this demo wav. There are a few reasons for a not ideal plot for the pre-trained models, such as data and sample rate mismatch, diverse recording (microphone) environment, language, etc. And please note that metrics would be different for different use cases, for example, should we treat short pause as no-speech? It depends. We would encourage you to further tune the model (such as model finetuning, threshold optimization) on your training/development data to boost the performance on unseen data. In the meanwhile, we are trying to release better pre-trained models and will update the notebook with the necessary clarification and guide. ",
" Hi @fayejf, thank you for the explanation, I'll check out model tuning.",
"No prob! @skubicius You should be able to find instructions in [tutorial 06 ](https://github.com/NVIDIA/NeMo/blob/main/tutorials/asr/06_Voice_Activiy_Detection.ipynb). Please let us know if you have more questions.",
"hi @fayejf \r\nI trained VAD model using my own dataset follow instructions in [tutorial 6](https://github.com/NVIDIA/NeMo/blob/main/tutorials/asr/06_Voice_Activiy_Detection.ipynb)\r\nMy dataset is Vietnamese telephony conversation, 15 hours with 8 hours of speech and 7 hours of noise. I got accuracy 95% on my test set.\r\nThe format of dataset quite similar with google speech dataset. Each sample of speech is one statement and have duration 2s to 5s.\r\n\r\nWhen i follow instruction in [tutorial 7](https://github.com/NVIDIA/NeMo/blob/main/tutorials/asr/07_Online_Offline_Microphone_VAD_Demo.ipynb) to inference sample in test set what contain only one statement, the prediction is good. The problem is when i inference long audio has duration 20s of speech and noise, the prediction is really bad.\r\nThis is predict sample of speech has only one statement \r\n\r\n\r\n\r\nAnd long audio, 0 to 5s of audio is noise.\r\n\r\n\r\n\r\n1. Any idea to deal with this problem\r\n2. I want to tune threshold but it required RTTM ground truth, what is the format of RTTM file and how to generate this file from dataset like google speech.\r\n",
"@guyqaz \r\n\r\nThanks for your question. \r\nWhat is the sample rate of your long audio sample? Looks like it misses some predictions after 15s.\r\n\r\nYou could find the definition of NIST Rich Transcription Time Marked (RTTM) format [here](https://web.archive.org/web/20170119114252/http://www.itl.nist.gov/iad/mig/tests/rt/2009/docs/rt09-meeting-eval-plan-v2.pdf). We have prepared an example file for you [here](https://nemo-public.s3.us-east-2.amazonaws.com/an4_diarize_test.rttm). For google speech basically you can have something like.\r\n\r\n`SPEAKER File1 1 0.5 0.671 <NA> <NA> Speaker1 <NA> <NA>`\r\n`SPEAKER File1 1 1.7 1.258 <NA> <NA> Speaker1 <NA> <NA>`\r\n\r\nTo tune threshold, the RTTM file **is not required**. If you have frame level label, for example, [1,1,1,1,1,0,0,0,0,1,1,1], you can directly use that as well. \r\n\r\nNote the flow is \r\nframe level prediction (w/ or wo/posterior) -> to convert to speech / no-speech given **threshold** -> compare with ground truth label to find optimal threshold\r\n",
"Hi @fayejf , The sample rate of long audio sample is 16000Hz.\r\nNow i am defining one audio of sentence as speech, not a word level like google speech dataset. But i still using [process_vad_data](https://github.com/NVIDIA/NeMo/blob/main/scripts/dataset_processing/process_vad_data.py) to generate manifest file.\r\nWhen infer audio just has statement or noise, i think it good because almost all frame are predicted to be speech or all noise. But when predict long audio have both speech and noise. Model dose not seen recognize speech and noise.\r\n\r\nMy dataset also have label with shorter duration what label for stop point, noise in audio contain speech of statement. \r\n- Do you think i should using shorter label or just using audio of sentence is speech.\r\n- Is there a tutorial to tune threshold from output of predict frame level [vad_infer](https://github.com/NVIDIA/NeMo/blob/main/examples/asr/vad_infer.py) and manifest file.",
"@guyqaz \r\nAnswered here https://github.com/NVIDIA/NeMo/issues/2353#issuecomment-861862612"
] | 2021-01-13T22:30:10 | 2021-06-15T21:56:07 | 2021-01-14T21:58:00 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I ran the [VAD demo](https://github.com/NVIDIA/NeMo/blob/main/tutorials/asr/07_Online_Offline_Microphone_VAD_Demo.ipynb) and noticed that the prediction accuracy on the [example audio](https://dldata-public.s3.us-east-2.amazonaws.com/VAD_demo.wav) seems quite low (see chart below).
Do you see a similar output when you run the notebook?
I changed the script in one place - I commented out these lines from function `offline_inference`, because my host doesn't have an audio device:
```
stream = p.open(format=p.get_format_from_width(wf.getsampwidth()),
channels=CHANNELS,
rate=RATE,
output = True)
```

**Environment overview**
- Environment location: AWS EC2
- Method of NeMo install: `!python3 -m pip install git+https://github.com/NVIDIA/NeMo.git@main#egg=nemo_toolkit[asr]`
**Environment details**
- OS version Ubuntu 20.04.1 LTS (Focal Fossa)
- PyTorch version 1.6.0
- Python version 3.8.5
**Additional context**
GPU model: Tesla T4 | {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1632/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1632/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1631 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1631/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1631/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1631/events | https://github.com/NVIDIA/NeMo/pull/1631 | 785,469,523 | MDExOlB1bGxSZXF1ZXN0NTU0NDkzNzQx | 1,631 | remove requirements from reinstall | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-13T21:27:33 | 2021-01-13T22:55:02 | 2021-01-13T22:54:56 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1631",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1631",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1631.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1631.patch",
"merged_at": "2021-01-13T22:54:56"
} | Signed-off-by: Yang Zhang <[email protected]> | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1631/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1631/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1630 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1630/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1630/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1630/events | https://github.com/NVIDIA/NeMo/pull/1630 | 785,257,672 | MDExOlB1bGxSZXF1ZXN0NTU0MzE0MDY5 | 1,630 | only use pydub for unsupported format | {
"login": "khursani8",
"id": 5404903,
"node_id": "MDQ6VXNlcjU0MDQ5MDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5404903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khursani8",
"html_url": "https://github.com/khursani8",
"followers_url": "https://api.github.com/users/khursani8/followers",
"following_url": "https://api.github.com/users/khursani8/following{/other_user}",
"gists_url": "https://api.github.com/users/khursani8/gists{/gist_id}",
"starred_url": "https://api.github.com/users/khursani8/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khursani8/subscriptions",
"organizations_url": "https://api.github.com/users/khursani8/orgs",
"repos_url": "https://api.github.com/users/khursani8/repos",
"events_url": "https://api.github.com/users/khursani8/events{/privacy}",
"received_events_url": "https://api.github.com/users/khursani8/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "blisc",
"id": 4763352,
"node_id": "MDQ6VXNlcjQ3NjMzNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4763352?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blisc",
"html_url": "https://github.com/blisc",
"followers_url": "https://api.github.com/users/blisc/followers",
"following_url": "https://api.github.com/users/blisc/following{/other_user}",
"gists_url": "https://api.github.com/users/blisc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blisc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blisc/subscriptions",
"organizations_url": "https://api.github.com/users/blisc/orgs",
"repos_url": "https://api.github.com/users/blisc/repos",
"events_url": "https://api.github.com/users/blisc/events{/privacy}",
"received_events_url": "https://api.github.com/users/blisc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "blisc",
"id": 4763352,
"node_id": "MDQ6VXNlcjQ3NjMzNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4763352?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blisc",
"html_url": "https://github.com/blisc",
"followers_url": "https://api.github.com/users/blisc/followers",
"following_url": "https://api.github.com/users/blisc/following{/other_user}",
"gists_url": "https://api.github.com/users/blisc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blisc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blisc/subscriptions",
"organizations_url": "https://api.github.com/users/blisc/orgs",
"repos_url": "https://api.github.com/users/blisc/repos",
"events_url": "https://api.github.com/users/blisc/events{/privacy}",
"received_events_url": "https://api.github.com/users/blisc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [] | 2021-01-13T16:35:08 | 2021-01-14T15:42:32 | 2021-01-14T15:42:32 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1630",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1630",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1630.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1630.patch",
"merged_at": "2021-01-14T15:42:32"
} | Signed-off-by: khursani8 <[email protected]> | {
"login": "blisc",
"id": 4763352,
"node_id": "MDQ6VXNlcjQ3NjMzNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4763352?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blisc",
"html_url": "https://github.com/blisc",
"followers_url": "https://api.github.com/users/blisc/followers",
"following_url": "https://api.github.com/users/blisc/following{/other_user}",
"gists_url": "https://api.github.com/users/blisc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blisc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blisc/subscriptions",
"organizations_url": "https://api.github.com/users/blisc/orgs",
"repos_url": "https://api.github.com/users/blisc/repos",
"events_url": "https://api.github.com/users/blisc/events{/privacy}",
"received_events_url": "https://api.github.com/users/blisc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1630/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1630/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1629 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1629/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1629/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1629/events | https://github.com/NVIDIA/NeMo/pull/1629 | 784,912,146 | MDExOlB1bGxSZXF1ZXN0NTU0MDI0NTM4 | 1,629 | Speech Regression Model | {
"login": "diego-fustes",
"id": 5707233,
"node_id": "MDQ6VXNlcjU3MDcyMzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5707233?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/diego-fustes",
"html_url": "https://github.com/diego-fustes",
"followers_url": "https://api.github.com/users/diego-fustes/followers",
"following_url": "https://api.github.com/users/diego-fustes/following{/other_user}",
"gists_url": "https://api.github.com/users/diego-fustes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/diego-fustes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/diego-fustes/subscriptions",
"organizations_url": "https://api.github.com/users/diego-fustes/orgs",
"repos_url": "https://api.github.com/users/diego-fustes/repos",
"events_url": "https://api.github.com/users/diego-fustes/events{/privacy}",
"received_events_url": "https://api.github.com/users/diego-fustes/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 1 alert** when merging 657e3e50296a8181164b830a812b40858d5917a6 into bc5f03459c7273b71c50af7c2378d5e950b408c4 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-a3b2ef6ca144959b67e47fc21de10d8f7c6251b2)\n\n**new alerts:**\n\n* 1 for 'import \\*' may pollute namespace",
"Hi @titu1994, I would like to merge this pull request. Could you review it? Thanks in advance",
"This pull request **introduces 1 alert** when merging b4cbe146d2d376a805cdb183615068a06d38683a into bc5f03459c7273b71c50af7c2378d5e950b408c4 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-8ac0d3b412e9f286a1c6b459f6d1ec28aaf35deb)\n\n**new alerts:**\n\n* 1 for 'import \\*' may pollute namespace",
"I completely agree with your comments, there are clear opportunities to avoid code duplication. I've implemented this way for the sake of clarity and to avoid conflicts. Anyway, I will watch the related PR and refactor this one after it's been merged. \r\n\r\nOn the other hand, the DCO check is failing as my commits have been signed with a wrong email. I've tried to correct it by rebasing, but I wasn't able to fix it so far. Any clue about how to handle it?\r\n\r\nThanks for your help",
"HI @diego-fustes Sorry for keep you waiting. [PR#1617](https://github.com/NVIDIA/NeMo/pull/1617) is merged now 😃 . Please rebase on it. And let me know if you have any questions.",
"This pull request **introduces 1 alert** when merging 33d6fd0525ba7728f9d34aaa19fa45f29d038c47 into 14904fd0381f5515a9773cf7a538dc09e08c8aa9 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-ff942955051d87be1008417b4aab787ce24f8579)\n\n**new alerts:**\n\n* 1 for 'import \\*' may pollute namespace",
"Hi @fayejf and @titu1994 :\r\n\r\nI've been looking at the current code base, and I think that some refactoring is still needed. To start with, I think that EndDecSpeakerLabelModel should be a subclass of EncDecClassificationModel. At the end, I think that it's almost the same, just with the option of switching the loss to AngularSoftmaxLoss and that it outputs the embeddings along with the logits. \r\n\r\nOn the other hand, the class EncDecRegressionModel that I'm implementing should be a superclass of EncDecClassificationModel. At the end, classification can be seem as a special type of regression with a threshold...\r\n\r\nWhat do you think? It's quite a major change, I'm willing to implement it if you agree ",
"Hey @diego-fustes,\r\n\r\nYou raise some are valid points, but there are other reasons they are kept separate as of now.\r\n\r\n> EndDecSpeakerLabelModel should be a subclass of EncDecClassificationModel. At the end, I think that it's almost the same, just with the option of switching the loss to AngularSoftmaxLoss and that it outputs the embeddings along with the logits.\r\n\r\nYes, this is true - for the present. The reason we internally decided to separate the two models is that Speech classification is guarenteed to have a 1 ip - 1 op pipeline as in general classification models. Speaker classification on the other hand may use auxiliary information in the future, or might require architectures with multiple outputs. Speaker classification is also one step in the entire speaker diarization pipeline, which needs different interaction than the simpler classification model. All in all, it was therefore concluded that albeit they share significant similarities, they would still be separate entities.\r\n\r\n> EncDecRegressionModel that I'm implementing should be a superclass of EncDecClassificationModel. At the end, classification can be seem as a special type of regression with a threshold\r\n\r\nThis is something I disagree with. Simply put, while mathematically correct that classification is a special case of regression, that does not mean it is semantically the same task. We dont apply regression losses (MSE) to train MNIST / ImageNet, nor do we use any activation function for regression models (as an example). The dataset, and the semantic task that the model performs is entirely different, even if mathematically the only difference is the application of softmax/sigmoid at the end of the model.\r\n",
"This pull request **introduces 1 alert** when merging 01e79acda2faf0f9b38ef58d73bc1564a10cb4ae into 941ef1fd71bd2515a4ba7092d65146edfddc1229 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-460d53983a0a2e4ee69ca4a17081e35c2bc9dda9)\n\n**new alerts:**\n\n* 1 for 'import \\*' may pollute namespace",
"Hi @titu1994 \r\n\r\nI agree with you, from a practical perspective it's better to implement the common code for regression and classification in an abstract class. I've just pushed a new version, trying to minimize code duplication. Apologies as I think that I've added more commits that needed, I'm a kind of starting with GitHub.\r\n\r\nKind regards",
"This pull request **introduces 1 alert** when merging 1452075151885cb3a3395d768d4603dac6c16ef5 into 941ef1fd71bd2515a4ba7092d65146edfddc1229 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-8cc3f74e16c23909b4cedfe02da85605b1763535)\n\n**new alerts:**\n\n* 1 for 'import \\*' may pollute namespace",
"Hey @diego-fustes, no worries about Git. Could you try rebasing your commit on top of main branch instead of merge? That should clean up the commit history. \r\n\r\nI was looking though some of the changes, and they are pretty good. Some minor cleanup here and there and it should be good to merge. I'll post the comments after the rebase (as comments sometime get deleted after rebase)"
] | 2021-01-13T08:51:53 | 2021-02-03T22:50:24 | 2021-02-03T22:50:24 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1629",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1629",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1629.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1629.patch",
"merged_at": null
} | Extend the current speech classification models (e.g. Speaker Recognition) to accommodate the prediction of a numeric target (regression).
This can be applied to use cases like [Speech Quality Assessment ](https://arxiv.org/pdf/1903.06908.pdf) | {
"login": "diego-fustes",
"id": 5707233,
"node_id": "MDQ6VXNlcjU3MDcyMzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5707233?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/diego-fustes",
"html_url": "https://github.com/diego-fustes",
"followers_url": "https://api.github.com/users/diego-fustes/followers",
"following_url": "https://api.github.com/users/diego-fustes/following{/other_user}",
"gists_url": "https://api.github.com/users/diego-fustes/gists{/gist_id}",
"starred_url": "https://api.github.com/users/diego-fustes/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/diego-fustes/subscriptions",
"organizations_url": "https://api.github.com/users/diego-fustes/orgs",
"repos_url": "https://api.github.com/users/diego-fustes/repos",
"events_url": "https://api.github.com/users/diego-fustes/events{/privacy}",
"received_events_url": "https://api.github.com/users/diego-fustes/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1629/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1629/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1628 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1628/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1628/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1628/events | https://github.com/NVIDIA/NeMo/pull/1628 | 784,684,753 | MDExOlB1bGxSZXF1ZXN0NTUzODM3MDc0 | 1,628 | Add more tests for ASR forward pass checks + Fix to Transformer Tarred Dataset | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-13T00:11:09 | 2021-01-14T01:18:05 | 2021-01-14T01:18:02 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1628",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1628",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1628.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1628.patch",
"merged_at": "2021-01-14T01:18:01"
} | # Changelog
- Add some forward pass tests for ASR to check effect of batch size on evaluation mode
# Bugfix
- Add brace expansion for transformer tarred datasets | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1628/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1627 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1627/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1627/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1627/events | https://github.com/NVIDIA/NeMo/pull/1627 | 784,611,230 | MDExOlB1bGxSZXF1ZXN0NTUzNzc1NzY0 | 1,627 | Fix import sgdqa | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-12T21:36:39 | 2021-01-13T18:12:59 | 2021-01-13T18:12:45 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1627",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1627",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1627.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1627.patch",
"merged_at": "2021-01-13T18:12:45"
} | fix sgdqa imports with release installation
change nemo_toolkit installation to release from development | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1627/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1627/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1626 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1626/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1626/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1626/events | https://github.com/NVIDIA/NeMo/pull/1626 | 784,517,720 | MDExOlB1bGxSZXF1ZXN0NTUzNjk3NDY0 | 1,626 | Loss metric | {
"login": "PeganovAnton",
"id": 10737305,
"node_id": "MDQ6VXNlcjEwNzM3MzA1",
"avatar_url": "https://avatars.githubusercontent.com/u/10737305?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/PeganovAnton",
"html_url": "https://github.com/PeganovAnton",
"followers_url": "https://api.github.com/users/PeganovAnton/followers",
"following_url": "https://api.github.com/users/PeganovAnton/following{/other_user}",
"gists_url": "https://api.github.com/users/PeganovAnton/gists{/gist_id}",
"starred_url": "https://api.github.com/users/PeganovAnton/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/PeganovAnton/subscriptions",
"organizations_url": "https://api.github.com/users/PeganovAnton/orgs",
"repos_url": "https://api.github.com/users/PeganovAnton/repos",
"events_url": "https://api.github.com/users/PeganovAnton/events{/privacy}",
"received_events_url": "https://api.github.com/users/PeganovAnton/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Overall, the PR looks good to merge. Please fix the tests and final review from @MaximumEntropy please. "
] | 2021-01-12T19:13:48 | 2021-01-22T15:27:46 | 2021-01-20T00:00:45 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1626",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1626",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1626.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1626.patch",
"merged_at": "2021-01-20T00:00:45"
} | Add a PTL metric for averaging loss across processes in ddp mode.
Motivation.
If ddp is used, the validation loss for only one gpu is logged. This behavior impairs "Reduce on plateau" and "Early stopping" scheduling strategies. If many GPUs are used and the validation dataset is small, logged validation loss can differ from real validation loss a lot. | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1626/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1626/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1625 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1625/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1625/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1625/events | https://github.com/NVIDIA/NeMo/pull/1625 | 784,470,240 | MDExOlB1bGxSZXF1ZXN0NTUzNjU1NjMx | 1,625 | Correcting bug in training with class_balancing = weighted_loss | {
"login": "vladgets",
"id": 8079846,
"node_id": "MDQ6VXNlcjgwNzk4NDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8079846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vladgets",
"html_url": "https://github.com/vladgets",
"followers_url": "https://api.github.com/users/vladgets/followers",
"following_url": "https://api.github.com/users/vladgets/following{/other_user}",
"gists_url": "https://api.github.com/users/vladgets/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vladgets/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vladgets/subscriptions",
"organizations_url": "https://api.github.com/users/vladgets/orgs",
"repos_url": "https://api.github.com/users/vladgets/repos",
"events_url": "https://api.github.com/users/vladgets/events{/privacy}",
"received_events_url": "https://api.github.com/users/vladgets/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-12T18:19:23 | 2021-01-14T20:10:54 | 2021-01-14T20:09:39 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1625",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1625",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1625.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1625.patch",
"merged_at": "2021-01-14T20:09:39"
} | Signed-off-by: Vlad Getselevich <[email protected]> | {
"login": "vladgets",
"id": 8079846,
"node_id": "MDQ6VXNlcjgwNzk4NDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8079846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vladgets",
"html_url": "https://github.com/vladgets",
"followers_url": "https://api.github.com/users/vladgets/followers",
"following_url": "https://api.github.com/users/vladgets/following{/other_user}",
"gists_url": "https://api.github.com/users/vladgets/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vladgets/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vladgets/subscriptions",
"organizations_url": "https://api.github.com/users/vladgets/orgs",
"repos_url": "https://api.github.com/users/vladgets/repos",
"events_url": "https://api.github.com/users/vladgets/events{/privacy}",
"received_events_url": "https://api.github.com/users/vladgets/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1625/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1625/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1624 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1624/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1624/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1624/events | https://github.com/NVIDIA/NeMo/issues/1624 | 784,448,429 | MDU6SXNzdWU3ODQ0NDg0Mjk= | 1,624 | [Question] | {
"login": "lucvanwyk",
"id": 38084453,
"node_id": "MDQ6VXNlcjM4MDg0NDUz",
"avatar_url": "https://avatars.githubusercontent.com/u/38084453?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lucvanwyk",
"html_url": "https://github.com/lucvanwyk",
"followers_url": "https://api.github.com/users/lucvanwyk/followers",
"following_url": "https://api.github.com/users/lucvanwyk/following{/other_user}",
"gists_url": "https://api.github.com/users/lucvanwyk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lucvanwyk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lucvanwyk/subscriptions",
"organizations_url": "https://api.github.com/users/lucvanwyk/orgs",
"repos_url": "https://api.github.com/users/lucvanwyk/repos",
"events_url": "https://api.github.com/users/lucvanwyk/events{/privacy}",
"received_events_url": "https://api.github.com/users/lucvanwyk/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"It is implemented for a WIP project now, It could be done using collate func to slice the batches and combine back them by backtracking the values. \r\n\r\nFor reference see here:\r\nhttps://github.com/NVIDIA/NeMo/blob/df360cd3c856c645d23505305ee8b689636b2dd1/nemo/collections/asr/data/audio_to_label.py#L161\r\n\r\nAnd we capture outputs here:\r\nhttps://github.com/NVIDIA/NeMo/blob/df360cd3c856c645d23505305ee8b689636b2dd1/nemo/collections/asr/models/label_models.py#L407 "
] | 2021-01-12T17:46:49 | 2021-02-10T23:26:24 | 2021-02-10T23:26:24 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **How to extract embeddings from a specific portion of audio?**
I have audio files which contain speech from two different individuals, I want to use the pre-trained SpeakerNet_verification model to extract speaker embeddings of each audio file in a sliding window fashion (an embedding for every 1 second with 0.1 seconds overlap). Since the manifest file only accepts the absolute path to the audio is there a way to specify which chunk of audio the model should embed?
What would be the easiest way to implement this? Alternatively, if I wish to add such a functionality myself, where can I start?
| {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1624/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1624/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1623 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1623/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1623/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1623/events | https://github.com/NVIDIA/NeMo/issues/1623 | 783,986,195 | MDU6SXNzdWU3ODM5ODYxOTU= | 1,623 | error while importing nlp from nemo | {
"login": "rahul-art",
"id": 56379013,
"node_id": "MDQ6VXNlcjU2Mzc5MDEz",
"avatar_url": "https://avatars.githubusercontent.com/u/56379013?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/rahul-art",
"html_url": "https://github.com/rahul-art",
"followers_url": "https://api.github.com/users/rahul-art/followers",
"following_url": "https://api.github.com/users/rahul-art/following{/other_user}",
"gists_url": "https://api.github.com/users/rahul-art/gists{/gist_id}",
"starred_url": "https://api.github.com/users/rahul-art/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/rahul-art/subscriptions",
"organizations_url": "https://api.github.com/users/rahul-art/orgs",
"repos_url": "https://api.github.com/users/rahul-art/repos",
"events_url": "https://api.github.com/users/rahul-art/events{/privacy}",
"received_events_url": "https://api.github.com/users/rahul-art/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"@rahul-art should be fixed now"
] | 2021-01-12T07:23:58 | 2021-05-28T08:35:17 | 2021-05-28T08:35:17 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | nltk_data] Downloading package averaged_perceptron_tagger to
[nltk_data] /root/nltk_data...
[nltk_data] Unzipping taggers/averaged_perceptron_tagger.zip.
[nltk_data] Downloading package cmudict to /root/nltk_data...
[nltk_data] Unzipping corpora/cmudict.zip.
[NeMo W 2021-01-12 07:16:18 experimental:28] Module nemo.collections.asr.data.audio_to_text.AudioToCharDataset is experimental, not ready for production and is not fully supported. Use at your own risk.
[NeMo W 2021-01-12 07:16:18 experimental:28] Module nemo.collections.asr.data.audio_to_text.AudioToBPEDataset is experimental, not ready for production and is not fully supported. Use at your own risk.
[NeMo W 2021-01-12 07:16:18 experimental:28] Module nemo.collections.asr.data.audio_to_text.AudioLabelDataset is experimental, not ready for production and is not fully supported. Use at your own risk.
[NeMo W 2021-01-12 07:16:18 experimental:28] Module nemo.collections.asr.data.audio_to_text.TarredAudioToTextDataset is experimental, not ready for production and is not fully supported. Use at your own risk.
[NeMo W 2021-01-12 07:16:18 experimental:28] Module nemo.collections.asr.data.audio_to_text.TarredAudioToCharDataset is experimental, not ready for production and is not fully supported. Use at your own risk.
[NeMo W 2021-01-12 07:16:18 experimental:28] Module nemo.collections.asr.data.audio_to_text.TarredAudioToBPEDataset is experimental, not ready for production and is not fully supported. Use at your own risk.
[NeMo W 2021-01-12 07:16:23 experimental:28] Module <class 'nemo.collections.asr.losses.ctc.CTCLoss'> is experimental, not ready for production and is not fully supported. Use at your own risk.
[NeMo W 2021-01-12 07:16:23 experimental:28] Module <class 'nemo.collections.asr.data.audio_to_text_dali.AudioToCharDALIDataset'> is experimental, not ready for production and is not fully supported. Use at your own risk.
################################################################################
### WARNING, path does not exist: KALDI_ROOT=/mnt/matylda5/iveselyk/Tools/kaldi-trunk
### (please add 'export KALDI_ROOT=<your_path>' in your $HOME/.profile)
### (or run as: KALDI_ROOT=<your_path> python <your_script>.py)
################################################################################
[NeMo W 2021-01-12 07:16:23 nemo_logging:349] /usr/local/lib/python3.6/dist-packages/torchaudio/backend/utils.py:54: UserWarning: "sox" backend is being deprecated. The default backend will be changed to "sox_io" backend in 0.8.0 and "sox" backend will be removed in 0.9.0. Please migrate to "sox_io" backend. Please refer to https://github.com/pytorch/audio/issues/903 for the detail.
'"sox" backend is being deprecated. '
---------------------------------------------------------------------------
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-3-424875f6207b> in <module>()
1 import nemo.collections.asr as nemo_asr
----> 2 import nemo.collections.nlp as nemo_nlp
3 import nemo.collections.tts as nemo_tts
3 frames
/usr/local/lib/python3.6/dist-packages/nemo/collections/nlp/data/question_answering_squad/qa_squad_processing.py in <module>()
20
21 from tqdm import tqdm
---> 22 from transformers.tokenization_bert import BasicTokenizer
23
24 from nemo.collections.nlp.data.data_utils import DataProcessor, is_whitespace, normalize_answer
ModuleNotFoundError: No module named 'transformers.tokenization_bert'
| {
"login": "VahidooX",
"id": 23551647,
"node_id": "MDQ6VXNlcjIzNTUxNjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/23551647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VahidooX",
"html_url": "https://github.com/VahidooX",
"followers_url": "https://api.github.com/users/VahidooX/followers",
"following_url": "https://api.github.com/users/VahidooX/following{/other_user}",
"gists_url": "https://api.github.com/users/VahidooX/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VahidooX/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VahidooX/subscriptions",
"organizations_url": "https://api.github.com/users/VahidooX/orgs",
"repos_url": "https://api.github.com/users/VahidooX/repos",
"events_url": "https://api.github.com/users/VahidooX/events{/privacy}",
"received_events_url": "https://api.github.com/users/VahidooX/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1623/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1623/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1622 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1622/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1622/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1622/events | https://github.com/NVIDIA/NeMo/pull/1622 | 783,740,487 | MDExOlB1bGxSZXF1ZXN0NTUzMDQ5Mzc4 | 1,622 | Add nemo checkpoint averaging script | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-11T22:07:58 | 2021-01-14T18:07:05 | 2021-01-14T16:26:18 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1622",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1622",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1622.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1622.patch",
"merged_at": "2021-01-14T16:26:17"
} | # Changelog
- Implements checkpoint averaging for all NeMo models
Signed-off-by: smajumdar <[email protected]> | {
"login": "blisc",
"id": 4763352,
"node_id": "MDQ6VXNlcjQ3NjMzNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4763352?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blisc",
"html_url": "https://github.com/blisc",
"followers_url": "https://api.github.com/users/blisc/followers",
"following_url": "https://api.github.com/users/blisc/following{/other_user}",
"gists_url": "https://api.github.com/users/blisc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blisc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blisc/subscriptions",
"organizations_url": "https://api.github.com/users/blisc/orgs",
"repos_url": "https://api.github.com/users/blisc/repos",
"events_url": "https://api.github.com/users/blisc/events{/privacy}",
"received_events_url": "https://api.github.com/users/blisc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1622/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1622/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1621 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1621/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1621/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1621/events | https://github.com/NVIDIA/NeMo/pull/1621 | 783,738,736 | MDExOlB1bGxSZXF1ZXN0NTUzMDQ3OTI4 | 1,621 | Update to Lightning 1.1.4 | {
"login": "blisc",
"id": 4763352,
"node_id": "MDQ6VXNlcjQ3NjMzNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4763352?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blisc",
"html_url": "https://github.com/blisc",
"followers_url": "https://api.github.com/users/blisc/followers",
"following_url": "https://api.github.com/users/blisc/following{/other_user}",
"gists_url": "https://api.github.com/users/blisc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blisc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blisc/subscriptions",
"organizations_url": "https://api.github.com/users/blisc/orgs",
"repos_url": "https://api.github.com/users/blisc/repos",
"events_url": "https://api.github.com/users/blisc/events{/privacy}",
"received_events_url": "https://api.github.com/users/blisc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 1 alert** when merging 73e9a8a210002ac77a8166a176651abbbea1a390 into d8150b41bbba0c2ee2e291b309651cef2ed248bf - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-81dddf30b77cce1659e91a2d505dce40fca10a67)\n\n**new alerts:**\n\n* 1 for Unused import"
] | 2021-01-11T22:04:49 | 2021-01-14T18:03:54 | 2021-01-14T18:03:51 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1621",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1621",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1621.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1621.patch",
"merged_at": "2021-01-14T18:03:51"
} | {
"login": "blisc",
"id": 4763352,
"node_id": "MDQ6VXNlcjQ3NjMzNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4763352?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blisc",
"html_url": "https://github.com/blisc",
"followers_url": "https://api.github.com/users/blisc/followers",
"following_url": "https://api.github.com/users/blisc/following{/other_user}",
"gists_url": "https://api.github.com/users/blisc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blisc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blisc/subscriptions",
"organizations_url": "https://api.github.com/users/blisc/orgs",
"repos_url": "https://api.github.com/users/blisc/repos",
"events_url": "https://api.github.com/users/blisc/events{/privacy}",
"received_events_url": "https://api.github.com/users/blisc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1621/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1621/timeline | null | null | true |
|
https://api.github.com/repos/NVIDIA/NeMo/issues/1620 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1620/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1620/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1620/events | https://github.com/NVIDIA/NeMo/pull/1620 | 783,694,534 | MDExOlB1bGxSZXF1ZXN0NTUzMDExNDMx | 1,620 | Correct onesided for PT < 1.7 compatibility | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-11T20:50:47 | 2021-01-11T21:53:17 | 2021-01-11T21:53:13 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1620",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1620",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1620.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1620.patch",
"merged_at": "2021-01-11T21:53:13"
} | # Bugfix
- PT 1.6 expects explicit bool type for `onesided` (defaults to true)
Signed-off-by: smajumdar <[email protected]> | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1620/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1620/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1619 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1619/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1619/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1619/events | https://github.com/NVIDIA/NeMo/pull/1619 | 783,488,099 | MDExOlB1bGxSZXF1ZXN0NTUyODM5OTE2 | 1,619 | Add enemo export for Quartznet | {
"login": "purn3ndu",
"id": 6643473,
"node_id": "MDQ6VXNlcjY2NDM0NzM=",
"avatar_url": "https://avatars.githubusercontent.com/u/6643473?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/purn3ndu",
"html_url": "https://github.com/purn3ndu",
"followers_url": "https://api.github.com/users/purn3ndu/followers",
"following_url": "https://api.github.com/users/purn3ndu/following{/other_user}",
"gists_url": "https://api.github.com/users/purn3ndu/gists{/gist_id}",
"starred_url": "https://api.github.com/users/purn3ndu/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/purn3ndu/subscriptions",
"organizations_url": "https://api.github.com/users/purn3ndu/orgs",
"repos_url": "https://api.github.com/users/purn3ndu/repos",
"events_url": "https://api.github.com/users/purn3ndu/events{/privacy}",
"received_events_url": "https://api.github.com/users/purn3ndu/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 2 alerts** when merging cb3abd555688d923e20c31164a600388aa9edd37 into c6b90b3dd1321b3e95df8f91b89f55326d52a81c - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-ee19b48f4fc82cf01b0ea9b682c3c6e76bef760b)\n\n**new alerts:**\n\n* 1 for Unused local variable\n* 1 for Unused import",
"@purn3ndu, thanks for the PR. Please fix code formatting, to unblock the CI. Here is how https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md",
"This pull request **introduces 2 alerts** when merging dbcb4a90037c1aecc465ecfcf07e8596e105eaf1 into f58ab531376a854e2e94b0fedc05705bc3711086 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-e3be39f303d7b0988cf60b491a1b4eef7881eded)\n\n**new alerts:**\n\n* 1 for Unused local variable\n* 1 for Unused import",
"This pull request **introduces 1 alert** when merging 874ba9580f22ebc42ff0ccbe8aace718192c30b6 into 4f46bd84d162da80a310c69f72980de935c1e99a - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-ea5def0ed5805635111f6760041ee8e26e6132a3)\n\n**new alerts:**\n\n* 1 for Unused import",
"This pull request **introduces 1 alert** when merging b00ab452dd7290884149bf0703306dbb5578396a into 84f69c582a76b66b208dc40ef18499b3448f2142 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-31d742aa9480834f1a27c4c6f3b218ad737f8e90)\n\n**new alerts:**\n\n* 1 for Unused import"
] | 2021-01-11T15:51:18 | 2021-01-13T01:57:51 | 2021-01-13T01:57:39 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1619",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1619",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1619.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1619.patch",
"merged_at": "2021-01-13T01:57:39"
} | For direct usage within ServiceMaker (Nemo to Jarvis) without TLT. (Experimental) | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1619/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1619/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1618 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1618/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1618/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1618/events | https://github.com/NVIDIA/NeMo/pull/1618 | 783,375,012 | MDExOlB1bGxSZXF1ZXN0NTUyNzQ0OTA0 | 1,618 | Update speech_to_text_infer.py | {
"login": "Slyne",
"id": 6286804,
"node_id": "MDQ6VXNlcjYyODY4MDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/6286804?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Slyne",
"html_url": "https://github.com/Slyne",
"followers_url": "https://api.github.com/users/Slyne/followers",
"following_url": "https://api.github.com/users/Slyne/following{/other_user}",
"gists_url": "https://api.github.com/users/Slyne/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Slyne/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Slyne/subscriptions",
"organizations_url": "https://api.github.com/users/Slyne/orgs",
"repos_url": "https://api.github.com/users/Slyne/repos",
"events_url": "https://api.github.com/users/Slyne/events{/privacy}",
"received_events_url": "https://api.github.com/users/Slyne/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-11T13:33:27 | 2021-01-14T16:03:10 | 2021-01-14T16:03:07 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1618",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1618",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1618.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1618.patch",
"merged_at": "2021-01-14T16:03:07"
} | Remove padding values in batch references. | {
"login": "blisc",
"id": 4763352,
"node_id": "MDQ6VXNlcjQ3NjMzNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4763352?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blisc",
"html_url": "https://github.com/blisc",
"followers_url": "https://api.github.com/users/blisc/followers",
"following_url": "https://api.github.com/users/blisc/following{/other_user}",
"gists_url": "https://api.github.com/users/blisc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blisc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blisc/subscriptions",
"organizations_url": "https://api.github.com/users/blisc/orgs",
"repos_url": "https://api.github.com/users/blisc/repos",
"events_url": "https://api.github.com/users/blisc/events{/privacy}",
"received_events_url": "https://api.github.com/users/blisc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1618/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1618/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1617 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1617/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1617/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1617/events | https://github.com/NVIDIA/NeMo/pull/1617 | 783,082,081 | MDExOlB1bGxSZXF1ZXN0NTUyNDk3NzYw | 1,617 | Tarred dataset support for audio classification and label models | {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 5 alerts** when merging f2b24d2a402f18b2856dc4da6bb769c04ff5ab9d into c6b90b3dd1321b3e95df8f91b89f55326d52a81c - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-b24b016b8363544667997fab2a9e26552d659897)\n\n**new alerts:**\n\n* 5 for Unused import",
"This pull request **introduces 5 alerts** when merging 912d5bc8f1038370e8204bd7ec286311be30bbc0 into f58ab531376a854e2e94b0fedc05705bc3711086 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-2202875a47eb9b964ced4f3daf3b21c720b94475)\n\n**new alerts:**\n\n* 5 for Unused import",
"This pull request **introduces 5 alerts** when merging 06f8f22ad1f57b8b6284e1f15d9ddcc48fe3396b into 4f46bd84d162da80a310c69f72980de935c1e99a - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-00b964fd177cb1ff02f3c0bbbe46430a06c6a885)\n\n**new alerts:**\n\n* 5 for Unused import",
"This pull request **introduces 5 alerts** when merging d33f7abe5f0ed3f7184323333e87cde90ceb13d0 into 84f69c582a76b66b208dc40ef18499b3448f2142 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-900b7bc7afc05412f0a9528a41d7074af0a265d4)\n\n**new alerts:**\n\n* 5 for Unused import",
"This pull request **introduces 5 alerts** when merging 7f03de20835c20c143ba55afa686e7271be4281f into bc5f03459c7273b71c50af7c2378d5e950b408c4 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-c1396ebe7f0941e35b9ccc00e4c912955ba99627)\n\n**new alerts:**\n\n* 5 for Unused import",
"This pull request **introduces 5 alerts** when merging c497e0baca72a36276c33c223e3219afd70ac175 into e10bb0348daff62348f84bdfb1845b1226d74f11 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-437b1faed6741fac7cfef4327215797da60dbb33)\n\n**new alerts:**\n\n* 5 for Unused import",
"This pull request **introduces 5 alerts** when merging 474451f92dcce00376d1beefba2ab4566aef3cb3 into eb927fe6aa69f8d73705dcb785a2afb95e4c279d - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-9421844dc6d44200f289366a794eb6b72a29b067)\n\n**new alerts:**\n\n* 5 for Unused import",
"This pull request **introduces 1 alert** when merging b773f86635c70beb5dc6ee70727f73bf2aacd4e9 into a42987279f0226aea7d776840ff06a56c4bfb259 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-67875e7a312b596b2e5a9b66c09eab9462491b0a)\n\n**new alerts:**\n\n* 1 for Unused import",
"This pull request **introduces 1 alert** when merging 4ada4f581c6abe327f6f08e1b6f5a5f201560474 into a42987279f0226aea7d776840ff06a56c4bfb259 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-a8378be797bbb17de3d67bffd35b162f8222240f)\n\n**new alerts:**\n\n* 1 for Unused import",
"This pull request **introduces 1 alert** when merging 8371682f5183a345449d4f81d149206755d32007 into df360cd3c856c645d23505305ee8b689636b2dd1 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-4ebc8a483cd445e0383ded8f9057f907313a0c58)\n\n**new alerts:**\n\n* 1 for Unused import",
"This pull request **introduces 1 alert** when merging f82ac7b57b043ec3b743ba8d64b734ec2f894b2a into df360cd3c856c645d23505305ee8b689636b2dd1 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-86409fce34c63eb58ec88e01db99b1245229baa9)\n\n**new alerts:**\n\n* 1 for Unused import",
"This pull request **introduces 1 alert** when merging 308a4c6c52535e6127aa08a91435e7ba836b80b2 into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-884f63e13a8408234e8dd35503b8fb565288324a)\n\n**new alerts:**\n\n* 1 for Unused import",
"Augmentor is passed to featurizer in classification and label model. And featurizer is passed to `AudioLabelDataset`/`AudioToSpeechLabelDataSet` by `get_classification_label_dataset/get_speech_label_dataset`. Well `audio_to_text` process augmentor and featurizer inside `_AudioTextDataset` \r\n\r\nI think expose featurzier (pass in augmentor) (as in classification models ) makes more sense since one day we may end up using different featurizer. And its clearer what exactly is going on for augmentation\r\n\r\nwell I won’t change `audio_to_text` here cause it doesn’t belong to it. but leave here a note and might change it later.",
"This pull request **introduces 1 alert** when merging e05a8adfb6e192638f683429d1e205042afc0b66 into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-ff8b93ef0e892d25a6a32bf2441a5935551e1ebb)\n\n**new alerts:**\n\n* 1 for Unused import",
"This pull request **introduces 1 alert** when merging a68e5ea1617392d1a55efd3f5d91a272ff321c1b into 630c7e81b527ee42ab3e65319aadb4a941fb5aab - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-20c6223d5cfc44bd69cdd69d188e29ef7edd344f)\n\n**new alerts:**\n\n* 1 for Unused import"
] | 2021-01-11T05:43:51 | 2021-01-30T01:43:53 | 2021-01-30T01:43:32 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1617",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1617",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1617.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1617.patch",
"merged_at": "2021-01-30T01:43:32"
} | Cleanup and continued work on previous PR #1578
- [x] Refactor classification models and label models in audio_to_label
- [x] Add support for tarred dataset for audio_to_label
- [x] Update classification and label models
- [x] Update VAD inference (should belong to Speaker Diarization pipelines PR but need to be used here)
- [x] Update training script, config, and instructions to use tarred dataset and improve consistency (classification and speaker model)
- [x] Update converting_to_tarred_dataset script to support label models.
- [x] Upload test data
- [x] Add test scripts
- [x] Ok a new one. enable using the duplicate name for tarred dataloader. (webdataset doesn't allow it)
Will try some hacky ways and discuss with people about a cleaner / long-term way after break.
- [x] Add instruction/warning that audio_filepath **should not contain "-sub"** cause we will need it to handle duplicate filename (different offset) samples.
Signed-off-by: fayejf <[email protected]> | {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1617/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1617/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1616 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1616/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1616/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1616/events | https://github.com/NVIDIA/NeMo/pull/1616 | 782,590,887 | MDExOlB1bGxSZXF1ZXN0NTUyMTE4OTI1 | 1,616 | support other audio format | {
"login": "khursani8",
"id": 5404903,
"node_id": "MDQ6VXNlcjU0MDQ5MDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5404903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khursani8",
"html_url": "https://github.com/khursani8",
"followers_url": "https://api.github.com/users/khursani8/followers",
"following_url": "https://api.github.com/users/khursani8/following{/other_user}",
"gists_url": "https://api.github.com/users/khursani8/gists{/gist_id}",
"starred_url": "https://api.github.com/users/khursani8/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khursani8/subscriptions",
"organizations_url": "https://api.github.com/users/khursani8/orgs",
"repos_url": "https://api.github.com/users/khursani8/repos",
"events_url": "https://api.github.com/users/khursani8/events{/privacy}",
"received_events_url": "https://api.github.com/users/khursani8/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This MR, make training so much slower. Pydub takes too much of CPU to convert media files. Need to make sure pydub is only used for unsupported media formats, right now we using FLAC, and it goes through pydub, but libsnd supports flac.\r\n\r\n\r\n\r\nPart in the middle is with MR, and parts before and after are without it. Training done on DGX A100.",
"Ok that's a problem. I'll go ahead and change the logic a bit",
"Hi @blisc,\r\nI create [hotfix](https://github.com/NVIDIA/NeMo/pull/1630) for this bug ",
"@yoks, can you try #1630 and see if performance returns?",
"Will test as soon as we will have free video card available on DGX (tomorrow most likely)",
"Yea looks like it works as before (maybe a little bit slower, but can be related to task/node load).",
"Is there a reason this isn't using torchaudio? It supports multiple formats in a single library. ",
"I don’t have experience using torchaudio, after take a look at their repo I think torchaudio will be better for this, support multiple audio format including kaldi format. Maybe someone know how to use torchaudio better can contribute to this",
"> I don’t have experience using torchaudio, after take a look at their repo I think torchaudio will be better for this, support multiple audio format including kaldi format. Maybe someone know how to use torchaudio better can contribute to this\r\n\r\nHi\r\n\r\ntorchaudio maintainer here. I commented in #1549 but the current release of torchaudio does not support file-like object. I am adding that support right now and if will be released in the next release. (Early March). \r\nIs there any other requirements that NeMo has?",
"Hmmm, I'm not related to NeMo actually, I also don't know the requirements, I think @blisc can answer this question.",
"Theres a [very detailed and helpful response](https://github.com/NVIDIA/NeMo/issues/1549#issuecomment-767058227) from @titu1994 on why torchaudio isn't used as a dependency. "
] | 2021-01-09T11:44:57 | 2021-01-28T15:56:42 | 2021-01-11T23:12:21 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1616",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1616",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1616.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1616.patch",
"merged_at": "2021-01-11T23:12:21"
} | Might solve #1549
Currently I let pydub handle file that is not .wav format because there is something I'm not understand with current implementation.
1. "samples.transpose()" before init with cls
2. User also need to install [ffmpeg](https://github.com/jiaaro/pydub#getting-ffmpeg-set-up) to be able to load non wav file format, I don't know where to put the warning or write a script when user pip install
3. I'm not sure if NeMo dataloader will cache the loaded samples because it might convert using ffmpeg everytime it try to load non wav file.
So far I only tested inference with mp3 audio from Common Voice with model trained on wav file format, there is no problem with the prediction result. | {
"login": "blisc",
"id": 4763352,
"node_id": "MDQ6VXNlcjQ3NjMzNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4763352?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blisc",
"html_url": "https://github.com/blisc",
"followers_url": "https://api.github.com/users/blisc/followers",
"following_url": "https://api.github.com/users/blisc/following{/other_user}",
"gists_url": "https://api.github.com/users/blisc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blisc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blisc/subscriptions",
"organizations_url": "https://api.github.com/users/blisc/orgs",
"repos_url": "https://api.github.com/users/blisc/repos",
"events_url": "https://api.github.com/users/blisc/events{/privacy}",
"received_events_url": "https://api.github.com/users/blisc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1616/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1616/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1615 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1615/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1615/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1615/events | https://github.com/NVIDIA/NeMo/pull/1615 | 782,512,274 | MDExOlB1bGxSZXF1ZXN0NTUyMDU0NjE5 | 1,615 | timestep fix for greedy search | {
"login": "khursani8",
"id": 5404903,
"node_id": "MDQ6VXNlcjU0MDQ5MDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5404903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khursani8",
"html_url": "https://github.com/khursani8",
"followers_url": "https://api.github.com/users/khursani8/followers",
"following_url": "https://api.github.com/users/khursani8/following{/other_user}",
"gists_url": "https://api.github.com/users/khursani8/gists{/gist_id}",
"starred_url": "https://api.github.com/users/khursani8/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khursani8/subscriptions",
"organizations_url": "https://api.github.com/users/khursani8/orgs",
"repos_url": "https://api.github.com/users/khursani8/repos",
"events_url": "https://api.github.com/users/khursani8/events{/privacy}",
"received_events_url": "https://api.github.com/users/khursani8/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Thanks! Could you run the style fix please?",
"Thanks for the PR fixes!"
] | 2021-01-09T04:48:22 | 2021-01-11T18:14:18 | 2021-01-11T18:03:35 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1615",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1615",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1615.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1615.patch",
"merged_at": "2021-01-11T18:03:35"
} | fix for strategy:
greedy and greedy_batch
beam of beam_size 1 | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1615/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1615/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1614 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1614/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1614/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1614/events | https://github.com/NVIDIA/NeMo/issues/1614 | 782,388,811 | MDU6SXNzdWU3ODIzODg4MTE= | 1,614 | Multiple optimizers drops logs | {
"login": "1-800-BAD-CODE",
"id": 50530592,
"node_id": "MDQ6VXNlcjUwNTMwNTky",
"avatar_url": "https://avatars.githubusercontent.com/u/50530592?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1-800-BAD-CODE",
"html_url": "https://github.com/1-800-BAD-CODE",
"followers_url": "https://api.github.com/users/1-800-BAD-CODE/followers",
"following_url": "https://api.github.com/users/1-800-BAD-CODE/following{/other_user}",
"gists_url": "https://api.github.com/users/1-800-BAD-CODE/gists{/gist_id}",
"starred_url": "https://api.github.com/users/1-800-BAD-CODE/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/1-800-BAD-CODE/subscriptions",
"organizations_url": "https://api.github.com/users/1-800-BAD-CODE/orgs",
"repos_url": "https://api.github.com/users/1-800-BAD-CODE/repos",
"events_url": "https://api.github.com/users/1-800-BAD-CODE/events{/privacy}",
"received_events_url": "https://api.github.com/users/1-800-BAD-CODE/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"I updated pytorch lightning and that seems to have fixed it. Must have been a specific combination of PTL + NeMo that didn't work. Closing,"
] | 2021-01-08T20:51:32 | 2021-01-11T14:48:50 | 2021-01-11T14:48:49 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
With multiple optimizers in the `training_step`, only the final optimizer's logs get printed/logged on the progress bar and in tfevents file. No logged values from the previous optimizers appear on the progress bar or in the tfevents.
**Steps/Code to reproduce bug**
Running examples/tts/melgan.py will show the issue. Only `loss_generator` is logged, despite in the first optimizer's code `self.log("loss_discriminator", sum_loss_dis, prog_bar=True, sync_dist=True)`
**Expected behavior**
All values logged in the earlier optimizers should persist and be logged.
**Environment overview (please complete the following information)**
- Environment location: Bare-metal
- Method of NeMo install: source, current head (1.0.0b4)
**Environment details**
- PyTorch version 1.7
- Python version 3.7
| {
"login": "1-800-BAD-CODE",
"id": 50530592,
"node_id": "MDQ6VXNlcjUwNTMwNTky",
"avatar_url": "https://avatars.githubusercontent.com/u/50530592?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/1-800-BAD-CODE",
"html_url": "https://github.com/1-800-BAD-CODE",
"followers_url": "https://api.github.com/users/1-800-BAD-CODE/followers",
"following_url": "https://api.github.com/users/1-800-BAD-CODE/following{/other_user}",
"gists_url": "https://api.github.com/users/1-800-BAD-CODE/gists{/gist_id}",
"starred_url": "https://api.github.com/users/1-800-BAD-CODE/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/1-800-BAD-CODE/subscriptions",
"organizations_url": "https://api.github.com/users/1-800-BAD-CODE/orgs",
"repos_url": "https://api.github.com/users/1-800-BAD-CODE/repos",
"events_url": "https://api.github.com/users/1-800-BAD-CODE/events{/privacy}",
"received_events_url": "https://api.github.com/users/1-800-BAD-CODE/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1614/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1614/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1613 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1613/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1613/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1613/events | https://github.com/NVIDIA/NeMo/issues/1613 | 782,182,327 | MDU6SXNzdWU3ODIxODIzMjc= | 1,613 | [Question] Porting speaker recognition from 0.11.0 to 1.0.0b | {
"login": "TobiasPuetzKenbun",
"id": 73841074,
"node_id": "MDQ6VXNlcjczODQxMDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/73841074?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/TobiasPuetzKenbun",
"html_url": "https://github.com/TobiasPuetzKenbun",
"followers_url": "https://api.github.com/users/TobiasPuetzKenbun/followers",
"following_url": "https://api.github.com/users/TobiasPuetzKenbun/following{/other_user}",
"gists_url": "https://api.github.com/users/TobiasPuetzKenbun/gists{/gist_id}",
"starred_url": "https://api.github.com/users/TobiasPuetzKenbun/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/TobiasPuetzKenbun/subscriptions",
"organizations_url": "https://api.github.com/users/TobiasPuetzKenbun/orgs",
"repos_url": "https://api.github.com/users/TobiasPuetzKenbun/repos",
"events_url": "https://api.github.com/users/TobiasPuetzKenbun/events{/privacy}",
"received_events_url": "https://api.github.com/users/TobiasPuetzKenbun/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"Hi @TobiasPuetzKenbun ,\r\n\r\nDid you check out [this script ](https://github.com/NVIDIA/NeMo/blob/main/scripts/asr_checkpoint_port.py)to convert your 0.11 checkpoints to 1.0? \r\n\r\nAnd to your second question yes we did that on purpose, initially when we started out speaker recognition it was first trained end to end using cross entropy loss and hence last but one linear transformed output gave good results, but when we moved loss to angular softmax, the final transformed linear output showed better results on EER (though slightly), not a big change but decided to do it. \r\n\r\nLet me know if you have any more questions : ) ",
"Thank you for the quick answer!\r\n\r\n> Did you check out this script to convert your 0.11 checkpoints to 1.0?\r\n\r\nYes, I've been using that script. It wasn't directly compatible since some module names were changed from 0.11 to 1.0, the mid1 & mid2 layers are now wrapped in a `Sequential`, so it was necessary to rename these keys in the decoder state dict to `emb_layers.0` / `emb_layers.1` before the `asr_checkpoint_port` script would work.\r\n\r\n> And to your second question yes we did that on purpose, initially when we started out speaker recognition it was first trained end to end using cross entropy loss and hence last but one linear transformed output gave good results, but when we moved loss to angular softmax, the final transformed linear output showed better results on EER (though slightly), not a big change but decided to do it.\r\n\r\nThanks for the explanation, so for backward compatibility, I'll add my own legacy `SpeakerDecoder`."
] | 2021-01-08T15:06:13 | 2021-01-25T07:28:46 | 2021-01-25T07:28:46 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi, thanks for the great library!
I am currently porting a 0.11 speaker recognition checkpoint to 1.0.0b, I ran into some difficulties reproducing the outputs of the 0.11 checkpoint in 1.0.0b. In the 0.11 model, the decoder is `JasperDecoderForSpkrClass`, to my understanding, the corresponding class in 1.0.0b is `SpeakerDecoder`.
In [JasperDecoderForSpkrClass.forward](https://github.com/NVIDIA/NeMo/blob/ac09a4cc2ae3fdfedaf6f6832bd2dfca94de19ec/nemo/collections/asr/jasper.py#L459), the returned embedding is the first transformation of the pooled encoder output, in the current release, [SpeakerDecoder.forward](https://github.com/NVIDIA/NeMo/blob/ede204df0d5adc54714981511b83cf6d2fa905b2/nemo/collections/asr/modules/conv_asr.py#L421) returns the last transformation of the pool. Is there a reason for this change?
| {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1613/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1613/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1612 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1612/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1612/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1612/events | https://github.com/NVIDIA/NeMo/pull/1612 | 781,776,276 | MDExOlB1bGxSZXF1ZXN0NTUxNDQ5NjUx | 1,612 | Temporarily set upper limit of PTL to fix CI | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-08T01:38:36 | 2021-01-08T19:08:27 | 2021-01-08T07:38:24 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1612",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1612",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1612.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1612.patch",
"merged_at": "2021-01-08T07:38:24"
} | Signed-off-by: smajumdar <[email protected]> | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1612/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1612/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1611 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1611/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1611/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1611/events | https://github.com/NVIDIA/NeMo/pull/1611 | 781,658,933 | MDExOlB1bGxSZXF1ZXN0NTUxMzQ0MTUw | 1,611 | NMT combine embedding plus encoder/decoder into one neural module. | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 9 alerts** when merging 5a92be0f55a1185bf37c846b9367ab1f897fda2c into 7cb30843427fdf77a55a0cdd67cbbde3c067c850 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-07bdc86a1172f21038bff622c9c4381f3d7e1e83)\n\n**new alerts:**\n\n* 9 for Unused import",
"This pull request **introduces 9 alerts** when merging 783901cac81afff9c79d2c5596bdb734ff48a107 into 7cb30843427fdf77a55a0cdd67cbbde3c067c850 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-02c819094dccfeaa3330e727ebbb8dff941d4a3d)\n\n**new alerts:**\n\n* 9 for Unused import",
"This pull request **introduces 9 alerts** when merging 124c3e990ab085752e6220b638a7d274246b11ec into 36c4a8fcca4e6e74360886fd78818055114a15ec - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-5bfa7d35da4a8db9cdd13767f81688f1bdbb98f4)\n\n**new alerts:**\n\n* 9 for Unused import",
"This pull request **introduces 9 alerts** when merging 29f44bf0427545bb81a686035d7e40f858d68cbf into 36c4a8fcca4e6e74360886fd78818055114a15ec - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-9c0738081d80d722cfaf578afc5b3f7c3dcc669f)\n\n**new alerts:**\n\n* 9 for Unused import",
"This pull request **introduces 9 alerts** when merging add99cda5189594483a95950dc984fe89621d4d0 into 36c4a8fcca4e6e74360886fd78818055114a15ec - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-481382bf66d61d91fa345a3c996222082a1feeee)\n\n**new alerts:**\n\n* 9 for Unused import",
"This pull request **introduces 8 alerts** when merging 78a3bcf9bc0da9e3c69c96192b8d274715f6bd4a into 36c4a8fcca4e6e74360886fd78818055114a15ec - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-f991a030d4546452dae3f7e6370e14f6fe6d723e)\n\n**new alerts:**\n\n* 8 for Unused import"
] | 2021-01-07T22:26:50 | 2021-01-12T02:44:48 | 2021-01-12T01:56:07 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1611",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1611",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1611.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1611.patch",
"merged_at": "2021-01-12T01:56:07"
} | This PR create encoder and decoder neural modules for `TransformerEmbedding` and `TransfomerEncoder` / `TransformerDecoder`.
This is making it so that the neural types will be the same across NeMo Transformer, HF BERT, and Megatron BERT encoders.
The idea is to have `EncoderModule` which accepts `input_ids`, ` encoder_mask`, and `num_tokentypes` and outputs `last_hidden_states`.
Then `DecoderModule` will accept `input_ids`, `decoder_mask`, `encoder_mask` and `encoder_states` and outputs `last_hidden_states`.
This PR also cleans up the relevant configs as the configuration needed to be updated to accept the new model structure. | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1611/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1611/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1610 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1610/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1610/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1610/events | https://github.com/NVIDIA/NeMo/pull/1610 | 781,502,893 | MDExOlB1bGxSZXF1ZXN0NTUxMjE1Mjc4 | 1,610 | Patch colab omegaconf resolution | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-07T18:02:19 | 2021-01-08T19:08:34 | 2021-01-08T08:14:30 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1610",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1610",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1610.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1610.patch",
"merged_at": "2021-01-08T08:14:30"
} | # Bugfix
- Resolution for dataclass somehow interferes with key interpolation
- Patch via check for type explicitly
Resolves https://github.com/NVIDIA/NeMo/issues/1606
@ekmb for review | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1610/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1610/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1609 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1609/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1609/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1609/events | https://github.com/NVIDIA/NeMo/issues/1609 | 781,383,433 | MDU6SXNzdWU3ODEzODM0MzM= | 1,609 | NeMo 0.10.1, jasper_eval -> TypeError: only integer tensors of a single element can be converted... | {
"login": "AlexeiSLazarev",
"id": 20320806,
"node_id": "MDQ6VXNlcjIwMzIwODA2",
"avatar_url": "https://avatars.githubusercontent.com/u/20320806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AlexeiSLazarev",
"html_url": "https://github.com/AlexeiSLazarev",
"followers_url": "https://api.github.com/users/AlexeiSLazarev/followers",
"following_url": "https://api.github.com/users/AlexeiSLazarev/following{/other_user}",
"gists_url": "https://api.github.com/users/AlexeiSLazarev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AlexeiSLazarev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlexeiSLazarev/subscriptions",
"organizations_url": "https://api.github.com/users/AlexeiSLazarev/orgs",
"repos_url": "https://api.github.com/users/AlexeiSLazarev/repos",
"events_url": "https://api.github.com/users/AlexeiSLazarev/events{/privacy}",
"received_events_url": "https://api.github.com/users/AlexeiSLazarev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"can you please switch to the NeMo version 1.0.0b3 or above ?",
"Looks like this is still an issue with 1.0.0b3, but the fix @ https://github.com/NVIDIA/NeMo/issues/1581#issuecomment-748399696\r\nworked for me."
] | 2021-01-07T15:10:43 | 2021-05-28T08:42:03 | 2021-05-28T08:42:03 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Using environment - Docker image nvcr.io/nvidia/nemo:v0.10 with additionally installed CTC DECODERS (https://github.com/NVIDIA/OpenSeq2Seq).
By this tutorial:
https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/v0.10.1/asr/tutorial.html
running jasper_eval.py leads to the error:
File "/workspace/nemo/examples/asr/jasper_eval.py", line 158, in main
logprob.append(batch[j][: evaluated_tensors[4][i][j], :].cpu().numpy())
TypeError: only integer tensors of a single element can be converted to an index
What am i doing wrong?
Is there a Docker image with fully preinstalled libs (CTC DECODERS, etc.) to run the examples?
Full Traceback:
root@a44a85ffe228:/workspace# python /workspace/nemo/examples/asr/jasper_eval.py --model_config=/workspace/model/quartznet15x5_ru.yaml --eval_datasets=/workspace/dataset/test_quartznetru.json --load_dir=/workspace/model --lm_path=/workspace/model/lm.binary
/opt/conda/lib/python3.6/site-packages/torchaudio/backend/utils.py:54: UserWarning: "sox" backend is being deprecated. The default backend will be changed to "sox_io" backend in 0.8.0 and "sox" backend will be removed in 0.9.0. Please migrate to "sox_io" backend. Please refer to https://github.com/pytorch/audio/issues/903 for the detail.
'"sox" backend is being deprecated. '
[NeMo I 2021-01-07 14:40:21 collections:138] Dataset loaded with 15 files totalling 0.13 hours
[NeMo I 2021-01-07 14:40:21 collections:139] 0 files were filtered totalling 0.00 hours
[NeMo I 2021-01-07 14:40:21 jasper_eval:117] Evaluating 15 examples
[NeMo I 2021-01-07 14:40:21 features:144] PADDING: 16
[NeMo I 2021-01-07 14:40:21 features:152] STFT using conv
[NeMo I 2021-01-07 14:40:25 jasper_eval:130] ================================
[NeMo I 2021-01-07 14:40:25 jasper_eval:131] Number of parameters in encoder: 18894656
[NeMo I 2021-01-07 14:40:25 jasper_eval:132] Number of parameters in decoder: 36900
[NeMo I 2021-01-07 14:40:25 jasper_eval:133] Total number of parameters in model: 18931556
[NeMo I 2021-01-07 14:40:25 jasper_eval:134] ================================
[NeMo I 2021-01-07 14:40:25 actions:1454] Restoring JasperEncoder from /workspace/model/JasperEncoder-STEP-10150.pt
[NeMo I 2021-01-07 14:40:25 actions:1454] Restoring JasperDecoderForCTC from /workspace/model/JasperDecoderForCTC-STEP-10150.pt
Selected optimization level O1: Insert automatic casts around Pytorch functions and Tensor methods.
Defaults for this optimization level are:
enabled : True
opt_level : O1
cast_model_type : None
patch_torch_functions : True
keep_batchnorm_fp32 : None
master_weights : None
loss_scale : dynamic
Processing user overrides (additional kwargs that are not None)...
After processing overrides, optimization options are:
enabled : True
opt_level : O1
cast_model_type : None
patch_torch_functions : True
keep_batchnorm_fp32 : None
master_weights : None
loss_scale : dynamic
Warning: multi_tensor_applier fused unscale kernel is unavailable, possibly because apex was installed without --cuda_ext --cpp_ext. Using Python fallback. Original ImportError was: ImportError('/opt/conda/lib/python3.6/site-packages/amp_C.cpython-36m-x86_64-linux-gnu.so: undefined symbol: _ZN3c10lsERSoNS_12TensorTypeIdE',)
[NeMo I 2021-01-07 14:40:25 actions:728] Evaluating batch 0 out of 1
[NeMo I 2021-01-07 14:40:25 jasper_eval:152] Greedy WER inf%
Traceback (most recent call last):
File "/workspace/nemo/examples/asr/jasper_eval.py", line 207, in <module>
main()
File "/workspace/nemo/examples/asr/jasper_eval.py", line 158, in main
logprob.append(batch[j][: evaluated_tensors[4][i][j], :].cpu().numpy())
TypeError: only integer tensors of a single element can be converted to an index
**Steps/Code to reproduce bug**
Ubuntu 20.04
Install Docker
Pull nvcr.io/nvidia/nemo:v0.10
Install SWIG
apt-get update
apt-get install swig -y
Install torchaudio
pip install torchaudio
Install CTC DECODERS
git clone https://github.com/NVIDIA/OpenSeq2Seq -b ctc-decoders
cd /workspace/OpenSeq2Seq/decoders
./setup.sh
PREPARE DATASET
copy data and model inside container
**Environment overview (please complete the following information)**
nvcr.io/nvidia/nemo:v0.10
**Additional context**
NVIDIA GTX 980Ti
| {
"login": "VahidooX",
"id": 23551647,
"node_id": "MDQ6VXNlcjIzNTUxNjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/23551647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VahidooX",
"html_url": "https://github.com/VahidooX",
"followers_url": "https://api.github.com/users/VahidooX/followers",
"following_url": "https://api.github.com/users/VahidooX/following{/other_user}",
"gists_url": "https://api.github.com/users/VahidooX/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VahidooX/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VahidooX/subscriptions",
"organizations_url": "https://api.github.com/users/VahidooX/orgs",
"repos_url": "https://api.github.com/users/VahidooX/repos",
"events_url": "https://api.github.com/users/VahidooX/events{/privacy}",
"received_events_url": "https://api.github.com/users/VahidooX/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1609/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1609/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1608 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1608/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1608/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1608/events | https://github.com/NVIDIA/NeMo/pull/1608 | 780,967,859 | MDExOlB1bGxSZXF1ZXN0NTUwNzcyNjcy | 1,608 | Workaround for TRT lack of support for DOUBLE | {
"login": "borisfom",
"id": 14189615,
"node_id": "MDQ6VXNlcjE0MTg5NjE1",
"avatar_url": "https://avatars.githubusercontent.com/u/14189615?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/borisfom",
"html_url": "https://github.com/borisfom",
"followers_url": "https://api.github.com/users/borisfom/followers",
"following_url": "https://api.github.com/users/borisfom/following{/other_user}",
"gists_url": "https://api.github.com/users/borisfom/gists{/gist_id}",
"starred_url": "https://api.github.com/users/borisfom/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/borisfom/subscriptions",
"organizations_url": "https://api.github.com/users/borisfom/orgs",
"repos_url": "https://api.github.com/users/borisfom/repos",
"events_url": "https://api.github.com/users/borisfom/events{/privacy}",
"received_events_url": "https://api.github.com/users/borisfom/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"@borisfom please fix formatting for CI to start:\r\n```\r\npython setup.py style --fix\r\n```",
"This pull request **introduces 1 alert** when merging f261f1a3a5ceaa203dfe605be371dcdc20e4d95f into 4f46bd84d162da80a310c69f72980de935c1e99a - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-abaf66c15dc6db2b910655263f4b9046ab0386e2)\n\n**new alerts:**\n\n* 1 for Syntax error",
"oh, I see @okuchaiev merged this... :]"
] | 2021-01-07T01:59:35 | 2021-01-15T01:52:23 | 2021-01-15T01:08:06 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1608",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1608",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1608.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1608.patch",
"merged_at": "2021-01-15T01:08:06"
} | Background:
https://nvbugswb.nvidia.com/NvBugs5/SWBug.aspx?bugid=3221866&cmtNo=
| {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1608/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1608/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1607 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1607/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1607/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1607/events | https://github.com/NVIDIA/NeMo/issues/1607 | 780,854,379 | MDU6SXNzdWU3ODA4NTQzNzk= | 1,607 | How to migrate a Quartznet 15x5 model from NeMo 0.10.1 to 1.0.0b3? | {
"login": "AlexeiSLazarev",
"id": 20320806,
"node_id": "MDQ6VXNlcjIwMzIwODA2",
"avatar_url": "https://avatars.githubusercontent.com/u/20320806?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/AlexeiSLazarev",
"html_url": "https://github.com/AlexeiSLazarev",
"followers_url": "https://api.github.com/users/AlexeiSLazarev/followers",
"following_url": "https://api.github.com/users/AlexeiSLazarev/following{/other_user}",
"gists_url": "https://api.github.com/users/AlexeiSLazarev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/AlexeiSLazarev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/AlexeiSLazarev/subscriptions",
"organizations_url": "https://api.github.com/users/AlexeiSLazarev/orgs",
"repos_url": "https://api.github.com/users/AlexeiSLazarev/repos",
"events_url": "https://api.github.com/users/AlexeiSLazarev/events{/privacy}",
"received_events_url": "https://api.github.com/users/AlexeiSLazarev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"You can try this script https://github.com/NVIDIA/NeMo/blob/main/scripts/asr_checkpoint_port.py ",
"When i run the command:\r\npython ./asr_checkpoint_port.py --config_path='/workspace/nemo/quartznet_ru/quartznet15x5_ru.yaml' --encoder_ckpt='/workspace/nemo/quartznet_ru/JasperEncoder-STEP-520000.pt' --decoder_ckpt='/workspace/nemo/quartznet_ru/JasperDecoderForCTC-STEP-520000.pt' --output_path='/workspace/nemo/quartznet_ru/quartznet15x5_ru.nemo'\r\n\r\nI've got an error:\r\nModuleNotFoundError: No module named 'ruamel'\r\n\r\nChanging from _ruamel.yaml import YAML_ to from _ruamel_yaml import YAML_ inside asr_checkpoint_port.py resolved this error.\r\n\r\nBut got another one (copy and paste full trace):\r\nroot@4506e32dbac2:/workspace/nemo/scripts# python ./asr_checkpoint_port.py --config_path='/workspace/nemo/quartznet_ru/quartznet15x5_ru.yaml' --encoder_ckpt='/workspace/nemo/quartznet_ru/JasperEncoder-STEP-520000.pt' --decoder_ckpt='/workspace/nemo/quartznet_ru/JasperDecoderForCTC-STEP-520000.pt' --output_path='/workspace/nemo/quartznet_ru/quartznet15x5_ru.nemo'\r\n[NeMo W 2021-01-07 10:00:50 experimental:28] Module nemo.collections.asr.data.audio_to_text.AudioToCharDataset is experimental, not ready for production and is not fully supported. Use at your own risk.\r\n[NeMo W 2021-01-07 10:00:50 experimental:28] Module nemo.collections.asr.data.audio_to_text.AudioToBPEDataset is experimental, not ready for production and is not fully supported. Use at your own risk.\r\n[NeMo W 2021-01-07 10:00:50 experimental:28] Module nemo.collections.asr.data.audio_to_text.AudioLabelDataset is experimental, not ready for production and is not fully supported. Use at your own risk.\r\n[NeMo W 2021-01-07 10:00:50 experimental:28] Module nemo.collections.asr.data.audio_to_text.TarredAudioToTextDataset is experimental, not ready for production and is not fully supported. Use at your own risk.\r\n[NeMo W 2021-01-07 10:00:50 experimental:28] Module nemo.collections.asr.data.audio_to_text.TarredAudioToCharDataset is experimental, not ready for production and is not fully supported. Use at your own risk.\r\n[NeMo W 2021-01-07 10:00:50 experimental:28] Module nemo.collections.asr.data.audio_to_text.TarredAudioToBPEDataset is experimental, not ready for production and is not fully supported. Use at your own risk.\r\n[NeMo W 2021-01-07 10:00:50 experimental:28] Module <class 'nemo.collections.asr.losses.ctc.CTCLoss'> is experimental, not ready for production and is not fully supported. Use at your own risk.\r\n[NeMo W 2021-01-07 10:00:50 experimental:28] Module <class 'nemo.collections.asr.data.audio_to_text_dali.AudioToCharDALIDataset'> is experimental, not ready for production and is not fully supported. Use at your own risk.\r\n\r\nWARNING, path does not exist: KALDI_ROOT=/mnt/matylda5/iveselyk/Tools/kaldi-trunk\r\n(please add 'export KALDI_ROOT=<your_path>' in your $HOME/.profile)\r\n(or run as: KALDI_ROOT=<your_path> python <your_script>.py)\r\n\r\n\r\n[NeMo I 2021-01-07 10:00:50 asr_checkpoint_port:52] Creating ASR NeMo 1.0 model\r\nTraceback (most recent call last):\r\n File \"./asr_checkpoint_port.py\", line 71, in <module>\r\n main(args.config_path, args.encoder_ckpt, args.decoder_ckpt, args.output_path, args.model_type)\r\n File \"./asr_checkpoint_port.py\", line 53, in main\r\n model = nemo_asr.models.EncDecCTCModel(cfg=DictConfig(params['model']))\r\n File \"/opt/conda/lib/python3.6/site-packages/omegaconf/dictconfig.py\", line 81, in __init__\r\n self._set_value(content)\r\n File \"/opt/conda/lib/python3.6/site-packages/omegaconf/dictconfig.py\", line 549, in _set_value\r\n raise ValidationError(msg=msg) # pragma: no cover\r\nomegaconf.errors.ValidationError\r\n",
"looks like ruamel isn't properly installed in your environment",
"I'm getting the same error of \"pragma: no cover omegaconf.errors.ValidationError\"\r\nand \"Unsupported value type : QuartzNet\"",
"I figured out the problem -- I changed the yaml file to be like this: https://github.com/NVIDIA/NeMo/blob/main/examples/asr/conf/quartznet_15x5.yaml\r\n\r\nI believe I was using an old version of the yaml file that includes \"AudioToTextDataLayer\", \"AudioToMelSpectrogramPreprocessor\", \"JasperEncoder\", etc."
] | 2021-01-06T21:22:43 | 2021-05-28T08:42:16 | 2021-05-28T08:42:16 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Greetings!
I've got 4 files of a Quartznet 15x5 model:
JasperDecoderForCTC-STEP-520000.pt
JasperEncoder-STEP-520000.pt
lm.binary
quartznet15x5_ru.yaml
The model was trained using NeMo 0.10.1.
I want to fine tune this model using NeMo 1.0.0b3.
Is there any script to convert a model from old versions to the new format?
I've compared .yaml files format of 0.10.1 and 1.0.0b3 and it seemed to be completely different.
**Environment overview (please complete the following information)**
Docker container nvcr.io/nvidia/nemo:1.0.0b3
**Additional context**
Add any other context about the problem here.
GPU: Nvidia GTX 980ti
| {
"login": "VahidooX",
"id": 23551647,
"node_id": "MDQ6VXNlcjIzNTUxNjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/23551647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VahidooX",
"html_url": "https://github.com/VahidooX",
"followers_url": "https://api.github.com/users/VahidooX/followers",
"following_url": "https://api.github.com/users/VahidooX/following{/other_user}",
"gists_url": "https://api.github.com/users/VahidooX/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VahidooX/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VahidooX/subscriptions",
"organizations_url": "https://api.github.com/users/VahidooX/orgs",
"repos_url": "https://api.github.com/users/VahidooX/repos",
"events_url": "https://api.github.com/users/VahidooX/events{/privacy}",
"received_events_url": "https://api.github.com/users/VahidooX/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1607/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1607/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1606 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1606/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1606/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1606/events | https://github.com/NVIDIA/NeMo/issues/1606 | 780,469,126 | MDU6SXNzdWU3ODA0NjkxMjY= | 1,606 | ConfigKeyError: str interpolation key 'model.language_model.pretrained_model_name' not found | {
"login": "amirj",
"id": 1645137,
"node_id": "MDQ6VXNlcjE2NDUxMzc=",
"avatar_url": "https://avatars.githubusercontent.com/u/1645137?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amirj",
"html_url": "https://github.com/amirj",
"followers_url": "https://api.github.com/users/amirj/followers",
"following_url": "https://api.github.com/users/amirj/following{/other_user}",
"gists_url": "https://api.github.com/users/amirj/gists{/gist_id}",
"starred_url": "https://api.github.com/users/amirj/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amirj/subscriptions",
"organizations_url": "https://api.github.com/users/amirj/orgs",
"repos_url": "https://api.github.com/users/amirj/repos",
"events_url": "https://api.github.com/users/amirj/events{/privacy}",
"received_events_url": "https://api.github.com/users/amirj/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [] | 2021-01-06T11:02:21 | 2021-01-08T08:14:30 | 2021-01-08T08:14:30 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I'm trying to reproduce [Named Entity Recognition - BioMegatron colab](https://colab.research.google.com/github/NVIDIA/NeMo/blob/r1.0.0b3/tutorials/nlp/Token_Classification-BioMegatron.ipynb), everything is fine until the following cell:
`model_ner = nemo_nlp.models.TokenClassificationModel(cfg=config.model, trainer=trainer)`
Output:
```
[NeMo I 2021-01-06 10:36:00 megatron_utils:235] Downloading from https://api.ngc.nvidia.com/v2/models/nvidia/biomegatron345mcased/versions/0/files/vocab.txt
Downloading: 100%
625/625 [00:00<00:00, 1.31kB/s]
Downloading: 100%
213k/213k [00:00<00:00, 3.31MB/s]
Using bos_token, but it is not set yet.
Using eos_token, but it is not set yet.
---------------------------------------------------------------------------
ConfigKeyError Traceback (most recent call last)
<ipython-input-25-4645443f78bc> in <module>()
----> 1 model_ner = nemo_nlp.models.TokenClassificationModel(cfg=config.model, trainer=trainer)
8 frames
/usr/local/lib/python3.6/dist-packages/omegaconf/base.py in _resolve_simple_interpolation(self, key, inter_type, inter_key, throw_on_missing, throw_on_resolution_failure)
326 if throw_on_resolution_failure:
327 raise ConfigKeyError(
--> 328 f"{inter_type} interpolation key '{inter_key}' not found"
329 )
330 else:
ConfigKeyError: str interpolation key 'model.language_model.pretrained_model_name' not found
```
I believe that `config.model.language_model.pretrained_model_name = 'biomegatron-bert-345m-cased'`. In addition, I'm getting an error in the installation phase though I'm not sure it would be related to this issue:
```
# install NeMo
BRANCH = 'main'
!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]
```
Output:
```
Collecting nemo_toolkit[nlp]
Cloning https://github.com/NVIDIA/NeMo.git (to revision main) to /tmp/pip-install-hz__8v6m/nemo-toolkit
Running command git clone -q https://github.com/NVIDIA/NeMo.git /tmp/pip-install-hz__8v6m/nemo-toolkit
Requirement already satisfied: numpy>=1.18.2 in /usr/local/lib/python3.6/dist-packages (from nemo_toolkit[nlp]) (1.19.4)
...
Successfully built nemo-toolkit wget future PyYAML antlr4-python3-runtime sacremoses idna-ssl
ERROR: albumentations 0.1.12 has requirement imgaug<0.2.7,>=0.2.5, but you'll have imgaug 0.2.9 which is incompatible.
ERROR: botocore 1.19.49 has requirement urllib3<1.27,>=1.25.4; python_version != "3.4", but you'll have urllib3 1.24.3 which is incompatible.
Installing collected packages: onnx, multidict, yarl, async-timeout, idna-ssl, aiohttp, fsspec, future, PyYAML, pytorch-lightning, wget, ruamel.yaml.clib, ruamel.yaml, omegaconf, antlr4-python3-runtime, hydra-core, sacremoses, tokenizers, transformers, sentencepiece, typer, braceexpand, simplejson, objectio, webdataset, jmespath, botocore, s3transfer, boto3, matplotlib, unidecode, youtokentome, rapidfuzz, pybind11, megatron-lm, nemo-toolkit
Found existing installation: future 0.16.0
Uninstalling future-0.16.0:
Successfully uninstalled future-0.16.0
Found existing installation: PyYAML 3.13
Uninstalling PyYAML-3.13:
Successfully uninstalled PyYAML-3.13
Found existing installation: matplotlib 3.2.2
Uninstalling matplotlib-3.2.2:
Successfully uninstalled matplotlib-3.2.2
Successfully installed PyYAML-5.3.1 aiohttp-3.7.3 antlr4-python3-runtime-4.8 async-timeout-3.0.1 boto3-1.16.49 botocore-1.19.49 braceexpand-0.1.6 fsspec-0.8.5 future-0.18.2 hydra-core-1.0.4 idna-ssl-1.1.0 jmespath-0.10.0 matplotlib-3.3.3 megatron-lm-1.1.5 multidict-5.1.0 nemo-toolkit-1.0.0b4 objectio-0.2.29 omegaconf-2.0.5 onnx-1.8.0 pybind11-2.6.1 pytorch-lightning-1.1.3 rapidfuzz-0.14.2 ruamel.yaml-0.16.12 ruamel.yaml.clib-0.2.2 s3transfer-0.3.3 sacremoses-0.0.43 sentencepiece-0.1.94 simplejson-3.17.2 tokenizers-0.9.4 transformers-4.1.1 typer-0.3.2 unidecode-1.1.2 webdataset-0.1.40 wget-3.2 yarl-1.6.3 youtokentome-1.0.6
```
| {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1606/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1606/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1605 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1605/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1605/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1605/events | https://github.com/NVIDIA/NeMo/pull/1605 | 779,874,869 | MDExOlB1bGxSZXF1ZXN0NTQ5ODEwNzI3 | 1,605 | Add timestep and length in Hypothesis | {
"login": "khursani8",
"id": 5404903,
"node_id": "MDQ6VXNlcjU0MDQ5MDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5404903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khursani8",
"html_url": "https://github.com/khursani8",
"followers_url": "https://api.github.com/users/khursani8/followers",
"following_url": "https://api.github.com/users/khursani8/following{/other_user}",
"gists_url": "https://api.github.com/users/khursani8/gists{/gist_id}",
"starred_url": "https://api.github.com/users/khursani8/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khursani8/subscriptions",
"organizations_url": "https://api.github.com/users/khursani8/orgs",
"repos_url": "https://api.github.com/users/khursani8/repos",
"events_url": "https://api.github.com/users/khursani8/events{/privacy}",
"received_events_url": "https://api.github.com/users/khursani8/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Thank you for the awesome PR! Some minor fixes required here and there but overall this PR is good to go.\r\n\r\nPlease run the style fix script by using `python setup.py style --scope=nemo/ --fix` at the root of the nemo repository",
"Thanks for the review, I learned a lot\r\nI have made the changes",
"Also, it seems formatting issues are still there, please run the style fix command for the next commit.",
"Hmm the following error message is there - Can you set the timestep and length values to defaults of [] and 0 respectively inside of the dataclass?\r\n```\r\n__________________ TestASRModulesBasicTests.test_RNNTDecoder ___________________\r\n\r\nself = <test_asr_modules.TestASRModulesBasicTests object at 0x7f51340db7b8>\r\n\r\n @pytest.mark.unit\r\n def test_RNNTDecoder(self):\r\n vocab = list(range(10))\r\n vocab = [str(x) for x in vocab]\r\n vocab_size = len(vocab)\r\n\r\n pred_config = OmegaConf.create(\r\n {\r\n '_target_': 'nemo.collections.asr.modules.RNNTDecoder',\r\n 'prednet': {'pred_hidden': 32, 'pred_rnn_layers': 1,},\r\n 'vocab_size': vocab_size,\r\n 'blank_as_pad': True,\r\n }\r\n )\r\n prednet = modules.RNNTDecoder.from_config_dict(pred_config)\r\n\r\n # num params\r\n pred_hidden = pred_config.prednet.pred_hidden\r\n embed = (vocab_size + 1) * pred_hidden # embedding with blank\r\n rnn = (\r\n 2 * 4 * (pred_hidden * pred_hidden + pred_hidden)\r\n ) # (ih + hh) * (ifco gates) * (indim * hiddendim + bias)\r\n assert prednet.num_weights == (embed + rnn)\r\n\r\n # State initialization\r\n x_ = torch.zeros(4, dtype=torch.float32)\r\n states = prednet.initialize_state(x_)\r\n\r\n for state_i in states:\r\n assert state_i.dtype == x_.dtype\r\n assert state_i.device == x_.device\r\n assert state_i.shape[1] == len(x_)\r\n\r\n # Blank hypotheses test\r\n blank = vocab_size\r\n\r\n> hyp = Hypothesis(score=0.0, y_sequence=[blank])\r\nE TypeError: __init__() missing 2 required positional arguments: 'timestep' and 'length'\r\n```",
"@khursani8 There's some other issue with the CI right now, will get back to you on this ",
"Thanks for this PR ! Finally, if you could update the code snippet at the top of the PR to show usage of extracting timesteps, that would help future users too, and I will add it (with reference) in a future tutorial notebook.",
"I have updated the code snippet"
] | 2021-01-06T02:06:16 | 2021-01-09T04:44:59 | 2021-01-08T19:10:40 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1605",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1605",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1605.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1605.patch",
"merged_at": "2021-01-08T19:10:40"
} | Add timestep and length for calculating timestamp
Example code for calculating timestamp:
```
@torch.no_grad()
def predict(filename):
if type(filename) != list:
filename = [filename]
res = {}
hypotheses,_ = asr_model.transcribe([str(i) for i in filename],len(filename),return_hypotheses=True)
timesteps = []
# start timesteps
for idx,h in enumerate(hypotheses):
timestep = h.timestep
tokens = []
time = []
# this implementation is for bpe tokenizer since it always better than character based model. Look at Idea 3 https://thegradient.pub/towards-an-imagenet-moment-for-speech-to-text/
for t,token in zip(timestep,h.tokens): # for each timestep and token
if "[" in token: # token such as [CLS] [SEP] etc
pass
elif "##" in token: # token that is continuation of previous token
tokens[-1] += token.replace("##","")
time[-1] = (time[-1] + t) // 2
else:
tokens.append(token)
time.append(int(t))
duration = librosa.core.get_duration(filename=filename[idx],sr=None) # get duration in second
mult = duration/float(h.length) # get duration for each timestep
ttt = [{"time":round(t[1]*mult,2), "word":t[0]} for t in zip(tokens,time)]
timesteps.append(ttt)
return timesteps
out = predict("filename.wav")
print(json.dumps(out,indent=4))
```
Example output
```
[
[
{
"time": 0.0,
"word": "pada"
},
{
"time": 0.16,
"word": "peringkat"
},
{
"time": 0.44,
"word": "ini"
},
{
"time": 1.52,
"word": "pembukaan"
},
{
"time": 2.08,
"word": "sekolah"
},
{
"time": 2.44,
"word": "hanya"
},
{
"time": 4.0,
"word": "melibatkan"
}
]
]
``` | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1605/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1605/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1604 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1604/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1604/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1604/events | https://github.com/NVIDIA/NeMo/issues/1604 | 779,839,034 | MDU6SXNzdWU3Nzk4MzkwMzQ= | 1,604 | For Megatron models, local vocab files are not supported. | {
"login": "meetdave06",
"id": 7240751,
"node_id": "MDQ6VXNlcjcyNDA3NTE=",
"avatar_url": "https://avatars.githubusercontent.com/u/7240751?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/meetdave06",
"html_url": "https://github.com/meetdave06",
"followers_url": "https://api.github.com/users/meetdave06/followers",
"following_url": "https://api.github.com/users/meetdave06/following{/other_user}",
"gists_url": "https://api.github.com/users/meetdave06/gists{/gist_id}",
"starred_url": "https://api.github.com/users/meetdave06/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/meetdave06/subscriptions",
"organizations_url": "https://api.github.com/users/meetdave06/orgs",
"repos_url": "https://api.github.com/users/meetdave06/repos",
"events_url": "https://api.github.com/users/meetdave06/events{/privacy}",
"received_events_url": "https://api.github.com/users/meetdave06/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"I was able to run \r\n```\r\nvocab = get_megatron_vocab_file('biomegatron-bert-345m-uncased')\r\n```\r\nwithout any issues.\r\n\r\nI was wondering if you could help clarify what you're trying to do.\r\n\r\nAre you looking to use 'biomegatron-bert-345m-uncased', or are you pretraining a megatron language model on your own vocab and data? Or are you wanting to use 'biomegatron-bert-345m-uncased' configuration but pretrained on your own vocab and data?\r\n\r\nAlso, there is a known bug with the notebook and config interpolation which we are working on: https://github.com/NVIDIA/NeMo/issues/1582",
"I am just trying to run the notebook to understand NeMo framework better.\r\n\r\nInitially, I tried to just pass \"biomegatron-bert-345m-uncased\" to `config.model.language_model.pretrained_model_name = PRETRAINED_BERT_MODEL` and it didn't work as mentioned here #1582 .\r\n\r\nSo I downloaded the model, config, and vocab file for Megatron models from the links given in this [notebook](https://colab.research.google.com/github/NVIDIA/NeMo/blob/r1.0.0b3/tutorials/nlp/01_Pretrained_Language_Models_for_Downstream_Tasks.ipynb#scrollTo=mla-BZexMM2u). However, even if I passed the vocab file manually, the line\r\n\r\n`vocab = get_megatron_vocab_file('biomegatron-bert-345m-uncased') \r\n`\r\n\r\ndoesn't check for it and always tries to download it from the cloud given the pre-trained model name. I hope this makes it clear.",
"This should be fixed here: https://github.com/NVIDIA/NeMo/pull/1803\r\nPlease feel free to reopen if there are still any problems."
] | 2021-01-06T01:25:45 | 2021-02-25T23:52:59 | 2021-02-25T23:52:21 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | https://github.com/NVIDIA/NeMo/blob/51092ef7a9810ab096148cdf2d44ddfe6c72d028/nemo/collections/nlp/modules/common/megatron/megatron_utils.py#L135
It seems from the above code snippet that for Megatron models, it always tries to download the vocab files from the cloud. However, currently for bio-Megatron models the [link](https://api.ngc.nvidia.com/v2/models/nvidia/biomegatron345mcased/versions/0/files/vocab.txt) doesn't work. This has been already raised as a separate [issue](https://github.com/NVIDIA/NeMo/issues/1582).
It should accept the vocab file passed to `config.model.tokenizer.vocab_file` and should only check for vocab file online, if the user doesn't provide a vocab file.
ERROR while running Token Classification - BioMegatron notebook
<img width="1080" alt="Screen Shot 2021-01-05 at 8 24 51 PM" src="https://user-images.githubusercontent.com/7240751/103717828-14580900-4f94-11eb-925b-25ce3650b002.png">
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1604/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1604/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1603 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1603/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1603/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1603/events | https://github.com/NVIDIA/NeMo/pull/1603 | 779,822,118 | MDExOlB1bGxSZXF1ZXN0NTQ5NzYxOTcw | 1,603 | 1579 changes plus fix attempt | {
"login": "drnikolaev",
"id": 7504104,
"node_id": "MDQ6VXNlcjc1MDQxMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7504104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/drnikolaev",
"html_url": "https://github.com/drnikolaev",
"followers_url": "https://api.github.com/users/drnikolaev/followers",
"following_url": "https://api.github.com/users/drnikolaev/following{/other_user}",
"gists_url": "https://api.github.com/users/drnikolaev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/drnikolaev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/drnikolaev/subscriptions",
"organizations_url": "https://api.github.com/users/drnikolaev/orgs",
"repos_url": "https://api.github.com/users/drnikolaev/repos",
"events_url": "https://api.github.com/users/drnikolaev/events{/privacy}",
"received_events_url": "https://api.github.com/users/drnikolaev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"DO NOT MERGE.\r\nFor reference only.",
"Should we close this PR?",
"Yes it can be closed now that we are on 21.02"
] | 2021-01-06T01:07:11 | 2021-03-09T19:53:52 | 2021-03-09T19:53:52 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1603",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1603",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1603.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1603.patch",
"merged_at": null
} | Signed-off-by: Sergei Nikolaev <[email protected]> | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1603/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1603/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1602 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1602/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1602/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1602/events | https://github.com/NVIDIA/NeMo/issues/1602 | 778,969,375 | MDU6SXNzdWU3Nzg5NjkzNzU= | 1,602 | docker container cannot launch tensorboard | {
"login": "tann9949",
"id": 34812325,
"node_id": "MDQ6VXNlcjM0ODEyMzI1",
"avatar_url": "https://avatars.githubusercontent.com/u/34812325?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tann9949",
"html_url": "https://github.com/tann9949",
"followers_url": "https://api.github.com/users/tann9949/followers",
"following_url": "https://api.github.com/users/tann9949/following{/other_user}",
"gists_url": "https://api.github.com/users/tann9949/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tann9949/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tann9949/subscriptions",
"organizations_url": "https://api.github.com/users/tann9949/orgs",
"repos_url": "https://api.github.com/users/tann9949/repos",
"events_url": "https://api.github.com/users/tann9949/events{/privacy}",
"received_events_url": "https://api.github.com/users/tann9949/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"You managed to solve this?\r\nI'm having the same issue",
"not yet",
"Hi, i think i solved the problem. \r\nAfter you pull the container and run it, send a pip list command and search for something called tensorboard-plugine-dlproof.\r\nUninstall it.\r\nThen:\r\n\r\npip uninstall -y tensorboard\r\npip install nvidia-pyindex\r\npip install nvidia-tensorboard-plugin-dlprof\r\n\r\nAs nvidia said here: https://docs.nvidia.com/deeplearning/frameworks/tensorboard-plugin-user-guide/\r\n\r\nCare about uninstall the tensorboard dlprof plugin before follow the guide. If you don't uninstall nemo will return you an error because dlprof is duplicated. \r\n\r\nBye",
"Hi, @lodm94 , thanks for the response\r\n\r\nI've tried your method but `tensorboard` command does not exist anymore. Do you face the same problem? Isn't `nvidia-tensorboard-plugin-dlprof` supposed to installed tensorboard?",
"Yeah i guess i faced that too.\r\nTry this pipeline:\r\n\r\n1. pull the container\r\n2. run it\r\n3. pip uninstall -y tensorboard\r\n4. pip uninstall tensorboard-plugine-dlproof (check if i spelled correctly!!!)\r\n5. pip install nvidia-pyindex\r\n6. pip install nvidia-tensorboard-plugin-dlprof\r\n7. pip install tensorboard\r\n\r\nthen i can launch tensorboard with:\r\n`tensorboard --logdir yourpathtofiles --bind_all --port yourport`\r\n\r\nand i open a browser typing 192.168.xxx.xxx:yourport\r\n\r\ni guess the this two commands are persoonal. for start, apologize if i am not accurate with the istruction. i'm kinda noob about all this. i am working on my thesis so I don't have much experience. \r\nif you dont solve on monday i can log into my server again and i will copy all the steps.\r\n\r\nit will be great if someone experienced could help you. and also me of course.\r\n\r\ncheers\r\n\r\n",
"This method works well! Thank you!"
] | 2021-01-05T12:38:00 | 2021-01-18T06:06:19 | 2021-01-18T06:06:19 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi all,
I was running the docker container using this command
```shell
docker run --gpus all -it --rm -v /mnt/NeMo:/NeMo --shm-size=8g \
-p 8888:8888 -p 6006:6006 --ulimit memlock=-1 --ulimit \
stack=67108864 --device=/dev/snd nvcr.io/nvidia/nemo:1.0.0b3
```
and the NeMo repository was on branch 1.0.0b3.
In this container, I have successfully trained my model but when I was trying to monitor my training using tensorboard using the following command,
```shell
tensorboard --bind_all --logdir .
```
the error appeared.
```
TensorFlow installation not found - running with reduced feature set.
Traceback (most recent call last):
File "/opt/conda/bin/tensorboard", line 8, in <module>
sys.exit(run_main())
File "/opt/conda/lib/python3.6/site-packages/tensorboard/main.py", line 65, in run_main
default.get_plugins(),
File "/opt/conda/lib/python3.6/site-packages/tensorboard/default.py", line 108, in get_plugins
return get_static_plugins() + get_dynamic_plugins()
File "/opt/conda/lib/python3.6/site-packages/tensorboard/default.py", line 146, in get_dynamic_plugins
"tensorboard_plugins"
File "/opt/conda/lib/python3.6/site-packages/tensorboard/default.py", line 145, in <listcomp>
for entry_point in pkg_resources.iter_entry_points(
File "/opt/conda/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2472, in load
return self.resolve()
File "/opt/conda/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2478, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/opt/conda/lib/python3.6/site-packages/tensorboard_plugin_dlprof/plugin.py", line 31, in <module>
from tensorboard.plugins.graph import dlprof_pb2
ImportError: cannot import name 'dlprof_pb2'
```
Any help is appreciated. Thanks. | {
"login": "tann9949",
"id": 34812325,
"node_id": "MDQ6VXNlcjM0ODEyMzI1",
"avatar_url": "https://avatars.githubusercontent.com/u/34812325?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/tann9949",
"html_url": "https://github.com/tann9949",
"followers_url": "https://api.github.com/users/tann9949/followers",
"following_url": "https://api.github.com/users/tann9949/following{/other_user}",
"gists_url": "https://api.github.com/users/tann9949/gists{/gist_id}",
"starred_url": "https://api.github.com/users/tann9949/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/tann9949/subscriptions",
"organizations_url": "https://api.github.com/users/tann9949/orgs",
"repos_url": "https://api.github.com/users/tann9949/repos",
"events_url": "https://api.github.com/users/tann9949/events{/privacy}",
"received_events_url": "https://api.github.com/users/tann9949/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1602/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1602/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1601 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1601/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1601/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1601/events | https://github.com/NVIDIA/NeMo/pull/1601 | 778,590,177 | MDExOlB1bGxSZXF1ZXN0NTQ4NjQ5NjI1 | 1,601 | Add entire dataset caching via a preproc script, bpe dropout and deto… | {
"login": "MaximumEntropy",
"id": 9114321,
"node_id": "MDQ6VXNlcjkxMTQzMjE=",
"avatar_url": "https://avatars.githubusercontent.com/u/9114321?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/MaximumEntropy",
"html_url": "https://github.com/MaximumEntropy",
"followers_url": "https://api.github.com/users/MaximumEntropy/followers",
"following_url": "https://api.github.com/users/MaximumEntropy/following{/other_user}",
"gists_url": "https://api.github.com/users/MaximumEntropy/gists{/gist_id}",
"starred_url": "https://api.github.com/users/MaximumEntropy/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/MaximumEntropy/subscriptions",
"organizations_url": "https://api.github.com/users/MaximumEntropy/orgs",
"repos_url": "https://api.github.com/users/MaximumEntropy/repos",
"events_url": "https://api.github.com/users/MaximumEntropy/events{/privacy}",
"received_events_url": "https://api.github.com/users/MaximumEntropy/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 2 alerts** when merging 9ccc0dbd61d9c6b0e034e406f90b3a5795fac574 into 8ed6b966a843286c715484b0fadc266253f2f272 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-162bbcfbe9077b4f7d1d3dca2ab7d0f7aec26a49)\n\n**new alerts:**\n\n* 2 for Unused import",
"This pull request **introduces 2 alerts** when merging 4eefe78e7a5b4f9282ca7913646d65005bf595f9 into 8ed6b966a843286c715484b0fadc266253f2f272 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-894362736755457c26db38e4564709e8e5d65f2f)\n\n**new alerts:**\n\n* 2 for Unused import"
] | 2021-01-05T05:11:22 | 2021-01-06T01:53:54 | 2021-01-06T01:53:54 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1601",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1601",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1601.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1601.patch",
"merged_at": "2021-01-06T01:53:54"
} | Adding the following:
1. A way to cache the entire translation dataset object rather than just the IDs, to avoid recomputing the bucketing and padding steps.
2. BPE dropout to YTTM.
3. Sacremoses for detokenization. | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1601/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1601/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1600 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1600/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1600/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1600/events | https://github.com/NVIDIA/NeMo/pull/1600 | 778,425,745 | MDExOlB1bGxSZXF1ZXN0NTQ4NTE1NjMw | 1,600 | Adopting PT 1.7.1 changes | {
"login": "drnikolaev",
"id": 7504104,
"node_id": "MDQ6VXNlcjc1MDQxMDQ=",
"avatar_url": "https://avatars.githubusercontent.com/u/7504104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/drnikolaev",
"html_url": "https://github.com/drnikolaev",
"followers_url": "https://api.github.com/users/drnikolaev/followers",
"following_url": "https://api.github.com/users/drnikolaev/following{/other_user}",
"gists_url": "https://api.github.com/users/drnikolaev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/drnikolaev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/drnikolaev/subscriptions",
"organizations_url": "https://api.github.com/users/drnikolaev/orgs",
"repos_url": "https://api.github.com/users/drnikolaev/repos",
"events_url": "https://api.github.com/users/drnikolaev/events{/privacy}",
"received_events_url": "https://api.github.com/users/drnikolaev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2021-01-04T22:46:15 | 2021-01-04T23:10:35 | 2021-01-04T23:10:35 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1600",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1600",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1600.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1600.patch",
"merged_at": "2021-01-04T23:10:35"
} | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1600/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1600/timeline | null | null | true |
|
https://api.github.com/repos/NVIDIA/NeMo/issues/1599 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1599/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1599/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1599/events | https://github.com/NVIDIA/NeMo/pull/1599 | 778,378,929 | MDExOlB1bGxSZXF1ZXN0NTQ4NDc2MjU5 | 1,599 | Patch ASR to support < PT 1.7 | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Can we add the following?\r\n1) A reminder to remove this patch once we require pytorch >= 1.7\r\n2) A unittest that fails or gives a warning if a PR contains \"torch.stft\" while we still allow pytorch < 1.7"
] | 2021-01-04T21:28:00 | 2021-01-05T00:47:58 | 2021-01-05T00:47:55 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1599",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1599",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1599.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1599.patch",
"merged_at": "2021-01-05T00:47:55"
} | # Changelog
- Wrap torch.stft to switch signature between PT< 1.7 and >= 1.7 | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1599/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1599/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1598 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1598/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1598/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1598/events | https://github.com/NVIDIA/NeMo/issues/1598 | 778,139,516 | MDU6SXNzdWU3NzgxMzk1MTY= | 1,598 | [Question] NeMo public roadmap | {
"login": "adiIspas",
"id": 15428252,
"node_id": "MDQ6VXNlcjE1NDI4MjUy",
"avatar_url": "https://avatars.githubusercontent.com/u/15428252?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/adiIspas",
"html_url": "https://github.com/adiIspas",
"followers_url": "https://api.github.com/users/adiIspas/followers",
"following_url": "https://api.github.com/users/adiIspas/following{/other_user}",
"gists_url": "https://api.github.com/users/adiIspas/gists{/gist_id}",
"starred_url": "https://api.github.com/users/adiIspas/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/adiIspas/subscriptions",
"organizations_url": "https://api.github.com/users/adiIspas/orgs",
"repos_url": "https://api.github.com/users/adiIspas/repos",
"events_url": "https://api.github.com/users/adiIspas/events{/privacy}",
"received_events_url": "https://api.github.com/users/adiIspas/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | true | null | [] | null | [
"Hi @adiIspas,\r\n\r\nThis is a good question. First, let me mention that:\r\n* NeMo is being developed in the open. E.g. what you see in the \"main\" branch on GH is what our team members use in their daily work. In this sense, things which are now WIP in the main branch will be appearing as features in our next releases.\r\n* We accept external contributions, so if you'd like to send a PR to us, please have a look here: https://github.com/NVIDIA/NeMo/blob/main/CONTRIBUTING.md \r\n\r\nHere is what we can share right now:\r\n\r\n* we plan to release \"1.0.0rc\" version soon (this winter) which will have some configuration improvements, ASR models in few more languages (using Mozilla's Common Voice), machine translation models and other new features and bugfixes.\r\n* in about a month after that we'll release \"1.0.0\" which shouldn't differ much from \"1.0.0rc\" in terms of features and usage but should provide more stability and overall performance.\r\n\r\nWe'll think about sharing a full roadmap (or a subset of it) publicly.\r\n"
] | 2021-01-04T14:37:28 | 2021-01-29T20:19:05 | 2021-01-29T20:19:05 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hello, awesome people!
First of all, thank you very much for the job that you do with this toolkit.
Secondly, do you have a public roadmap for NeMo toolkit? I think will be useful for everyone that uses NeMo to know when new version/features will come.
In my case, I'm interested to know when will be available support for words timestamps and confidence with language model.
Regards,
Adrian | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1598/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1598/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1597 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1597/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1597/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1597/events | https://github.com/NVIDIA/NeMo/issues/1597 | 776,417,590 | MDU6SXNzdWU3NzY0MTc1OTA= | 1,597 | DALI pipeline bug | {
"login": "mutkach",
"id": 5160943,
"node_id": "MDQ6VXNlcjUxNjA5NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5160943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mutkach",
"html_url": "https://github.com/mutkach",
"followers_url": "https://api.github.com/users/mutkach/followers",
"following_url": "https://api.github.com/users/mutkach/following{/other_user}",
"gists_url": "https://api.github.com/users/mutkach/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mutkach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mutkach/subscriptions",
"organizations_url": "https://api.github.com/users/mutkach/orgs",
"repos_url": "https://api.github.com/users/mutkach/repos",
"events_url": "https://api.github.com/users/mutkach/events{/privacy}",
"received_events_url": "https://api.github.com/users/mutkach/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [] | 2020-12-30T11:47:59 | 2021-01-10T14:40:34 | 2021-01-10T14:40:34 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I use 4 GPU setup and trying to make DALI work as a backend for DataLoader (making slight corrections in existing NeMo code to at least make it without errors till pipeline compilation) but training still fails (fails PTL sanity check)
```
File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
self.padding, self.dilation, self.groups)
**RuntimeError: Expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight'; but device 0 does not equal 2 (while checking arguments for cudnn_convolution)**
result = self.forward(*input, **kwargs)
result = self.forward(*input, **kwargs)
File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 257, in forward
File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/conv.py", line 257, in forward
self.padding, self.dilation, self.groups)
self.padding, self.dilation, self.groups)
```
**Expected tensor for argument #1 'input' to have the same device as tensor for argument #2 'weight'; but device 0 does not equal 2 ** is the main part here and it repeats for devices {0,1,3}.
Seems like some of the operations in pipeline are done on cpu, and the others on different gpu or something in the like. Is there a way, that I can work through this problem?
**Environment details**
Environment location: DGX-1
Torch '1.6.0'
Python 3.76
Ubuntu 18.04.4 LTS"
| {
"login": "mutkach",
"id": 5160943,
"node_id": "MDQ6VXNlcjUxNjA5NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5160943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mutkach",
"html_url": "https://github.com/mutkach",
"followers_url": "https://api.github.com/users/mutkach/followers",
"following_url": "https://api.github.com/users/mutkach/following{/other_user}",
"gists_url": "https://api.github.com/users/mutkach/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mutkach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mutkach/subscriptions",
"organizations_url": "https://api.github.com/users/mutkach/orgs",
"repos_url": "https://api.github.com/users/mutkach/repos",
"events_url": "https://api.github.com/users/mutkach/events{/privacy}",
"received_events_url": "https://api.github.com/users/mutkach/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1597/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1597/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1596 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1596/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1596/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1596/events | https://github.com/NVIDIA/NeMo/pull/1596 | 776,143,454 | MDExOlB1bGxSZXF1ZXN0NTQ2NjgyMDQ5 | 1,596 | SGD QA | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 21 alerts** when merging 0af0bc70ad4a47e06067aa02ea4ada5a86168cc2 into 297a8bdbb0370a51cb74a41288025befd9cd2392 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-40f8e76f758db09b08253434d7944ca47edbd50f)\n\n**new alerts:**\n\n* 16 for Unused import\n* 5 for Unused local variable",
"This pull request **introduces 21 alerts** when merging 4c9e21e39c492dc583a8b9c7b277d0a83ec01e9d into 297a8bdbb0370a51cb74a41288025befd9cd2392 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-c09ce5ec6b80d84c152294588eec12d5dca3d875)\n\n**new alerts:**\n\n* 16 for Unused import\n* 5 for Unused local variable",
"This pull request **introduces 8 alerts** when merging 9dae1ddf19acb06084cbcb1121c03668b76c9908 into 297a8bdbb0370a51cb74a41288025befd9cd2392 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-0bff3a176e7685d9e9b349b9cce8e6e60d51c917)\n\n**new alerts:**\n\n* 8 for Unused import",
"Which paper was implemented here?",
"@chris-boson a modification of https://arxiv.org/pdf/2006.09035v1.pdf"
] | 2020-12-30T00:27:28 | 2021-03-11T05:08:48 | 2021-01-12T01:10:46 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1596",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1596",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1596.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1596.patch",
"merged_at": "2021-01-12T01:10:46"
} | SGD QA model
* added ci test
* added documentation | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1596/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1596/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1595 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1595/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1595/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1595/events | https://github.com/NVIDIA/NeMo/issues/1595 | 776,099,360 | MDU6SXNzdWU3NzYwOTkzNjA= | 1,595 | [Question] RNN-T timestamp | {
"login": "khursani8",
"id": 5404903,
"node_id": "MDQ6VXNlcjU0MDQ5MDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5404903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khursani8",
"html_url": "https://github.com/khursani8",
"followers_url": "https://api.github.com/users/khursani8/followers",
"following_url": "https://api.github.com/users/khursani8/following{/other_user}",
"gists_url": "https://api.github.com/users/khursani8/gists{/gist_id}",
"starred_url": "https://api.github.com/users/khursani8/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khursani8/subscriptions",
"organizations_url": "https://api.github.com/users/khursani8/orgs",
"repos_url": "https://api.github.com/users/khursani8/repos",
"events_url": "https://api.github.com/users/khursani8/events{/privacy}",
"received_events_url": "https://api.github.com/users/khursani8/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2020-12-29T21:41:52 | 2021-01-04T05:29:56 | 2021-01-04T05:29:56 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | How to get timestamp from RNN-T prediction?
| {
"login": "khursani8",
"id": 5404903,
"node_id": "MDQ6VXNlcjU0MDQ5MDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5404903?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/khursani8",
"html_url": "https://github.com/khursani8",
"followers_url": "https://api.github.com/users/khursani8/followers",
"following_url": "https://api.github.com/users/khursani8/following{/other_user}",
"gists_url": "https://api.github.com/users/khursani8/gists{/gist_id}",
"starred_url": "https://api.github.com/users/khursani8/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/khursani8/subscriptions",
"organizations_url": "https://api.github.com/users/khursani8/orgs",
"repos_url": "https://api.github.com/users/khursani8/repos",
"events_url": "https://api.github.com/users/khursani8/events{/privacy}",
"received_events_url": "https://api.github.com/users/khursani8/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1595/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1595/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1594 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1594/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1594/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1594/events | https://github.com/NVIDIA/NeMo/issues/1594 | 775,941,313 | MDU6SXNzdWU3NzU5NDEzMTM= | 1,594 | EncDecCTCModel can't be pickled due to training_step wrapped with wrapt | {
"login": "drykovanov",
"id": 10380474,
"node_id": "MDQ6VXNlcjEwMzgwNDc0",
"avatar_url": "https://avatars.githubusercontent.com/u/10380474?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/drykovanov",
"html_url": "https://github.com/drykovanov",
"followers_url": "https://api.github.com/users/drykovanov/followers",
"following_url": "https://api.github.com/users/drykovanov/following{/other_user}",
"gists_url": "https://api.github.com/users/drykovanov/gists{/gist_id}",
"starred_url": "https://api.github.com/users/drykovanov/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/drykovanov/subscriptions",
"organizations_url": "https://api.github.com/users/drykovanov/orgs",
"repos_url": "https://api.github.com/users/drykovanov/repos",
"events_url": "https://api.github.com/users/drykovanov/events{/privacy}",
"received_events_url": "https://api.github.com/users/drykovanov/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"Currently, quite a few classes in ASR collection cannot be pickled easily. DDP is suggested for any distributed training. "
] | 2020-12-29T15:11:02 | 2021-01-29T20:18:23 | 2021-01-29T20:18:23 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
EncDecCTCModel can't be pickled due to `training_step` wrappted with [wrapt](https://github.com/GrahamDumpleton/wrapt)
**Steps/Code to reproduce bug**
```
model_names = ["Jasper10x5Dr-En", "QuartzNet15x5NR-En"]
models = [EncDecCTCModel.from_pretrained(model_name=model_name) for model_name in model_names]
```
then try to pickle `models`.
wrapt's FunctionWrapper throws `NotImplementedError: object proxy must define __reduce_ex__()`
see:
https://github.com/GrahamDumpleton/wrapt/blob/develop/src/wrapt/_wrappers.c#L1241
https://github.com/GrahamDumpleton/wrapt/issues/102#issuecomment-456528633
**Expected behavior**
EncDecCTCModel should be pickled and unpickled.
| {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1594/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1594/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1593 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1593/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1593/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1593/events | https://github.com/NVIDIA/NeMo/pull/1593 | 775,567,908 | MDExOlB1bGxSZXF1ZXN0NTQ2MjIyMzcz | 1,593 | Megatron model parallel autoresume | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 3 alerts** when merging 3dd3fe5c85e29181cf3e7d49bc36e456105d42c1 into 297a8bdbb0370a51cb74a41288025befd9cd2392 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-98ed3610935c7e6e69dbd68cfdbb8d9904f289b7)\n\n**new alerts:**\n\n* 2 for Unused import\n* 1 for Except block handles 'BaseException'",
"This pull request **fixes 2 alerts** when merging ff8734a172413bd7c4c9cca96a61043f79af907f into 9cc1d68444b748be950f0ae0b4e4c7701320bb71 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-1e0b3f4360b3499ef9ed329aaba19fb125d66e23)\n\n**fixed alerts:**\n\n* 2 for Unused import",
"This pull request **fixes 1 alert** when merging 5d17e572624d6bca5380725f665afbf0a5f39068 into 9cc1d68444b748be950f0ae0b4e4c7701320bb71 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-d9d75b4748659f6ed33d59a2335d9ff847fce707)\n\n**fixed alerts:**\n\n* 1 for Unused import",
"This pull request **fixes 1 alert** when merging b133b40dfc16242b2f7e8a71c0769cc7e55d9f12 into 3562fddd45ae5571616fbc35c9252cb1bf19ab05 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-083584d542a5b76d35514d028ce6b7157875b357)\n\n**fixed alerts:**\n\n* 1 for Unused import",
"This pull request **fixes 1 alert** when merging 374548c903edcee3d2f8b2443f0f0d00ac4c6615 into 3562fddd45ae5571616fbc35c9252cb1bf19ab05 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-55183500bbbe54c781a90fdf70a225d0432c20e8)\n\n**fixed alerts:**\n\n* 1 for Unused import",
"This pull request **introduces 1 alert** and **fixes 1** when merging d36ef70fb398b3cf351ab1e650f8116b2a2b4d86 into 278e85b7b33d841b08133c30e8cf40b2b0dcdc18 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-ecf435074e38fdce89694f2e9f2ac95bb1d48566)\n\n**new alerts:**\n\n* 1 for Unused import\n\n**fixed alerts:**\n\n* 1 for Unused import",
"This pull request **introduces 1 alert** and **fixes 2** when merging 33eda0e2d1682c42c9aa779fa1e64d8cdc786c52 into e10bb0348daff62348f84bdfb1845b1226d74f11 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-b24d2ac8315a4fec3b8007f09ddc33fd1079ef99)\n\n**new alerts:**\n\n* 1 for Unused import\n\n**fixed alerts:**\n\n* 2 for Unused import",
"This pull request **introduces 1 alert** and **fixes 2** when merging 17c5cbec94e77551ceaaf7eb52aa3bcab573a8bc into 08147dfb05f1622ec6809320a938b57c843de735 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-ac57b2015a11a84dfcbc0a7e3a6917924e8bde58)\n\n**new alerts:**\n\n* 1 for Unused import\n\n**fixed alerts:**\n\n* 2 for Unused import",
"This pull request **introduces 1 alert** and **fixes 2** when merging 2bd23ef9e58810ab2482bd8daf342ab2b7b54cdc into 630c7e81b527ee42ab3e65319aadb4a941fb5aab - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-bf1465d164a2432d0061500ae615700aaae1a4c5)\n\n**new alerts:**\n\n* 1 for Unused import\n\n**fixed alerts:**\n\n* 2 for Unused import",
"This pull request **introduces 1 alert** and **fixes 2** when merging 9ce7a90de3d907dca3553cab805f8ed493a6f889 into 8a26496f415386f50adcead21ebd1e4a21a7ff42 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-10da98049da326b821085f2d23c8697aabb93f5b)\n\n**new alerts:**\n\n* 1 for Unused import\n\n**fixed alerts:**\n\n* 2 for Unused import",
"This pull request **introduces 1 alert** and **fixes 2** when merging 034107251524c43ba1d549e42267080ed73b1e11 into 8ccb4f3349de7603f7607dbd74de61795a5f5f68 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-e31103cecc12db8125923b30770d00508cd514fe)\n\n**new alerts:**\n\n* 1 for Unused import\n\n**fixed alerts:**\n\n* 2 for Unused import",
"This pull request **introduces 1 alert** and **fixes 2** when merging 06d5192da1b2c36d63fa0f2fdb2dcdd0991178f1 into 8ccb4f3349de7603f7607dbd74de61795a5f5f68 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-7e1542f9b56ef850149a5581c19ad2853bf35865)\n\n**new alerts:**\n\n* 1 for Unused import\n\n**fixed alerts:**\n\n* 2 for Unused import"
] | 2020-12-28T20:10:21 | 2021-01-29T23:31:16 | 2021-01-29T23:31:04 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1593",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1593",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1593.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1593.patch",
"merged_at": "2021-01-29T23:31:04"
} | Adds training auto-resume for NLP models that use model parallel megatron-lm. The existing autoresume logic depends on there being only one checkpoint, this is not the case for model parallel models. There is a checkpoint for each model parallel rank.
We were able to add this feature with minimal changes to exp_manager. The only functional change is to log a warning rather than throw an error when exp_manager detects multiple `last` checkpoints. We also use the exp_manager to set some properties in `AppState` that we need in `NLPModel`.
# Usage
```
python examples/nlp/text_classification/text_classification_with_bert.py \
--config-path=${CONFIG_PATH} \
--config-name=${CONFIG_NAME} \
...
exp_manager.exp_dir=${EXP_DIR}/nemo_experiments \
exp_manager.create_checkpoint_callback=true \
+exp_manager.create_wandb_logger=true \
+exp_manager.wandb_logger_kwargs.name=${EXP_NAME} \
+exp_manager.wandb_logger_kwargs.project=${PROJECT_NAME} \
exp_manager.name=${EXP_NAME} \
+exp_manager.resume_if_exists=true \
+exp_manager.resume_ignore_no_checkpoint=true \
+exp_manager.version=0 \
+exp_manager.use_datetime_version=false \
```
| {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1593/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1593/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1592 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1592/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1592/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1592/events | https://github.com/NVIDIA/NeMo/pull/1592 | 775,538,579 | MDExOlB1bGxSZXF1ZXN0NTQ2MTk4NTE4 | 1,592 | Megatron-lm model parallel gradient clipping | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 3 alerts** when merging 9cc1d68444b748be950f0ae0b4e4c7701320bb71 into 297a8bdbb0370a51cb74a41288025befd9cd2392 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-8b83c948558d1688357dbe7f12b05949d53d236d)\n\n**new alerts:**\n\n* 2 for Unused import\n* 1 for Except block handles 'BaseException'",
"This pull request **introduces 3 alerts** when merging 531b79ef3d1f704acb529e223241b2fbbe1b1827 into f58ab531376a854e2e94b0fedc05705bc3711086 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-17dcebf23511e395c6b1753a47d43d31b05f9635)\n\n**new alerts:**\n\n* 2 for Unused import\n* 1 for Except block handles 'BaseException'",
"This pull request **introduces 3 alerts** when merging 5ccfc94ad6fde36dfabebae5d355b0687ef2adbf into 212b1f343aea96bb390a1e00bdcea5b1a9afe1fc - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-9d071914f4135f4c7fbf73b1dde5dd7054694de2)\n\n**new alerts:**\n\n* 2 for Unused import\n* 1 for Except block handles 'BaseException'",
"This pull request **introduces 3 alerts** when merging cc95c613dcb1d2e04e607a82ba898f5c49956db0 into d8150b41bbba0c2ee2e291b309651cef2ed248bf - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-71feca283519465f203dd8bb933e86050cabce60)\n\n**new alerts:**\n\n* 2 for Unused import\n* 1 for Except block handles 'BaseException'"
] | 2020-12-28T18:48:43 | 2021-01-12T23:53:22 | 2021-01-12T23:53:15 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1592",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1592",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1592.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1592.patch",
"merged_at": "2021-01-12T23:53:15"
} | This PR adds model parallel gradient clipping to `NLPModel`. | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1592/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1592/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1591 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1591/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1591/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1591/events | https://github.com/NVIDIA/NeMo/issues/1591 | 774,932,303 | MDU6SXNzdWU3NzQ5MzIzMDM= | 1,591 | RNN-T: Strange type in forward LSTMDropout | {
"login": "Oktai15",
"id": 17337773,
"node_id": "MDQ6VXNlcjE3MzM3Nzcz",
"avatar_url": "https://avatars.githubusercontent.com/u/17337773?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Oktai15",
"html_url": "https://github.com/Oktai15",
"followers_url": "https://api.github.com/users/Oktai15/followers",
"following_url": "https://api.github.com/users/Oktai15/following{/other_user}",
"gists_url": "https://api.github.com/users/Oktai15/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Oktai15/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Oktai15/subscriptions",
"organizations_url": "https://api.github.com/users/Oktai15/orgs",
"repos_url": "https://api.github.com/users/Oktai15/repos",
"events_url": "https://api.github.com/users/Oktai15/events{/privacy}",
"received_events_url": "https://api.github.com/users/Oktai15/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"Good catch. I was trying our a few things with decoupled lstms and forgot to update signature. "
] | 2020-12-26T20:58:52 | 2021-05-28T08:35:30 | 2021-05-28T08:35:30 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | https://github.com/NVIDIA/NeMo/blob/297a8bdbb0370a51cb74a41288025befd9cd2392/nemo/collections/common/parts/rnn.py#L196
@titu1994, why does `h` have this type? I suppose it should be `Optional[[Tuple[torch.Tensor, torch.Tensor]]`, just like returnable `h` | {
"login": "VahidooX",
"id": 23551647,
"node_id": "MDQ6VXNlcjIzNTUxNjQ3",
"avatar_url": "https://avatars.githubusercontent.com/u/23551647?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/VahidooX",
"html_url": "https://github.com/VahidooX",
"followers_url": "https://api.github.com/users/VahidooX/followers",
"following_url": "https://api.github.com/users/VahidooX/following{/other_user}",
"gists_url": "https://api.github.com/users/VahidooX/gists{/gist_id}",
"starred_url": "https://api.github.com/users/VahidooX/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/VahidooX/subscriptions",
"organizations_url": "https://api.github.com/users/VahidooX/orgs",
"repos_url": "https://api.github.com/users/VahidooX/repos",
"events_url": "https://api.github.com/users/VahidooX/events{/privacy}",
"received_events_url": "https://api.github.com/users/VahidooX/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1591/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1591/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1590 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1590/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1590/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1590/events | https://github.com/NVIDIA/NeMo/issues/1590 | 774,635,153 | MDU6SXNzdWU3NzQ2MzUxNTM= | 1,590 | TypeError: stft() got an unexpected keyword argument 'return_complex' | {
"login": "mutkach",
"id": 5160943,
"node_id": "MDQ6VXNlcjUxNjA5NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5160943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mutkach",
"html_url": "https://github.com/mutkach",
"followers_url": "https://api.github.com/users/mutkach/followers",
"following_url": "https://api.github.com/users/mutkach/following{/other_user}",
"gists_url": "https://api.github.com/users/mutkach/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mutkach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mutkach/subscriptions",
"organizations_url": "https://api.github.com/users/mutkach/orgs",
"repos_url": "https://api.github.com/users/mutkach/repos",
"events_url": "https://api.github.com/users/mutkach/events{/privacy}",
"received_events_url": "https://api.github.com/users/mutkach/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"https://github.com/NVIDIA/NeMo/blob/main/nemo/collections/asr/parts/features.py#L269",
"if you change to torch>=1.7.0 this should no longer be an issue",
"yes",
"I had the issue when using Anaconda Python, but error after switching over to Linux installed python."
] | 2020-12-25T05:31:12 | 2024-08-28T12:24:19 | 2021-01-11T19:01:13 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Seems like a problem in a feature extractror module. Training doesn't start, until I comment out line containing that keyword
**Steps/Code to reproduce bug**
start the basic ASR training
- Environment location: DGX-1
- Method of NeMo install: pip install -e
Ubuntu
Torch '1.6.0'
Python 3.76
Ubuntu 18.04.4 LTS"
| {
"login": "mutkach",
"id": 5160943,
"node_id": "MDQ6VXNlcjUxNjA5NDM=",
"avatar_url": "https://avatars.githubusercontent.com/u/5160943?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/mutkach",
"html_url": "https://github.com/mutkach",
"followers_url": "https://api.github.com/users/mutkach/followers",
"following_url": "https://api.github.com/users/mutkach/following{/other_user}",
"gists_url": "https://api.github.com/users/mutkach/gists{/gist_id}",
"starred_url": "https://api.github.com/users/mutkach/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/mutkach/subscriptions",
"organizations_url": "https://api.github.com/users/mutkach/orgs",
"repos_url": "https://api.github.com/users/mutkach/repos",
"events_url": "https://api.github.com/users/mutkach/events{/privacy}",
"received_events_url": "https://api.github.com/users/mutkach/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1590/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1590/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1589 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1589/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1589/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1589/events | https://github.com/NVIDIA/NeMo/issues/1589 | 774,333,762 | MDU6SXNzdWU3NzQzMzM3NjI= | 1,589 | [Question] How do you transcribe audio from mic input | {
"login": "aryamansriram",
"id": 35336587,
"node_id": "MDQ6VXNlcjM1MzM2NTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/35336587?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aryamansriram",
"html_url": "https://github.com/aryamansriram",
"followers_url": "https://api.github.com/users/aryamansriram/followers",
"following_url": "https://api.github.com/users/aryamansriram/following{/other_user}",
"gists_url": "https://api.github.com/users/aryamansriram/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aryamansriram/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aryamansriram/subscriptions",
"organizations_url": "https://api.github.com/users/aryamansriram/orgs",
"repos_url": "https://api.github.com/users/aryamansriram/repos",
"events_url": "https://api.github.com/users/aryamansriram/events{/privacy}",
"received_events_url": "https://api.github.com/users/aryamansriram/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This is discussed in #1486, there is no built in way to do it but instead you need to write your own code to convert the mic input into a tensor that you pass directly to the model (numpy.frombuffer might be helpful). You then need to pass that tensor as input to your saved nemo model (you wont be able to use the transcribe function but instead will have to decode manually as is done in `validate` in the asr_tutorial). Don't forget to put your model into eval mode (just quartznet.eval() if using quartznet) as the asr_tutorial has a bug and doesn't do this, and it causes training augmentations to be applied during inference.\r\n\r\nI'm happy to try to help and answer any more questions if you have them. Good luck. ",
"Thanks @rbracco for the reply, closing this issue now, I'll try to implement it myself",
"> This is discussed in #1486, there is no built in way to do it but instead you need to write your own code to convert the mic input into a tensor that you pass directly to the model (numpy.frombuffer might be helpful). You then need to pass that tensor as input to your saved nemo model (you wont be able to use the transcribe function but instead will have to decode manually as is done in `validate` in the asr_tutorial). Don't forget to put your model into eval mode (just quartznet.eval() if using quartznet) as the asr_tutorial has a bug and doesn't do this, and it causes training augmentations to be applied during inference.\r\n> \r\n> I'm happy to try to help and answer any more questions if you have them. Good luck.\r\n\r\nCan you probably elaboate a little bit more and provide with your notebook if already implemented? ",
"> Thanks @rbracco for the reply, closing this issue now, I'll try to implement it myself\r\n\r\nHi. Have you implemented the conversion audio from mic input into tensor? I need it very much. Can we discuss it? ",
"Please do not reply to long closed threads, open a new one c\r\n\r\nAlso, we have not yet implemented audio from mic."
] | 2020-12-24T11:05:07 | 2022-11-13T20:25:37 | 2021-01-04T09:42:13 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe your question**
I want to transcribe audio input from a microphone without saving it as an audio file
**Environment overview (please complete the following information)**
- Environment location: Local
- Method of NeMo install: pip install nemo_toolkit[all]==1.0.0b2
**Environment details**
OS Version: Ubuntu 18.04
Python version: 3.7
Pytorch Version: 1.7.1
If NVIDIA docker image is used you don't need to specify these.
| {
"login": "aryamansriram",
"id": 35336587,
"node_id": "MDQ6VXNlcjM1MzM2NTg3",
"avatar_url": "https://avatars.githubusercontent.com/u/35336587?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/aryamansriram",
"html_url": "https://github.com/aryamansriram",
"followers_url": "https://api.github.com/users/aryamansriram/followers",
"following_url": "https://api.github.com/users/aryamansriram/following{/other_user}",
"gists_url": "https://api.github.com/users/aryamansriram/gists{/gist_id}",
"starred_url": "https://api.github.com/users/aryamansriram/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/aryamansriram/subscriptions",
"organizations_url": "https://api.github.com/users/aryamansriram/orgs",
"repos_url": "https://api.github.com/users/aryamansriram/repos",
"events_url": "https://api.github.com/users/aryamansriram/events{/privacy}",
"received_events_url": "https://api.github.com/users/aryamansriram/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1589/reactions",
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1589/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1588 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1588/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1588/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1588/events | https://github.com/NVIDIA/NeMo/issues/1588 | 774,326,823 | MDU6SXNzdWU3NzQzMjY4MjM= | 1,588 | [Question] Question about STFT parameter | {
"login": "amejri",
"id": 45438779,
"node_id": "MDQ6VXNlcjQ1NDM4Nzc5",
"avatar_url": "https://avatars.githubusercontent.com/u/45438779?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/amejri",
"html_url": "https://github.com/amejri",
"followers_url": "https://api.github.com/users/amejri/followers",
"following_url": "https://api.github.com/users/amejri/following{/other_user}",
"gists_url": "https://api.github.com/users/amejri/gists{/gist_id}",
"starred_url": "https://api.github.com/users/amejri/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/amejri/subscriptions",
"organizations_url": "https://api.github.com/users/amejri/orgs",
"repos_url": "https://api.github.com/users/amejri/repos",
"events_url": "https://api.github.com/users/amejri/events{/privacy}",
"received_events_url": "https://api.github.com/users/amejri/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"It's somewhat misleadingly named.\r\n```\r\nstft_conv (bool): If True, uses pytorch_stft and convolutions. If False, uses torch.stft. Defaults to False.\r\n```"
] | 2020-12-24T10:48:19 | 2021-01-04T19:50:59 | 2021-01-04T19:50:59 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hello,
I have a question about one parameter used in the config file of quartznet model. Can someone tell me what is the purpose of stft_conv parameter? in the config file it's set to False.

With kind regards. | {
"login": "redoctopus",
"id": 4268876,
"node_id": "MDQ6VXNlcjQyNjg4NzY=",
"avatar_url": "https://avatars.githubusercontent.com/u/4268876?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/redoctopus",
"html_url": "https://github.com/redoctopus",
"followers_url": "https://api.github.com/users/redoctopus/followers",
"following_url": "https://api.github.com/users/redoctopus/following{/other_user}",
"gists_url": "https://api.github.com/users/redoctopus/gists{/gist_id}",
"starred_url": "https://api.github.com/users/redoctopus/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/redoctopus/subscriptions",
"organizations_url": "https://api.github.com/users/redoctopus/orgs",
"repos_url": "https://api.github.com/users/redoctopus/repos",
"events_url": "https://api.github.com/users/redoctopus/events{/privacy}",
"received_events_url": "https://api.github.com/users/redoctopus/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1588/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1588/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1587 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1587/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1587/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1587/events | https://github.com/NVIDIA/NeMo/pull/1587 | 774,079,666 | MDExOlB1bGxSZXF1ZXN0NTQ1MDU5Nzcz | 1,587 | fix container version - no leading v | {
"login": "junkin",
"id": 128148,
"node_id": "MDQ6VXNlcjEyODE0OA==",
"avatar_url": "https://avatars.githubusercontent.com/u/128148?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/junkin",
"html_url": "https://github.com/junkin",
"followers_url": "https://api.github.com/users/junkin/followers",
"following_url": "https://api.github.com/users/junkin/following{/other_user}",
"gists_url": "https://api.github.com/users/junkin/gists{/gist_id}",
"starred_url": "https://api.github.com/users/junkin/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/junkin/subscriptions",
"organizations_url": "https://api.github.com/users/junkin/orgs",
"repos_url": "https://api.github.com/users/junkin/repos",
"events_url": "https://api.github.com/users/junkin/events{/privacy}",
"received_events_url": "https://api.github.com/users/junkin/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2020-12-23T22:47:02 | 2020-12-26T04:18:18 | 2020-12-26T04:18:17 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1587",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1587",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1587.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1587.patch",
"merged_at": "2020-12-26T04:18:17"
} | readme has wrong container, there is no leading v on the version for the container on NGC. | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1587/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1587/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1586 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1586/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1586/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1586/events | https://github.com/NVIDIA/NeMo/issues/1586 | 773,991,309 | MDU6SXNzdWU3NzM5OTEzMDk= | 1,586 | [Question] Instantiate ASR model from scratch | {
"login": "lodm94",
"id": 70609842,
"node_id": "MDQ6VXNlcjcwNjA5ODQy",
"avatar_url": "https://avatars.githubusercontent.com/u/70609842?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/lodm94",
"html_url": "https://github.com/lodm94",
"followers_url": "https://api.github.com/users/lodm94/followers",
"following_url": "https://api.github.com/users/lodm94/following{/other_user}",
"gists_url": "https://api.github.com/users/lodm94/gists{/gist_id}",
"starred_url": "https://api.github.com/users/lodm94/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/lodm94/subscriptions",
"organizations_url": "https://api.github.com/users/lodm94/orgs",
"repos_url": "https://api.github.com/users/lodm94/repos",
"events_url": "https://api.github.com/users/lodm94/events{/privacy}",
"received_events_url": "https://api.github.com/users/lodm94/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"what is the manifest file you instantiated with? "
] | 2020-12-23T19:04:35 | 2021-08-17T01:00:39 | 2021-08-17T01:00:39 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | Hi all,
I wish to instantiate a brand new ASR Quartznet 15x5 from a .yaml file and train it from scratch.
Actually, what i'm tryin to do is what is shown in 01_ASR_with_Nemo tutorial:
`first_asr_model = nemo_asr.models.EncDecCTCModel(cfg=DictConfig(params['model']), trainer=trainer)`
Even just running the tutorial cell by cell, the following ValueError is returned:
`num_samples should be a positive integer value, but got num_samples=0`
What's wrong? I appreciate your help. Sorry if the question may sound silly.
Thanks
- Environment location: Google Colab
- Method of NeMo install: pip install
| {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1586/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1586/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1585 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1585/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1585/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1585/events | https://github.com/NVIDIA/NeMo/issues/1585 | 772,766,286 | MDU6SXNzdWU3NzI3NjYyODY= | 1,585 | [Question] Best WAV length for fine-tuning | {
"login": "Omarnabk",
"id": 72882909,
"node_id": "MDQ6VXNlcjcyODgyOTA5",
"avatar_url": "https://avatars.githubusercontent.com/u/72882909?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Omarnabk",
"html_url": "https://github.com/Omarnabk",
"followers_url": "https://api.github.com/users/Omarnabk/followers",
"following_url": "https://api.github.com/users/Omarnabk/following{/other_user}",
"gists_url": "https://api.github.com/users/Omarnabk/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Omarnabk/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Omarnabk/subscriptions",
"organizations_url": "https://api.github.com/users/Omarnabk/orgs",
"repos_url": "https://api.github.com/users/Omarnabk/repos",
"events_url": "https://api.github.com/users/Omarnabk/events{/privacy}",
"received_events_url": "https://api.github.com/users/Omarnabk/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"A maximum of 16-20 seconds is recommended for ASR training. Anything more than that will reduce batch size and reduce training efficiency too much"
] | 2020-12-22T08:51:28 | 2021-06-19T04:42:31 | 2021-06-19T04:42:31 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | I'm working on finetuning the ASR to adapt to a specific domain. I am using the CTC segmentation tool ([here](https://github.com/NVIDIA/NeMo/tree/main/tools/ctc_segmentation)) to produce the training data. The wave lengths vary between 2 minutes to 2 seconds. I'm wondering what is the best wave length to use (or range of length to use).
Thanks! | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1585/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1585/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1584 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1584/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1584/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1584/events | https://github.com/NVIDIA/NeMo/issues/1584 | 772,487,094 | MDU6SXNzdWU3NzI0ODcwOTQ= | 1,584 | Tacotron2: tokens of pad value confuse decoder at inference | {
"login": "ctlaltdefeat",
"id": 4173549,
"node_id": "MDQ6VXNlcjQxNzM1NDk=",
"avatar_url": "https://avatars.githubusercontent.com/u/4173549?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ctlaltdefeat",
"html_url": "https://github.com/ctlaltdefeat",
"followers_url": "https://api.github.com/users/ctlaltdefeat/followers",
"following_url": "https://api.github.com/users/ctlaltdefeat/following{/other_user}",
"gists_url": "https://api.github.com/users/ctlaltdefeat/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ctlaltdefeat/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ctlaltdefeat/subscriptions",
"organizations_url": "https://api.github.com/users/ctlaltdefeat/orgs",
"repos_url": "https://api.github.com/users/ctlaltdefeat/repos",
"events_url": "https://api.github.com/users/ctlaltdefeat/events{/privacy}",
"received_events_url": "https://api.github.com/users/ctlaltdefeat/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | {
"login": "blisc",
"id": 4763352,
"node_id": "MDQ6VXNlcjQ3NjMzNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4763352?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blisc",
"html_url": "https://github.com/blisc",
"followers_url": "https://api.github.com/users/blisc/followers",
"following_url": "https://api.github.com/users/blisc/following{/other_user}",
"gists_url": "https://api.github.com/users/blisc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blisc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blisc/subscriptions",
"organizations_url": "https://api.github.com/users/blisc/orgs",
"repos_url": "https://api.github.com/users/blisc/repos",
"events_url": "https://api.github.com/users/blisc/events{/privacy}",
"received_events_url": "https://api.github.com/users/blisc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"login": "blisc",
"id": 4763352,
"node_id": "MDQ6VXNlcjQ3NjMzNTI=",
"avatar_url": "https://avatars.githubusercontent.com/u/4763352?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/blisc",
"html_url": "https://github.com/blisc",
"followers_url": "https://api.github.com/users/blisc/followers",
"following_url": "https://api.github.com/users/blisc/following{/other_user}",
"gists_url": "https://api.github.com/users/blisc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/blisc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/blisc/subscriptions",
"organizations_url": "https://api.github.com/users/blisc/orgs",
"repos_url": "https://api.github.com/users/blisc/repos",
"events_url": "https://api.github.com/users/blisc/events{/privacy}",
"received_events_url": "https://api.github.com/users/blisc/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
}
] | null | [
"Closing. re-open if issue is still relevant."
] | 2020-12-21T21:53:55 | 2022-04-05T23:34:05 | 2022-04-05T23:34:05 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe your question**
When running inference on a batch with a Tacotron2 model, the decoder correctly ends sequences when none of the sequences in the batch have too many tokens with the ```pad``` (which is ```0``` here) value at the end - so inferencing is fine when the batch size is 1 as shown in the examples or the sequences in the batch happen to have very similar length.
However, when there are more than a few such tokens at the end, the decoder does not stop and reaches ```max_decoder_steps``` even for very large values of ```max_decoder_steps```, even on sequences of in-domain length, even for very low values of ```gate_threshold```.
Intuitively, I'd expect the model to have learned that any amount of ```pad``` tokens signal the end, especially since they're preceded by the ```eos``` token. The sequences are not longer than ones encountered during training, so there shouldn't be attention alignment problems, at least not every time as to guarantee this issue.
What could be going wrong? I suspect it may have something to do with either masking of loss during training and/or one of the dropouts being used, but I'm not sure how to tackle this.
Note that this issue is also replicated in the TTS example colab notebook - add as few as 5 zeroes to the end of your parsed input and see what happens. Note that in the example the pad value is equivalent to the token assigned to the whitespace character, which isn't the case in my application, although I'm not sure if that's of any significance given that the issue arises in both cases.
This issue is, in my view, fairly significant because it makes batch inferencing essentially impossible.
| {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1584/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1584/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1583 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1583/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1583/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1583/events | https://github.com/NVIDIA/NeMo/issues/1583 | 772,364,854 | MDU6SXNzdWU3NzIzNjQ4NTQ= | 1,583 | Error running Speaker Recognition notebook: arguments are located on different GPUs | {
"login": "nshaposh",
"id": 6588758,
"node_id": "MDQ6VXNlcjY1ODg3NTg=",
"avatar_url": "https://avatars.githubusercontent.com/u/6588758?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nshaposh",
"html_url": "https://github.com/nshaposh",
"followers_url": "https://api.github.com/users/nshaposh/followers",
"following_url": "https://api.github.com/users/nshaposh/following{/other_user}",
"gists_url": "https://api.github.com/users/nshaposh/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nshaposh/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nshaposh/subscriptions",
"organizations_url": "https://api.github.com/users/nshaposh/orgs",
"repos_url": "https://api.github.com/users/nshaposh/repos",
"events_url": "https://api.github.com/users/nshaposh/events{/privacy}",
"received_events_url": "https://api.github.com/users/nshaposh/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"I am also getting the same issue.\r\nhttps://github.com/NVIDIA/NeMo/issues/1502 this might help.",
"please use `ddp` instead of `dp` as accelerator. Feel free to open the issue again incase you encounter it again. "
] | 2020-12-21T18:07:49 | 2021-01-05T05:36:03 | 2021-01-05T05:35:16 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
When running a speaker recognition notebook on multi GPUs machine I get the following error:
RuntimeError: arguments are located on different GPUs at /tmp/pip-req-build-xlj_h8ax/aten/src/THC/generic/THCTensorMathBlas.cu:25
**Steps/Code to reproduce bug**
1) 8-V100 GPUs machine
2) using the latests NeMo docker image 1.0.0b3.
3) run the Speaker_Recognition_Verification.ipynb notebook
4) modified the trainer sets up cell to
```
# Let us modify some trainer configs for this demo
# Checks if we have GPU available and uses it
cuda = 1 if torch.cuda.is_available() else 0
config.trainer.gpus = 4
# Reduces maximum number of epochs to 5 for quick demonstration
config.trainer.max_epochs = 5
# Remove distributed training flags
config.trainer.accelerator = 'dp'
```
**Expected behavior**
running the trainer.fit(speaker_model) I get:
```
...
357 # dot with filterbank energies
--> 358 x = torch.matmul(self.fb.to(x.dtype), x)
359
360 # log features if required
RuntimeError: arguments are located on different GPUs at /tmp/pip-req-build-xlj_h8ax/aten/src/THC/generic/THCTensorMathBlas.cu:25
```
**Environment overview (please complete the following information)**
docker run command used:
```
docker run --gpus all -it --rm -d -v `pwd`:/NeMo -v /home/nshaposhnikov/datasets:/datasets -v /home/nshaposhnikov/work:/work --shm-size=8g -p 8888:8888 -p 6006:6006 --ulimit memlock=-1 --ulimit stack=67108864 --device=/dev/snd nvcr.io/nvidia/nemo:1.0.0b3
Unable to find image 'nvcr.io/nvidia/nemo:1.0.0b3' locally
1.0.0b3: Pulling from nvidia/nemo
f08d8e2a3ba1: Already exists
3baa9cb2483b: Already exists
```
| {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1583/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1583/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1582 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1582/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1582/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1582/events | https://github.com/NVIDIA/NeMo/issues/1582 | 771,816,689 | MDU6SXNzdWU3NzE4MTY2ODk= | 1,582 | Missing vocab files at url in Biomegatron tutorial notebooks | {
"login": "avikpal00",
"id": 72965135,
"node_id": "MDQ6VXNlcjcyOTY1MTM1",
"avatar_url": "https://avatars.githubusercontent.com/u/72965135?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/avikpal00",
"html_url": "https://github.com/avikpal00",
"followers_url": "https://api.github.com/users/avikpal00/followers",
"following_url": "https://api.github.com/users/avikpal00/following{/other_user}",
"gists_url": "https://api.github.com/users/avikpal00/gists{/gist_id}",
"starred_url": "https://api.github.com/users/avikpal00/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/avikpal00/subscriptions",
"organizations_url": "https://api.github.com/users/avikpal00/orgs",
"repos_url": "https://api.github.com/users/avikpal00/repos",
"events_url": "https://api.github.com/users/avikpal00/events{/privacy}",
"received_events_url": "https://api.github.com/users/avikpal00/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"I am also running into the same issue while running the tutorial notebooks.\r\n\r\n<img width=\"1075\" alt=\"Screen Shot 2021-01-02 at 1 05 30 PM\" src=\"https://user-images.githubusercontent.com/7240751/103463568-5b779d00-4cfb-11eb-8626-bb36d32e1373.png\">\r\n",
"I was able to get this working by adding these two lines:\r\n```\r\nconfig.model.tokenizer.tokenizer_name = PRETRAINED_BERT_MODEL\r\nconfig.trainer.accelerator = 'null'\r\n```",
"@ericharper Thanks, that works. "
] | 2020-12-21T04:01:54 | 2021-02-25T23:53:51 | 2021-02-25T23:53:51 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
Following the biomegatron fix in [#1558](https://github.com/NVIDIA/NeMo/pull/1558).
Getting the following new error while running the Biomegatron tutorial notebooks.
Error line : model_ner = nemo_nlp.models.TokenClassificationModel(cfg=config.model, trainer=trainer)
Output Error:
[NeMo I 2020-12-21 03:39:23 megatron_utils:235] Downloading from https://api.ngc.nvidia.com/v2/models/nvidia/biomegatron345mcased/versions/0/files/vocab.txt
---------------------------------------------------------------------------
HTTPError Traceback (most recent call last)
<ipython-input-25-4645443f78bc> in <module>()
----> 1 model_ner = nemo_nlp.models.TokenClassificationModel(cfg=config.model, trainer=trainer)
12 frames
/usr/local/lib/python3.6/dist-packages/nemo/collections/nlp/models/token_classification/token_classification_model.py in __init__(self, cfg, trainer)
66 raise ValueError(f'{cfg.label_ids} not found.')
67
---> 68 self.setup_tokenizer(cfg.tokenizer)
69 self.class_weights = None
70 super().__init__(cfg=cfg, trainer=trainer)
/usr/local/lib/python3.6/dist-packages/nemo/collections/nlp/models/nlp_model.py in setup_tokenizer(self, cfg)
112 vocab_file=vocab_file,
113 special_tokens=OmegaConf.to_container(cfg.special_tokens) if cfg.special_tokens else None,
--> 114 tokenizer_model=self.register_artifact(config_path='tokenizer.tokenizer_model', src=cfg.tokenizer_model),
115 )
116 self.tokenizer = tokenizer
/usr/local/lib/python3.6/dist-packages/nemo/collections/nlp/modules/common/tokenizer_utils.py in get_tokenizer(tokenizer_name, tokenizer_model, vocab_file, special_tokens, use_fast)
60 if vocab_file is None:
61 vocab_file = nemo.collections.nlp.modules.common.megatron.megatron_utils.get_megatron_vocab_file(
---> 62 tokenizer_name
63 )
64 tokenizer_name = get_megatron_tokenizer(tokenizer_name)
/usr/local/lib/python3.6/dist-packages/nemo/collections/nlp/modules/common/megatron/megatron_utils.py in get_megatron_vocab_file(pretrained_model_name)
197
198 path = os.path.join(MEGATRON_CACHE, pretrained_model_name + "_vocab")
**--> 199 path = _download(path, url)**
200 return path
201
/usr/local/lib/python3.6/dist-packages/nemo/collections/nlp/modules/common/megatron/megatron_utils.py in _download(path, url)
234 os.makedirs(MEGATRON_CACHE, exist_ok=True)
235 logging.info(f"Downloading from {url}")
--> 236 wget.download(url, path)
237 # wait until the master process downloads the file and writes it to the cache dir
238 if torch.distributed.is_initialized():
/usr/local/lib/python3.6/dist-packages/wget.py in download(url, out, bar)
524 else:
525 binurl = url
--> 526 (tmpfile, headers) = ulib.urlretrieve(binurl, tmpfile, callback)
527 filename = detect_filename(url, out, headers)
528 if outdir:
/usr/lib/python3.6/urllib/request.py in urlretrieve(url, filename, reporthook, data)
246 url_type, path = splittype(url)
247
--> 248 with contextlib.closing(urlopen(url, data)) as fp:
249 headers = fp.info()
250
/usr/lib/python3.6/urllib/request.py in urlopen(url, data, timeout, cafile, capath, cadefault, context)
221 else:
222 opener = _opener
--> 223 return opener.open(url, data, timeout)
224
225 def install_opener(opener):
/usr/lib/python3.6/urllib/request.py in open(self, fullurl, data, timeout)
530 for processor in self.process_response.get(protocol, []):
531 meth = getattr(processor, meth_name)
--> 532 response = meth(req, response)
533
534 return response
/usr/lib/python3.6/urllib/request.py in http_response(self, request, response)
640 if not (200 <= code < 300):
641 response = self.parent.error(
--> 642 'http', request, response, code, msg, hdrs)
643
644 return response
/usr/lib/python3.6/urllib/request.py in error(self, proto, *args)
568 if http_err:
569 args = (dict, 'default', 'http_error_default') + orig_args
--> 570 return self._call_chain(*args)
571
572 # XXX probably also want an abstract factory that knows when it makes
/usr/lib/python3.6/urllib/request.py in _call_chain(self, chain, kind, meth_name, *args)
502 for handler in handlers:
503 func = getattr(handler, meth_name)
--> 504 result = func(*args)
505 if result is not None:
506 return result
/usr/lib/python3.6/urllib/request.py in http_error_default(self, req, fp, code, msg, hdrs)
648 class HTTPDefaultErrorHandler(BaseHandler):
649 def http_error_default(self, req, fp, code, msg, hdrs):
--> 650 raise HTTPError(req.full_url, code, msg, hdrs, fp)
651
652 class HTTPRedirectHandler(BaseHandler):
HTTPError: HTTP Error 500:
Vocab file missing at the specified url of megatron_utils.py.
**Steps/Code to reproduce bug**
I am running the Token_Classification-BioMegatron.ipynb notebook on Google Colab using gpu without any change in the code.
**Expected behavior**
The code cell to successfully pull the vocab file and the notebook to run without error.
**Environment overview (please complete the following information)**
- Environment location: Google Colab (GPU enabled)
**Environment details**
- Python version - 3.6.9 | {
"login": "ericharper",
"id": 11999610,
"node_id": "MDQ6VXNlcjExOTk5NjEw",
"avatar_url": "https://avatars.githubusercontent.com/u/11999610?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ericharper",
"html_url": "https://github.com/ericharper",
"followers_url": "https://api.github.com/users/ericharper/followers",
"following_url": "https://api.github.com/users/ericharper/following{/other_user}",
"gists_url": "https://api.github.com/users/ericharper/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ericharper/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ericharper/subscriptions",
"organizations_url": "https://api.github.com/users/ericharper/orgs",
"repos_url": "https://api.github.com/users/ericharper/repos",
"events_url": "https://api.github.com/users/ericharper/events{/privacy}",
"received_events_url": "https://api.github.com/users/ericharper/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1582/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1582/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1581 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1581/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1581/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1581/events | https://github.com/NVIDIA/NeMo/issues/1581 | 771,270,856 | MDU6SXNzdWU3NzEyNzA4NTY= | 1,581 | Fine-tuning of VAD EncDecClassificationModel fails while computing classification accuracy | {
"login": "yasumori",
"id": 11569104,
"node_id": "MDQ6VXNlcjExNTY5MTA0",
"avatar_url": "https://avatars.githubusercontent.com/u/11569104?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yasumori",
"html_url": "https://github.com/yasumori",
"followers_url": "https://api.github.com/users/yasumori/followers",
"following_url": "https://api.github.com/users/yasumori/following{/other_user}",
"gists_url": "https://api.github.com/users/yasumori/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yasumori/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yasumori/subscriptions",
"organizations_url": "https://api.github.com/users/yasumori/orgs",
"repos_url": "https://api.github.com/users/yasumori/repos",
"events_url": "https://api.github.com/users/yasumori/events{/privacy}",
"received_events_url": "https://api.github.com/users/yasumori/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [
{
"id": 1485815557,
"node_id": "MDU6TGFiZWwxNDg1ODE1NTU3",
"url": "https://api.github.com/repos/NVIDIA/NeMo/labels/bug",
"name": "bug",
"color": "d73a4a",
"default": true,
"description": "Something isn't working"
}
] | closed | false | null | [] | null | [
"This is an issue due to Pytorch 1.7.1 changes regarding how float tensors are cast inside torch.tensor(). There is currently a PR to update NeMo to 1.7.1 here - https://github.com/NVIDIA/NeMo/pull/1579\r\n\r\nHowever, there are other pressing issues before that PR can be merged, and it is unlikely to be merged in a short time. \r\n\r\nIn the interim, you could revert to 1.7, use the b3 branch, or you can clone the Nemo main branch repo and apply the one line fix here - https://github.com/NVIDIA/NeMo/pull/1579/files#diff-403adc4a04aa5494044dea63fc59969e52d78c32e6a0ab4518a7c5556c5e6991R89 \r\n\r\n@fayejf fyi",
"Thanks for your quick reply!\r\nI've applied the one line fix and indeed everything looks good."
] | 2020-12-19T01:26:07 | 2021-02-17T22:57:17 | 2021-02-17T22:57:17 | NONE | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | null | null | **Describe the bug**
I tried to fine-tune EncDecClassificationModel with my labels and encountered `TypeError: only integer tensors of a single element can be converted to an index`. The error came from `NeMo/nemo/collections/common/metrics/classification_accuracy.py`
**Steps/Code to reproduce bug**
```python3
vad_model = EncDecClassificationModel.from_pretrained(model_name="MatchboxNet-VAD-3x2")
my_labels = ['a', 'b', 'c']
vad_model.change_labels(my_labels)
vad_model.setup_training_data(
train_data_config={
'vad_stream': True,
'sample_rate': 16000,
'manifest_filepath': my_train_path,
'labels': my_labels,
'num_workers': 10,
'shuffle': True,
'time_length': 0.67,
'shift_length': 0.01,
'trim_silence': False,
}
)
trainer = pl.Trainer(gpus=[0])
trainer.fit(vad_model)
```
**Environment overview (please complete the following information)**
- pip install using `reinstall.sh` in the NeMo repository
**Environment details**
- OS version Debian GNU/Linux 10
- PyTorch version 1.7.1
- Python version 3.8.6
| {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1581/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1581/timeline | null | completed | false |
https://api.github.com/repos/NVIDIA/NeMo/issues/1580 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1580/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1580/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1580/events | https://github.com/NVIDIA/NeMo/pull/1580 | 771,206,577 | MDExOlB1bGxSZXF1ZXN0NTQyODA0MzM0 | 1,580 | Correcting few corner case in validation evaluation during training | {
"login": "vladgets",
"id": 8079846,
"node_id": "MDQ6VXNlcjgwNzk4NDY=",
"avatar_url": "https://avatars.githubusercontent.com/u/8079846?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/vladgets",
"html_url": "https://github.com/vladgets",
"followers_url": "https://api.github.com/users/vladgets/followers",
"following_url": "https://api.github.com/users/vladgets/following{/other_user}",
"gists_url": "https://api.github.com/users/vladgets/gists{/gist_id}",
"starred_url": "https://api.github.com/users/vladgets/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/vladgets/subscriptions",
"organizations_url": "https://api.github.com/users/vladgets/orgs",
"repos_url": "https://api.github.com/users/vladgets/repos",
"events_url": "https://api.github.com/users/vladgets/events{/privacy}",
"received_events_url": "https://api.github.com/users/vladgets/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [] | 2020-12-18T22:31:08 | 2020-12-19T02:02:50 | 2020-12-19T00:20:03 | CONTRIBUTOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1580",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1580",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1580.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1580.patch",
"merged_at": "2020-12-19T00:20:03"
} | {
"login": "yzhang123",
"id": 4204271,
"node_id": "MDQ6VXNlcjQyMDQyNzE=",
"avatar_url": "https://avatars.githubusercontent.com/u/4204271?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/yzhang123",
"html_url": "https://github.com/yzhang123",
"followers_url": "https://api.github.com/users/yzhang123/followers",
"following_url": "https://api.github.com/users/yzhang123/following{/other_user}",
"gists_url": "https://api.github.com/users/yzhang123/gists{/gist_id}",
"starred_url": "https://api.github.com/users/yzhang123/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/yzhang123/subscriptions",
"organizations_url": "https://api.github.com/users/yzhang123/orgs",
"repos_url": "https://api.github.com/users/yzhang123/repos",
"events_url": "https://api.github.com/users/yzhang123/events{/privacy}",
"received_events_url": "https://api.github.com/users/yzhang123/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1580/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1580/timeline | null | null | true |
|
https://api.github.com/repos/NVIDIA/NeMo/issues/1579 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1579/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1579/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1579/events | https://github.com/NVIDIA/NeMo/pull/1579 | 771,199,708 | MDExOlB1bGxSZXF1ZXN0NTQyNzk4NTM5 | 1,579 | Update CI to 20.12 | {
"login": "titu1994",
"id": 3048602,
"node_id": "MDQ6VXNlcjMwNDg2MDI=",
"avatar_url": "https://avatars.githubusercontent.com/u/3048602?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/titu1994",
"html_url": "https://github.com/titu1994",
"followers_url": "https://api.github.com/users/titu1994/followers",
"following_url": "https://api.github.com/users/titu1994/following{/other_user}",
"gists_url": "https://api.github.com/users/titu1994/gists{/gist_id}",
"starred_url": "https://api.github.com/users/titu1994/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/titu1994/subscriptions",
"organizations_url": "https://api.github.com/users/titu1994/orgs",
"repos_url": "https://api.github.com/users/titu1994/repos",
"events_url": "https://api.github.com/users/titu1994/events{/privacy}",
"received_events_url": "https://api.github.com/users/titu1994/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"@drnikolaev the unit tests crash for all onnx related exports.",
"closing as duplicate of https://github.com/NVIDIA/NeMo/pull/1603 "
] | 2020-12-18T22:13:42 | 2021-01-06T21:08:49 | 2021-01-06T19:12:31 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | false | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1579",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1579",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1579.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1579.patch",
"merged_at": null
} | Signed-off-by: smajumdar <[email protected]> | {
"login": "okuchaiev",
"id": 22035961,
"node_id": "MDQ6VXNlcjIyMDM1OTYx",
"avatar_url": "https://avatars.githubusercontent.com/u/22035961?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/okuchaiev",
"html_url": "https://github.com/okuchaiev",
"followers_url": "https://api.github.com/users/okuchaiev/followers",
"following_url": "https://api.github.com/users/okuchaiev/following{/other_user}",
"gists_url": "https://api.github.com/users/okuchaiev/gists{/gist_id}",
"starred_url": "https://api.github.com/users/okuchaiev/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/okuchaiev/subscriptions",
"organizations_url": "https://api.github.com/users/okuchaiev/orgs",
"repos_url": "https://api.github.com/users/okuchaiev/repos",
"events_url": "https://api.github.com/users/okuchaiev/events{/privacy}",
"received_events_url": "https://api.github.com/users/okuchaiev/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1579/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1579/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1578 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1578/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1578/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1578/events | https://github.com/NVIDIA/NeMo/pull/1578 | 770,691,745 | MDExOlB1bGxSZXF1ZXN0NTQyMzkxNDM2 | 1,578 | Tarred dataset support for audio classification models | {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 4 alerts** when merging d616be61a367dbac439f7a42e93a8e2638d23806 into 8c6152787e1eae5c6b23677df1be47041efe2d61 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-7804a833bde0dad8ce222e13d982fae64a3c4981)\n\n**new alerts:**\n\n* 4 for Unused import",
"This pull request **introduces 5 alerts** when merging 00e18b6ff8c903396f82ecfb058f5e7a873ddab6 into c6b90b3dd1321b3e95df8f91b89f55326d52a81c - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-313d01c6b288c870d3097f6bb5e0cce61a42eb99)\n\n**new alerts:**\n\n* 5 for Unused import"
] | 2020-12-18T08:25:14 | 2021-03-16T03:42:41 | 2021-01-11T18:22:36 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | true | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1578",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1578",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1578.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1578.patch",
"merged_at": null
} | - [x] Refactor classification models and label models in audio_to_label
- [x] Add support for tarred dataset for audio_to_label
- [x] Update classification models
- [x] Update VAD inference (should belong to Speaker Diarization pipelines PR but need to be used here)
- [x] Update training script, config, and instructions to use tarred dataset and improve consistency
- [x] Update converting_to_tarred_dataset script to support label models
- [x] Upload test data
- [x] Add test script
- [x] Ok a new one. enable using the duplicate name for tarred dataloader. (webdataset doesn't allow it)
Will try some hacky ways and discuss with people about a cleaner / long-term way after break.
Updates for label_models will be in another PR 🚢 basically add the tarred option to the configs files.
| {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1578/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1578/timeline | null | null | true |
https://api.github.com/repos/NVIDIA/NeMo/issues/1577 | https://api.github.com/repos/NVIDIA/NeMo | https://api.github.com/repos/NVIDIA/NeMo/issues/1577/labels{/name} | https://api.github.com/repos/NVIDIA/NeMo/issues/1577/comments | https://api.github.com/repos/NVIDIA/NeMo/issues/1577/events | https://github.com/NVIDIA/NeMo/pull/1577 | 770,404,915 | MDExOlB1bGxSZXF1ZXN0NTQyMTU4MDQ4 | 1,577 | Speaker Diarization pipeline | {
"login": "nithinraok",
"id": 19668129,
"node_id": "MDQ6VXNlcjE5NjY4MTI5",
"avatar_url": "https://avatars.githubusercontent.com/u/19668129?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/nithinraok",
"html_url": "https://github.com/nithinraok",
"followers_url": "https://api.github.com/users/nithinraok/followers",
"following_url": "https://api.github.com/users/nithinraok/following{/other_user}",
"gists_url": "https://api.github.com/users/nithinraok/gists{/gist_id}",
"starred_url": "https://api.github.com/users/nithinraok/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/nithinraok/subscriptions",
"organizations_url": "https://api.github.com/users/nithinraok/orgs",
"repos_url": "https://api.github.com/users/nithinraok/repos",
"events_url": "https://api.github.com/users/nithinraok/events{/privacy}",
"received_events_url": "https://api.github.com/users/nithinraok/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | [] | closed | false | null | [] | null | [
"This pull request **introduces 15 alerts** when merging 4bcf690a2740fb043fbed09a6566849d3cb83bf8 into e07d05c4117600c88a77d1957fee062df658c816 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-7b8b492079aea38bb52fd3e6df599969c8ae26ff)\n\n**new alerts:**\n\n* 9 for Unused import\n* 2 for Unused local variable\n* 1 for Mismatch in multiple assignment\n* 1 for Duplicate key in dict literal\n* 1 for Variable defined multiple times\n* 1 for Unused exception object",
"This pull request **introduces 17 alerts** when merging 0683a25573230b609f267ad8f0bac97fb8ed8aa3 into 297a8bdbb0370a51cb74a41288025befd9cd2392 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-70a8d9d40268e153289a9b1264edbe9d69fbe56f)\n\n**new alerts:**\n\n* 10 for Unused import\n* 3 for Unused local variable\n* 1 for Mismatch in multiple assignment\n* 1 for Duplicate key in dict literal\n* 1 for Variable defined multiple times\n* 1 for Unused exception object",
"This pull request **introduces 17 alerts** when merging 8f69fb6682e29a355cc76fef73a03a7af52f23d8 into 297a8bdbb0370a51cb74a41288025befd9cd2392 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-7f548ceea7f6aa56a9a77c7bf7347b7dc29e9847)\n\n**new alerts:**\n\n* 10 for Unused import\n* 3 for Unused local variable\n* 1 for Mismatch in multiple assignment\n* 1 for Duplicate key in dict literal\n* 1 for Variable defined multiple times\n* 1 for Unused exception object",
"This pull request **introduces 20 alerts** when merging e3664de9c4de18d4bd5242dc0e1e65ff4f2af55c into 51092ef7a9810ab096148cdf2d44ddfe6c72d028 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-4a55dbcf52f6276e76a071dc40f0a7d4764dc431)\n\n**new alerts:**\n\n* 11 for Unused import\n* 3 for Unused local variable\n* 2 for Except block handles 'BaseException'\n* 1 for Mismatch in multiple assignment\n* 1 for Duplicate key in dict literal\n* 1 for Variable defined multiple times\n* 1 for Unused exception object",
"This pull request **introduces 20 alerts** when merging b06f9db8b748fe3bd94636c40061e266641f0046 into df360cd3c856c645d23505305ee8b689636b2dd1 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-b21b21960437c9c9df52ed933ebb230404ba4fe0)\n\n**new alerts:**\n\n* 11 for Unused import\n* 3 for Unused local variable\n* 2 for Except block handles 'BaseException'\n* 1 for Mismatch in multiple assignment\n* 1 for Duplicate key in dict literal\n* 1 for Variable defined multiple times\n* 1 for Unused exception object",
"This pull request **introduces 20 alerts** when merging 14f8fec9b5bee8458f760236fa34f67c81dfa720 into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-90e274486da59b1ec96355804c4076a2248fb0d8)\n\n**new alerts:**\n\n* 11 for Unused import\n* 2 for Except block handles 'BaseException'\n* 1 for Mismatch in multiple assignment\n* 1 for Non\\-callable called\n* 1 for Unused local variable\n* 1 for Duplicate key in dict literal\n* 1 for Module is imported with 'import' and 'import from'\n* 1 for Variable defined multiple times\n* 1 for Unused exception object",
"This pull request **introduces 14 alerts** when merging f2977ad981939cb958c24008b19fa500fb375ed2 into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-359b57382e7973ed500922bbe90f819140874e6c)\n\n**new alerts:**\n\n* 8 for Unused import\n* 1 for Mismatch in multiple assignment\n* 1 for Non\\-callable called\n* 1 for Duplicate key in dict literal\n* 1 for Module is imported with 'import' and 'import from'\n* 1 for Variable defined multiple times\n* 1 for Unused exception object",
"This pull request **introduces 14 alerts** when merging 683af13a4c30e92a3f64447acb7171e879929c80 into ad0edf2e6910b7b6de3ae93fba9b728f6479c50e - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-d904ce6739d208e8536b0aedd98c3e7f2468bdfb)\n\n**new alerts:**\n\n* 8 for Unused import\n* 1 for Mismatch in multiple assignment\n* 1 for Non\\-callable called\n* 1 for Duplicate key in dict literal\n* 1 for Module is imported with 'import' and 'import from'\n* 1 for Variable defined multiple times\n* 1 for Unused exception object",
"This pull request **introduces 14 alerts** when merging cf0217ce07ef127ed32c520f7f77da75763fa8f5 into 8a26496f415386f50adcead21ebd1e4a21a7ff42 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-21d504d1767617f50f05e88f5b411fc09fec56cb)\n\n**new alerts:**\n\n* 8 for Unused import\n* 1 for Mismatch in multiple assignment\n* 1 for Non\\-callable called\n* 1 for Duplicate key in dict literal\n* 1 for Module is imported with 'import' and 'import from'\n* 1 for Variable defined multiple times\n* 1 for Unused exception object",
"This pull request **introduces 14 alerts** when merging 1ea44d548cf9537038e9afff85b2eca774101cbe into 2bc22ba2c004286ffd663f9c616ae054012f6bd2 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-b61ce6f9975441851bd78b06a1e25d01b5a6632a)\n\n**new alerts:**\n\n* 8 for Unused import\n* 1 for Mismatch in multiple assignment\n* 1 for Non\\-callable called\n* 1 for Duplicate key in dict literal\n* 1 for Module is imported with 'import' and 'import from'\n* 1 for Variable defined multiple times\n* 1 for Unused exception object",
"This pull request **introduces 14 alerts** when merging c04ac32ce284c13b11d2fa14fedd09118e8c0c49 into 14904fd0381f5515a9773cf7a538dc09e08c8aa9 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-7a89a5cfc700201b8cdc59f75a8d5db059ea6b50)\n\n**new alerts:**\n\n* 8 for Unused import\n* 1 for Mismatch in multiple assignment\n* 1 for Non\\-callable called\n* 1 for Duplicate key in dict literal\n* 1 for Module is imported with 'import' and 'import from'\n* 1 for Variable defined multiple times\n* 1 for Unused exception object",
"This pull request **introduces 16 alerts** when merging 972f2ae328918f4f15297f1a7925641676c0cd19 into 14904fd0381f5515a9773cf7a538dc09e08c8aa9 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-f5560cf2ed936923fc96b35ec39b99a3a1e732b9)\n\n**new alerts:**\n\n* 12 for Unused import\n* 1 for Mismatch in multiple assignment\n* 1 for Non\\-callable called\n* 1 for Module is imported with 'import' and 'import from'\n* 1 for Unused exception object",
"This pull request **introduces 15 alerts** when merging 49c26db87c6b43645a0f6b488de6842b92324e86 into 14904fd0381f5515a9773cf7a538dc09e08c8aa9 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-cf138c24c3962f74917bb8b247a6a48d7d1d8d80)\n\n**new alerts:**\n\n* 12 for Unused import\n* 1 for Non\\-callable called\n* 1 for Module is imported with 'import' and 'import from'\n* 1 for Unused exception object",
"This pull request **introduces 12 alerts** when merging b435ba401d4a69996077bb5ff3aa0ff13dbd189e into 14904fd0381f5515a9773cf7a538dc09e08c8aa9 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-4d776dba8cb6175c8ad0163e6470c1de990154f8)\n\n**new alerts:**\n\n* 10 for Unused import\n* 1 for Non\\-callable called\n* 1 for Module is imported with 'import' and 'import from'",
"This pull request **introduces 7 alerts** when merging 681e5ee98cd81604389e9796f4ace51ee3679be7 into 14904fd0381f5515a9773cf7a538dc09e08c8aa9 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-35c3a92a6f338233401bdd1f67e5e63cb75539d9)\n\n**new alerts:**\n\n* 5 for Unused import\n* 1 for Non\\-callable called\n* 1 for Module is imported with 'import' and 'import from'",
"This pull request **introduces 1 alert** when merging 6ace7f8cc5ba834d6b8d37f5aa7b7fe921392ef2 into a9dde42b24cb5cd864f04837875ba957f17e27c2 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-d542e47ec06d6f054ebfe285ea222e1edfa8836a)\n\n**new alerts:**\n\n* 1 for Non\\-callable called",
"This pull request **introduces 2 alerts** when merging e2033b53455747976deb43e3dfc13c9564607025 into c4379da172c1ac866fea0cd91ac6433dcd119651 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-7f950024be69d6412e0e770279b9da2c5be0410d)\n\n**new alerts:**\n\n* 1 for Non\\-callable called\n* 1 for Unused local variable",
"This pull request **introduces 6 alerts** when merging 2f6eb5b2f7f6323b0d89e2b976156570f3e56d83 into ee6aa0d05c7c3009543f2f25c0606fea0bc01612 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-89577f15db01346b5f2d929a0e22bc86203e6e6e)\n\n**new alerts:**\n\n* 3 for Unused import\n* 1 for Non\\-callable called\n* 1 for Unused local variable\n* 1 for Variable defined multiple times",
"This pull request **introduces 4 alerts** when merging d4157851863dea2b141eadf00b7bd930afc7cb9c into ee6aa0d05c7c3009543f2f25c0606fea0bc01612 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-89ec49fb8a859a9c3afd2100c9edcbbb32e83c52)\n\n**new alerts:**\n\n* 1 for Non\\-callable called\n* 1 for Unused local variable\n* 1 for Unused import\n* 1 for Variable defined multiple times",
"This pull request **introduces 2 alerts** when merging 57e9d4e1bd01a2ee734c023e2899887ccc3b462c into 7de0e5e6242a0ef873f3d0578a59a5166c7130c1 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-0b72723b0fbaf427418123c6f52156c045df0fa9)\n\n**new alerts:**\n\n* 1 for Non\\-callable called\n* 1 for Variable defined multiple times",
"This pull request **introduces 2 alerts** when merging 7fee59a2522915e30178fd99716b47e30cda915b into 7de0e5e6242a0ef873f3d0578a59a5166c7130c1 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-52a9efd64718669977befce1781149a9d25f0e92)\n\n**new alerts:**\n\n* 1 for Non\\-callable called\n* 1 for Variable defined multiple times",
"This pull request **introduces 2 alerts** when merging 91236057a8bde61d19817b8886baa5c7eadc0224 into 7de0e5e6242a0ef873f3d0578a59a5166c7130c1 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-b2f17c1999ea2044f32c389122a67fb6e743c8ef)\n\n**new alerts:**\n\n* 1 for Non\\-callable called\n* 1 for Variable defined multiple times",
"This pull request **introduces 2 alerts** when merging 836e1693d90fc889f52c25316a7904709a9bb883 into 941ef1fd71bd2515a4ba7092d65146edfddc1229 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-71b6d4af90771ac443c707970f6edde3f12cf29b)\n\n**new alerts:**\n\n* 1 for Non\\-callable called\n* 1 for Variable defined multiple times",
"This pull request **introduces 2 alerts** when merging ca556b1516b514fbe9676c0f494d9c11d6cad389 into 941ef1fd71bd2515a4ba7092d65146edfddc1229 - [view on LGTM.com](https://lgtm.com/projects/g/NVIDIA/NeMo/rev/pr-a3161c4664b14cab30e836ed2d09302ad750382e)\n\n**new alerts:**\n\n* 1 for Non\\-callable called\n* 1 for Variable defined multiple times"
] | 2020-12-17T22:00:59 | 2021-03-23T21:47:29 | 2021-03-12T23:04:54 | COLLABORATOR | {
"total": 0,
"completed": 0,
"percent_completed": 0
} | null | true | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/pulls/1577",
"html_url": "https://github.com/NVIDIA/NeMo/pull/1577",
"diff_url": "https://github.com/NVIDIA/NeMo/pull/1577.diff",
"patch_url": "https://github.com/NVIDIA/NeMo/pull/1577.patch",
"merged_at": null
} | {
"login": "fayejf",
"id": 36722593,
"node_id": "MDQ6VXNlcjM2NzIyNTkz",
"avatar_url": "https://avatars.githubusercontent.com/u/36722593?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/fayejf",
"html_url": "https://github.com/fayejf",
"followers_url": "https://api.github.com/users/fayejf/followers",
"following_url": "https://api.github.com/users/fayejf/following{/other_user}",
"gists_url": "https://api.github.com/users/fayejf/gists{/gist_id}",
"starred_url": "https://api.github.com/users/fayejf/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/fayejf/subscriptions",
"organizations_url": "https://api.github.com/users/fayejf/orgs",
"repos_url": "https://api.github.com/users/fayejf/repos",
"events_url": "https://api.github.com/users/fayejf/events{/privacy}",
"received_events_url": "https://api.github.com/users/fayejf/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
} | {
"url": "https://api.github.com/repos/NVIDIA/NeMo/issues/1577/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} | https://api.github.com/repos/NVIDIA/NeMo/issues/1577/timeline | null | null | true |
Subsets and Splits