scope 0.3.1__tar.gz → 0.3.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scope
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Metrics logging and analysis
5
5
  Home-page: http://github.com/danijar/scope
6
6
  Classifier: Intended Audience :: Science/Research
@@ -1,4 +1,4 @@
1
- __version__ = '0.3.1'
1
+ __version__ = '0.3.2'
2
2
 
3
3
  from .reader import Reader
4
4
  from .writer import Writer
@@ -132,7 +132,7 @@ class Video:
132
132
  T, H, W, _ = value.shape
133
133
  fp = io.BytesIO()
134
134
  output = av.open(fp, mode='w', format=self.ext)
135
- stream = output.add_stream(self.codec, rate=float(self.fps))
135
+ stream = output.add_stream(self.codec, rate=self.fps)
136
136
  stream.width = W
137
137
  stream.height = H
138
138
  stream.pix_fmt = 'yuv420p'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: scope
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Metrics logging and analysis
5
5
  Home-page: http://github.com/danijar/scope
6
6
  Classifier: Intended Audience :: Science/Research
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