You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Module should have a cplxmodule.__version__ defined.
In your setup.py set the version=version and use this up top somewhere. This might look dirty but believe me it's the best way. We use this for gnuradio/sigmf and other projects:
I'm fairly certain that this line should be changed to allow passing a tuple of padding parameters like (5,7,) or whatever to padding:
self.stride[0], self.padding[0], self.dilation[0], # from thisself.stride, self.padding, self.dilation, # to this
Due to the way that you are using relative imports (correctly) this project is compatible with Python 3.7+ and NOT prior versions. You can add an indicator for this in the setup. This was actually a bug related to your pip package reporting the same version as the version installed from git, but they were different and had different submodules. More reason to properly version.
I probably have a PR for you for a different feature, but I have to get it approved for release first.
The text was updated successfully, but these errors were encountered:
@Teque5 Thank you for using the package and your issue!
1, 4. This was a gross oversight on my part. Thank you for pointing this out!
2. Thank you for the snippet! I decided to use a slightly different approach in setup.py: it creates a __version__.py during install.
3. The 1d convolution is supposed to take tuple singletons or ints, however I cannot recall any solid reason to hide exceptions related to bad argument values from the user.
I am going to ship these fixes soon bundled with minor updates to more modern pytorch version >=1.8.
update: Currently working on these and other updates in this branch, which has a very up-to-date name xD
cplxmodule.__version__
defined.setup.py
set theversion=version
and use this up top somewhere. This might look dirty but believe me it's the best way. We use this for gnuradio/sigmf and other projects:padding
:Due to the way that you are using relative imports (correctly) this project is compatible with Python 3.7+ and NOT prior versions. You can add an indicator for this in the setup.This was actually a bug related to your pip package reporting the same version as the version installed from git, but they were different and had different submodules. More reason to properly version.I probably have a PR for you for a different feature, but I have to get it approved for release first.
The text was updated successfully, but these errors were encountered: