Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Key word iil #52

Open
zhayyeh opened this issue Sep 3, 2023 · 8 comments
Open

Key word iil #52

zhayyeh opened this issue Sep 3, 2023 · 8 comments

Comments

@zhayyeh
Copy link

zhayyeh commented Sep 3, 2023

I'm recieving the following error when running the 'test_py3gpp.ipynb' example:

TypeError: ('Keyword argument not understood:', 'iil')

@catkira
Copy link
Owner

catkira commented Sep 3, 2023

Thanks for reporting this issue.

The following commits should fix this:
f5fa4bf
fbf04c5

@zhayyeh
Copy link
Author

zhayyeh commented Sep 4, 2023

Thanks. New error now. Cell 5 of 15 line 14 of test_py3gpp.ipynb

TypeError: nrOFDMModulate() got an unexpected keyword argument 'CarrierFrequency'

@zhayyeh
Copy link
Author

zhayyeh commented Sep 4, 2023

It looks like pip insatll py3gpp is not installing all of the files from version 0.2.0 or its not pulling the right version at all.

@zhayyeh
Copy link
Author

zhayyeh commented Sep 6, 2023

Never mind. I was using an older version of Python.

@zhayyeh zhayyeh closed this as completed Sep 6, 2023
@zhayyeh zhayyeh reopened this Sep 6, 2023
@zhayyeh
Copy link
Author

zhayyeh commented Sep 6, 2023

Cell In[45], line 37
35 frozen_pos, info_pos = generate_5g_ranking(K, N)
36 ind_int = np.argsort(interleave(K))
---> 37 decoder = PolarSCLDecoder(frozen_pos, N, list_size=8, crc_degree='CRC24C', cpu_only=True, use_fast_scl=False, iil=True, ind_int=ind_int)
38 decoded = np.array(decoder(np.expand_dims(-decIn, 0))[0], 'int')
40 # check CRC

File ~\AppData\Roaming\Python\Python311\site-packages\sionna\fec\polar\decoding.py:488, in PolarSCLDecoder.init(self, frozen_pos, n, list_size, crc_degree, use_hybrid_sc, use_fast_scl, cpu_only, use_scatter, ind_iil_inv, return_crc_status, output_dtype, **kwargs)
485 if output_dtype is not tf.float32:
486 print('Note: decoder uses tf.float32 for internal calculations.')
--> 488 super().init(dtype=output_dtype, **kwargs)
489 self._output_dtype = output_dtype
491 # assert error if r>1 or k, n are negative

File ~\AppData\Roaming\Python\Python311\site-packages\tensorflow\python\trackable\base.py:204, in no_automatic_dependency_tracking.._method_wrapper(self, *args, **kwargs)
202 self._self_setattr_tracking = False # pylint: disable=protected-access
203 try:
--> 204 result = method(self, *args, **kwargs)
205 finally:
206 self._self_setattr_tracking = previous_value # pylint: disable=protected-access

File ~\AppData\Roaming\Python\Python311\site-packages\keras\src\engine\base_layer.py:340, in Layer.init(self, trainable, name, dtype, dynamic, **kwargs)
329 allowed_kwargs = {
...
512 for kwarg in kwargs:
513 if kwarg not in allowed_kwargs:
--> 514 raise TypeError(error_message, kwarg)

TypeError: ('Keyword argument not understood:', 'iil')

@catkira
Copy link
Owner

catkira commented Sep 10, 2023

@zhayyeh is this problem still existing with version 0.2.1?

@zhayyeh
Copy link
Author

zhayyeh commented Sep 10, 2023

I’ll try this newer version and let you know.

@zhayyeh
Copy link
Author

zhayyeh commented Sep 11, 2023

Problem still there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants