flamo 0.2.1__py3-none-any.whl → 0.2.2__py3-none-any.whl

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.
flamo/optimize/surface.py CHANGED
@@ -142,6 +142,7 @@ class LossProfile:
142
142
  figsize=((len(self.criteria) + 2) // 3 * 5, 15),
143
143
  )
144
144
  steps = self.steps
145
+ steps = steps.cpu().numpy()
145
146
  for i_crit in range(len(self.criteria)):
146
147
  mean_loss = loss[:, :, i_crit].mean(0)
147
148
  std_loss = loss[:, :, i_crit].std(0)
@@ -470,7 +471,7 @@ class LossSurface(LossProfile):
470
471
  steps_0 = self.steps_0
471
472
  steps_1 = self.steps_1
472
473
  # create a meshgrid
473
- steps_0, steps_1 = np.meshgrid(steps_0, steps_1)
474
+ steps_0, steps_1 = np.meshgrid(steps_0.cpu().numpy(), steps_1.cpu().numpy())
474
475
  title = ["mean", "std"]
475
476
  for i_plot in range(2):
476
477
  if len(self.criteria) == 1:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flamo
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: An Open-Source Library for Frequency-Domain Differentiable Audio Processing
5
5
  Project-URL: Homepage, https://github.com/gdalsanto/flamo
6
6
  Project-URL: Issues, https://github.com/gdalsanto/flamo/issues
@@ -12,13 +12,13 @@ flamo/auxiliary/config/config.py,sha256=sZ3XvqwV6KiIc2n8HRtg7YJE3zhc7Vqblbqs-Z0b
12
12
  flamo/optimize/__init__.py,sha256=grgxLmQ7m-c9MvRdIejmEAaaajfBwgeaZAv2qjHIvPw,65
13
13
  flamo/optimize/dataset.py,sha256=6DviKGBuT8HZp6dm4ipOpd8XZeycIl1ci4QChx2iL0M,6556
14
14
  flamo/optimize/loss.py,sha256=h6EeqjdX5P1SqDBKBavSxV25VBgnYK8tuX91wk6lw_g,33466
15
- flamo/optimize/surface.py,sha256=aYWXg2ZNJzFjHRILcgrTfNkQ2VSoaMfMSnu9IPM8O-8,26475
15
+ flamo/optimize/surface.py,sha256=MmEPKKFt2kF5eJmtW841RRLGq1ibjfPs0QxcpjhNZP8,26539
16
16
  flamo/optimize/trainer.py,sha256=he4nUjLC-3RTlxxBIw33r5k8mQfgAGvN1wpPBAWCjVo,12045
17
17
  flamo/optimize/utils.py,sha256=R5-KoZagRho3eykY88pC3UB2mc5SsE4Yv9X-ogskXdA,1610
18
18
  flamo/processor/__init__.py,sha256=paGdxGVZgA2VAs0tBwRd0bobzGxeyK79DS7ZGO8drkI,41
19
19
  flamo/processor/dsp.py,sha256=a5etio4qfJWwAsHpAk3CXDgEd3LMet-r_956216SO6M,128874
20
20
  flamo/processor/system.py,sha256=Hct-o6IgF5NQ2xYbX-1j3st94hMoM8dOgAzle2gjDqU,43145
21
- flamo-0.2.1.dist-info/METADATA,sha256=sOS3bLK0Cf-EaySS5RxXTtXUilTJ4iHkAbEmnB_VL0w,7825
22
- flamo-0.2.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
- flamo-0.2.1.dist-info/licenses/LICENSE,sha256=smMocRH7xdPT5RvFNqSLtbSNzohXJM5G_rX1Qaej6vg,1120
24
- flamo-0.2.1.dist-info/RECORD,,
21
+ flamo-0.2.2.dist-info/METADATA,sha256=bXd68FFF6GV7vEceP8jLup-LmHju1Qos_TY-0-ulwOc,7825
22
+ flamo-0.2.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
23
+ flamo-0.2.2.dist-info/licenses/LICENSE,sha256=smMocRH7xdPT5RvFNqSLtbSNzohXJM5G_rX1Qaej6vg,1120
24
+ flamo-0.2.2.dist-info/RECORD,,
File without changes