miding 3.1.6__tar.gz → 3.1.7__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 (26) hide show
  1. miding-3.1.7/MANIFEST.in +3 -0
  2. {miding-3.1.6/src/miding.egg-info → miding-3.1.7}/PKG-INFO +2 -1
  3. {miding-3.1.6 → miding-3.1.7}/pyproject.toml +2 -1
  4. miding-3.1.7/src/miding/__init__.py +4 -0
  5. miding-3.1.7/src/miding/example_seed.mid +0 -0
  6. miding-3.1.7/src/miding/midi/Chopin 24 Prelueds-2.mid +0 -0
  7. miding-3.1.7/src/miding/midi/Chopin 24 Prelueds-3.mid +0 -0
  8. miding-3.1.7/src/miding/midi/Den ensamna furan.mid +0 -0
  9. miding-3.1.7/src/miding/midi/Ich sehe dich in tausend Bildern.mid +0 -0
  10. {miding-3.1.6 → miding-3.1.7}/src/miding/model.py +1 -1
  11. miding-3.1.7/src/miding/model_1751770203_best.keras +0 -0
  12. miding-3.1.7/src/miding/model_1751770954_best.keras +0 -0
  13. {miding-3.1.6 → miding-3.1.7}/src/miding/prediction.py +2 -3
  14. {miding-3.1.6 → miding-3.1.7/src/miding.egg-info}/PKG-INFO +2 -1
  15. {miding-3.1.6 → miding-3.1.7}/src/miding.egg-info/SOURCES.txt +8 -1
  16. {miding-3.1.6 → miding-3.1.7}/src/miding.egg-info/requires.txt +1 -0
  17. miding-3.1.6/MANIFEST.in +0 -1
  18. miding-3.1.6/src/miding/__init__.py +0 -4
  19. {miding-3.1.6 → miding-3.1.7}/LICENSE.txt +0 -0
  20. {miding-3.1.6 → miding-3.1.7}/README.md +0 -0
  21. {miding-3.1.6 → miding-3.1.7}/setup.cfg +0 -0
  22. {miding-3.1.6 → miding-3.1.7}/src/miding/distribution.py +0 -0
  23. {miding-3.1.6 → miding-3.1.7}/src/miding/preparation1.py +0 -0
  24. {miding-3.1.6 → miding-3.1.7}/src/miding.egg-info/dependency_links.txt +0 -0
  25. {miding-3.1.6 → miding-3.1.7}/src/miding.egg-info/entry_points.txt +0 -0
  26. {miding-3.1.6 → miding-3.1.7}/src/miding.egg-info/top_level.txt +0 -0
@@ -0,0 +1,3 @@
1
+ recursive-include src/miding *.keras
2
+ recursive-include src/miding/midi *.mid
3
+ recursive-include src/miding example_seed.mid
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: miding
3
- Version: 3.1.6
3
+ Version: 3.1.7
4
4
  Summary: A generator of midi score based on GRU.
5
5
  Author-email: Jerry_Skywolf <jerryskywolf@outlook.com>
6
6
  License-Expression: GPL-3.0
@@ -17,6 +17,7 @@ License-File: LICENSE.txt
17
17
  Requires-Dist: keras
18
18
  Requires-Dist: mido
19
19
  Requires-Dist: numpy
20
+ Requires-Dist: tensorflow
20
21
  Dynamic: license-file
21
22
 
22
23
  # Miding
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "miding"
7
- version = "3.1.6"
7
+ version = "3.1.7"
8
8
  authors = [
9
9
  { name="Jerry_Skywolf", email="jerryskywolf@outlook.com" },
10
10
  ]
@@ -23,6 +23,7 @@ dependencies = [
23
23
  'keras',
24
24
  'mido',
25
25
  'numpy',
26
+ 'tensorflow',
26
27
  ]
27
28
  keywords = [
28
29
  'midi',
@@ -0,0 +1,4 @@
1
+ from .prediction import Predict
2
+ from .preparation1 import *
3
+
4
+ name = 'miding'
Binary file
@@ -11,7 +11,7 @@ from keras.optimizers import Adam
11
11
  from keras.losses import MeanSquaredError
12
12
  from keras.callbacks import EarlyStopping, ModelCheckpoint
13
13
 
14
- from preparation1 import create_databases
14
+ from .preparation1 import create_databases
15
15
 
16
16
 
17
17
  superparameters = {'batch_size': 256, 'train_length': 8}
@@ -5,8 +5,8 @@ from mido import Message, MidiFile, MidiTrack, MetaMessage, bpm2tempo
5
5
  environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
6
6
  environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
7
7
 
8
- from distribution import RandomDistributionReform
9
- from preparation1 import read_model, load_midi_file, get_seed
8
+ from .distribution import RandomDistributionReform
9
+ from .preparation1 import read_model, load_midi_file, get_seed
10
10
 
11
11
 
12
12
  class FormateError(TypeError):
@@ -123,6 +123,5 @@ class Seed:
123
123
 
124
124
 
125
125
  if __name__ == '__main__':
126
- # Predict(seed=get_seed(), epoch=256, model_version=1751770203)
127
126
  s = Seed(midi_file='example_seed.mid')
128
127
  Predict(seed=s.get_seed(),epoch=128, model_version=1751770203)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: miding
3
- Version: 3.1.6
3
+ Version: 3.1.7
4
4
  Summary: A generator of midi score based on GRU.
5
5
  Author-email: Jerry_Skywolf <jerryskywolf@outlook.com>
6
6
  License-Expression: GPL-3.0
@@ -17,6 +17,7 @@ License-File: LICENSE.txt
17
17
  Requires-Dist: keras
18
18
  Requires-Dist: mido
19
19
  Requires-Dist: numpy
20
+ Requires-Dist: tensorflow
20
21
  Dynamic: license-file
21
22
 
22
23
  # Miding
@@ -4,7 +4,10 @@ README.md
4
4
  pyproject.toml
5
5
  src/miding/__init__.py
6
6
  src/miding/distribution.py
7
+ src/miding/example_seed.mid
7
8
  src/miding/model.py
9
+ src/miding/model_1751770203_best.keras
10
+ src/miding/model_1751770954_best.keras
8
11
  src/miding/prediction.py
9
12
  src/miding/preparation1.py
10
13
  src/miding.egg-info/PKG-INFO
@@ -12,4 +15,8 @@ src/miding.egg-info/SOURCES.txt
12
15
  src/miding.egg-info/dependency_links.txt
13
16
  src/miding.egg-info/entry_points.txt
14
17
  src/miding.egg-info/requires.txt
15
- src/miding.egg-info/top_level.txt
18
+ src/miding.egg-info/top_level.txt
19
+ src/miding/midi/Chopin 24 Prelueds-2.mid
20
+ src/miding/midi/Chopin 24 Prelueds-3.mid
21
+ src/miding/midi/Den ensamna furan.mid
22
+ src/miding/midi/Ich sehe dich in tausend Bildern.mid
@@ -1,3 +1,4 @@
1
1
  keras
2
2
  mido
3
3
  numpy
4
+ tensorflow
miding-3.1.6/MANIFEST.in DELETED
@@ -1 +0,0 @@
1
- recursive-include midi-neuronal-generator *.keras
@@ -1,4 +0,0 @@
1
- from prediction import Predict
2
- from preparation1 import *
3
-
4
- name = 'miding'
File without changes
File without changes
File without changes