Code Monkey home page Code Monkey logo

Comments (8)

catkira avatar catkira commented on August 24, 2024

Thanks for reporting this issue.

The following commits should fix this:
f5fa4bf
fbf04c5

from py3gpp.

zhayyeh avatar zhayyeh commented on August 24, 2024

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

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

from py3gpp.

zhayyeh avatar zhayyeh commented on August 24, 2024

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.

from py3gpp.

zhayyeh avatar zhayyeh commented on August 24, 2024

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

from py3gpp.

zhayyeh avatar zhayyeh commented on August 24, 2024

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')

from py3gpp.

catkira avatar catkira commented on August 24, 2024

@zhayyeh is this problem still existing with version 0.2.1?

from py3gpp.

zhayyeh avatar zhayyeh commented on August 24, 2024

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

from py3gpp.

zhayyeh avatar zhayyeh commented on August 24, 2024

Problem still there

from py3gpp.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.