radioML / dataset

Open RadioML Synthetic Benchmark Dataset
244 stars 140 forks source link

error about mapper #13

Open hongdehua opened 6 years ago

hongdehua commented 6 years ago

Traceback (most recent call last): File "/home/winlab/PycharmProjects/GeneralGNU/dataset-master/generate_RML2016.10a.py", line 42, in mod = mod_type() File "/home/winlab/PycharmProjects/GeneralGNU/dataset-master/transmitters.py", line 35, in init transmitter_mapper.init(self, mapper.BPSK, AttributeError: 'module' object has no attribute 'BPSK'

There is a error. I've tried several versions of mapper but it still failed. What is the proper and correct version of mapper?

lbb123 commented 6 years ago

The same question I meet.Directly,I have downloaded the dataset "2016.10b.dat" and It's to big to open.I just want to see the python code to find the format of the dataset.

kwmcclintick commented 6 years ago

I am also seeing this run time error. I have the dataset but I want to change the way its generated. Help please!

kwmcclintick commented 6 years ago

there appears to be a mapper made by tim o'shea https://github.com/gr-vt/gr-mapper/tree/master/python

and this other one made by a Daniel Mullner http://danifold.net/mapper/ ...Daniel's is called when I type "import mapper" as v0.1.17, i downloaded it using pip

kwmcclintick commented 6 years ago

Ok yes I was right. to download gr-mapper (THE RIGHT ONE! :) ), type the following in the same location as your generate_RML2016.10a.py file and transmitters.py file

sudo git clone https://github.com/gr-vt/gr-mapper.git

cd gr-mapper

sudo mkdir build

cd build

sudo cmake ..

sudo make

sudo make install

sudo ldconfig

then exit your gr-mapper directory and type:

python generate_RML2016.10a.py and you should be good! Not sure if you need all those sudo's, but I did.

hongdehua commented 6 years ago

Thanks for your detailed instruction, I've solved this on Linux system. Happy Spring Festival !

kevinbdsouza commented 6 years ago

This procedure does not work on MacOS. Says No module named mapper. Any suggestions?

hongdehua commented 6 years ago

You should install gr-mapper library when error is " No module named mapper".

I've not tried on MacOs.

pingguokiller commented 5 years ago

This procedure does not work on MacOS. Says No module named mapper. Any suggestions?

Have u succeed in MACOS? I meet the same problem.

jinglld43 commented 4 years ago

Ok yes I was right. to download gr-mapper (THE RIGHT ONE! :) ), type the following in the same location as your generate_RML2016.10a.py file and transmitters.py file

sudo git clone https://github.com/gr-vt/gr-mapper.git

cd gr-mapper

sudo mkdir build

cd build

sudo cmake ..

sudo make

sudo make install

sudo ldconfig

then exit your gr-mapper directory and type:

python generate_RML2016.10a.py and you should be good! Not sure if you need all those sudo's, but I did.

I am wondering if there is a gr-mapper version for GNU radio3.8, the gr-mapper uploaded from the URL as you showed is an old version which is not applicable. Thanks a lot!

roman-popenov commented 3 years ago

https://github.com/gr-vt/gr-mapper/pull/20 - this PR makes it compatible with GNU Radio 3.8

sumit429 commented 1 year ago

Screenshot from 2022-11-24 16-56-18

Still my problem is not resolved.

roman-popenov commented 1 year ago

Screenshot from 2022-11-24 16-56-18

Still my problem is not resolved.

Have you tried porting the code from https://github.com/gr-vt/gr-mapper/pull/20, it solved the issue for 3.8 only, but it might be compatible with other versions.

sumit429 commented 1 year ago

Yes sir, I also tried porting the code from https://github.com/gr-vt/gr-mapper/pull/20. I also have gnuradio version 3.8.

On Fri, Nov 25, 2022 at 4:44 AM roman-popenov @.***> wrote:

[image: Screenshot from 2022-11-24 16-56-18] https://user-images.githubusercontent.com/68650814/203773304-5829e9de-5f39-4180-ad40-564fb7b6fd11.png

Still my problem is not resolved.

Have you tried porting the code from gr-vt/gr-mapper#20 https://github.com/gr-vt/gr-mapper/pull/20, it solved the issue for 3.8 only, but it might be compatible with other versions.

— Reply to this email directly, view it on GitHub https://github.com/radioML/dataset/issues/13#issuecomment-1326887201, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQLYOPTBB5X5VHAHMYDGABDWJ7ZHFANCNFSM4ELUSIAA . You are receiving this because you commented.Message ID: @.***>

--

Thanks & Regards,Sumit Kumar AgrawalPh.D. (Electrical Engineering)Indian Institute of TechnologyJodhpur, Rajasthan-342037 Mob. No.- 8410957412