MORTM 3.2__tar.gz → 3.2.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. {mortm-3.2 → mortm-3.2.5}/MORTM.egg-info/PKG-INFO +1 -1
  2. {mortm-3.2 → mortm-3.2.5}/PKG-INFO +1 -1
  3. {mortm-3.2 → mortm-3.2.5}/mortm/models/mortm.py +1 -1
  4. {mortm-3.2 → mortm-3.2.5}/setup.py +1 -1
  5. {mortm-3.2 → mortm-3.2.5}/MORTM.egg-info/SOURCES.txt +0 -0
  6. {mortm-3.2 → mortm-3.2.5}/MORTM.egg-info/dependency_links.txt +0 -0
  7. {mortm-3.2 → mortm-3.2.5}/MORTM.egg-info/top_level.txt +0 -0
  8. {mortm-3.2 → mortm-3.2.5}/README.md +0 -0
  9. {mortm-3.2 → mortm-3.2.5}/mortm/__init__.py +0 -0
  10. {mortm-3.2 → mortm-3.2.5}/mortm/constants.py +0 -0
  11. {mortm-3.2 → mortm-3.2.5}/mortm/convert.py +0 -0
  12. {mortm-3.2 → mortm-3.2.5}/mortm/custom_token.py +0 -0
  13. {mortm-3.2 → mortm-3.2.5}/mortm/de_convert.py +0 -0
  14. {mortm-3.2 → mortm-3.2.5}/mortm/eval.py +0 -0
  15. {mortm-3.2 → mortm-3.2.5}/mortm/generate.py +0 -0
  16. {mortm-3.2 → mortm-3.2.5}/mortm/gmail_messanger.py +0 -0
  17. {mortm-3.2 → mortm-3.2.5}/mortm/messager.py +0 -0
  18. {mortm-3.2 → mortm-3.2.5}/mortm/models/__init__.py +0 -0
  19. {mortm-3.2 → mortm-3.2.5}/mortm/models/bertm.py +0 -0
  20. {mortm-3.2 → mortm-3.2.5}/mortm/models/modules/PositionalEncoding.py +0 -0
  21. {mortm-3.2 → mortm-3.2.5}/mortm/models/modules/__init__.py +0 -0
  22. {mortm-3.2 → mortm-3.2.5}/mortm/models/modules/attention.py +0 -0
  23. {mortm-3.2 → mortm-3.2.5}/mortm/models/modules/config.py +0 -0
  24. {mortm-3.2 → mortm-3.2.5}/mortm/models/modules/layers.py +0 -0
  25. {mortm-3.2 → mortm-3.2.5}/mortm/models/modules/progress.py +0 -0
  26. {mortm-3.2 → mortm-3.2.5}/mortm/re/RLDF.py +0 -0
  27. {mortm-3.2 → mortm-3.2.5}/mortm/re/__init__.py +0 -0
  28. {mortm-3.2 → mortm-3.2.5}/mortm/train/__init__.py +0 -0
  29. {mortm-3.2 → mortm-3.2.5}/mortm/train/datasets.py +0 -0
  30. {mortm-3.2 → mortm-3.2.5}/mortm/train/epoch.py +0 -0
  31. {mortm-3.2 → mortm-3.2.5}/mortm/train/noam.py +0 -0
  32. {mortm-3.2 → mortm-3.2.5}/mortm/train/re_train.py +0 -0
  33. {mortm-3.2 → mortm-3.2.5}/mortm/train/tokenizer.py +0 -0
  34. {mortm-3.2 → mortm-3.2.5}/mortm/train/train.py +0 -0
  35. {mortm-3.2 → mortm-3.2.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: MORTM
3
- Version: 3.2
3
+ Version: 3.2.5
4
4
  Summary: 音楽の旋律生成を実現したシステム
5
5
  Home-page: https://github.com/Ayato964
6
6
  Author: Nagoshi Takaaki
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: MORTM
3
- Version: 3.2
3
+ Version: 3.2.5
4
4
  Summary: 音楽の旋律生成を実現したシステム
5
5
  Home-page: https://github.com/Ayato964
6
6
  Author: Nagoshi Takaaki
@@ -73,7 +73,7 @@ class MORTM(nn.Module):
73
73
  generated_tokens.append(sampled_index)
74
74
  src = torch.cat([src, torch.tensor([[sampled_index]], device=self.progress.get_device())], dim=1)
75
75
  measure_count = (src == 3).sum().item()
76
- if sampled_index == 391 or sampled_index == 392 or measure_count > max_measure:
76
+ if sampled_index == 519 or sampled_index == 520 or measure_count > max_measure:
77
77
  is_running = False
78
78
 
79
79
  return torch.tensor(generated_tokens), src.squeeze(0)
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='MORTM',
5
- version='3.2',
5
+ version='3.2.5',
6
6
  author='Nagoshi Takaaki',
7
7
  author_email='nagoshi@kthrlab.jp',
8
8
  description='音楽の旋律生成を実現したシステム',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes