Deep-JSCC-for-images-with-OFDM icon indicating copy to clipboard operation
Deep-JSCC-for-images-with-OFDM copied to clipboard

ModuleNotFoundError: No module named 'models.test_model'

Open 1098183715 opened this issue 2 years ago • 6 comments

I used train.py and I got the result. but, In test.py,why exist a mistake that ModuleNotFoundError: No module named 'models.test_model'.how to solve it ? Files already downloaded and verified #training images = 10000 Traceback (most recent call last): File "test.py", line 52, in <module> model = create_model(opt) # create a model given opt.model and other options File "/content/drive/My Drive/Deep-JSCC/models/__init__.py", line 64, in create_model model = find_model_using_name(opt.model) File "/content/drive/My Drive/Deep-JSCC/models/__init__.py", line 33, in find_model_using_name modellib = importlib.import_module(model_filename) File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked ModuleNotFoundError: No module named 'models.test_model'

1098183715 avatar Jan 04 '22 07:01 1098183715

Have you solved it?

ManXu1 avatar Dec 01 '22 02:12 ManXu1

i also met this problem.

jasmine202106 avatar Jun 20 '23 08:06 jasmine202106

想请教一下,在channel.py -> Channel.forward 中 output_real = batch_conv1d(signal_real, cof_real) - batch_conv1d(signal_imag, cof_imag) # (NxP)x(L+SMK-1) output_imag = batch_conv1d(signal_real, cof_imag) + batch_conv1d(signal_imag, cof_real) # (NxP)x(L+SMK-1) 这两句的作用是什么,没有太理解

WenBingo avatar Aug 28 '23 12:08 WenBingo

@1098183715 Have you solved it? I also met a problem like yours. image Also, why are PARA values always 0.00 ? image

Please give me some of your ideas... thanks

ccu1tn avatar Oct 01 '23 03:10 ccu1tn

请问这个问题解决了吗

dmwlx avatar Oct 18 '23 06:10 dmwlx

@dmwlx not yet

ccu1tn avatar Oct 18 '23 07:10 ccu1tn