forked from gruberto/DL-ChannelDecoding
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d8e7c1a
commit 55f39de
Showing
31 changed files
with
56 additions
and
4,602 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,65 @@ | ||
# Getting started | ||
Download from GitHub | ||
# Melhorando o Treinamento e a Topologia de um Decodificador de Canal baseado em Redes Neurais | ||
|
||
git clone [email protected]:gruberto/DL-ChannelDecoding.git | ||
cd DL-ChannelDecoding/docker | ||
|
||
Build docker container which contains jupyter | ||
- | ||
Marcelo Vinícius Cysneiros Aragão, Samuel Baraldi Mafra e Felipe Augusto Pereira de Figueiredo (baseado em GRUBER, Tobias et al. [On deep learning-based channel decoding.](https://github.com/gruberto/DL-ChannelDecoding) In: 2017 51st Annual Conference on Information Sciences and Systems (CISS). IEEE, 2017. p. 1-6.) | ||
|
||
./build_jupyter.sh | ||
### Executando as simulações | ||
|
||
# Start Jupyter | ||
Start jupyter with theano on a CPU | ||
docker pull tensorflow/tensorflow:latest-gpu | ||
docker run --gpus all -it tensorflow/tensorflow:latest-gpu bash | ||
apt update && apt install git vim wget -y | ||
git clone https://github.com/marcelovca90/DL-ChannelDecoding.git | ||
cd DL-ChannelDecoding/scripts | ||
pip install matplotlib pandas | ||
./run.sh | ||
|
||
./run_jupyter_cpu.sh theano | ||
##### Saída de exemplo: | ||
|
||
Start jupyter with theano on a GPU | ||
Model: "sequential_14" | ||
_________________________________________________________________ | ||
Layer (type) Output Shape Param # | ||
================================================================= | ||
modulator (Lambda) (None, 16) 0 | ||
noise (Lambda) (None, 16) 0 | ||
decoder_0 (Dense) (None, 128) 2176 | ||
decoder_1 (Dense) (None, 64) 8256 | ||
decoder_2 (Dense) (None, 32) 2080 | ||
decoder_3 (Dense) (None, 8) 264 | ||
================================================================= | ||
Total params: 12,776 | ||
Trainable params: 12,776 | ||
Non-trainable params: 0 | ||
_________________________________________________________________ | ||
2022-06-18 23:23:08.766694 random @ Adam @ Mep=2^18 fit started. | ||
2022-06-18 23:38:06.050502 random @ Adam @ Mep=2^18 fit finished (took 897.284 [s]). | ||
2022-06-18 23:38:06.742172 test @ sigmas=[1. 0.93162278 0.86324555 0.79486833 0.72649111 0.65811388 | ||
0.58973666 0.52135944 0.45298221 0.38460499 0.31622777] | ||
2022-06-18 23:38:06.747935 test @ sigmas(dB)=[ 0. 0.61519804 1.277313 1.99409613 2.77539396 3.63397895 | ||
4.58683749 5.65725523 6.87837702 8.29970172 10. ] | ||
2022-06-18 23:39:20.703277 test @ sigma[0]=1.000 sigma_db[0]=0.000 nb_bits=16000000 nb_errors=3589326 | ||
2022-06-18 23:40:34.717581 test @ sigma[1]=0.932 sigma_db[1]=0.615 nb_bits=16000000 nb_errors=3062144 | ||
2022-06-18 23:41:48.939612 test @ sigma[2]=0.863 sigma_db[2]=1.277 nb_bits=16000000 nb_errors=2497056 | ||
2022-06-18 23:43:05.342307 test @ sigma[3]=0.795 sigma_db[3]=1.994 nb_bits=16000000 nb_errors=1914599 | ||
2022-06-18 23:44:19.313782 test @ sigma[4]=0.726 sigma_db[4]=2.775 nb_bits=16000000 nb_errors=1349638 | ||
2022-06-18 23:45:33.081503 test @ sigma[5]=0.658 sigma_db[5]=3.634 nb_bits=16000000 nb_errors=843859 | ||
2022-06-18 23:46:47.201872 test @ sigma[6]=0.590 sigma_db[6]=4.587 nb_bits=16000000 nb_errors=446177 | ||
2022-06-18 23:48:01.259782 test @ sigma[7]=0.521 sigma_db[7]=5.657 nb_bits=16000000 nb_errors=185973 | ||
2022-06-18 23:49:15.360117 test @ sigma[8]=0.453 sigma_db[8]=6.878 nb_bits=16000000 nb_errors=54946 | ||
2022-06-18 23:50:29.356627 test @ sigma[9]=0.385 sigma_db[9]=8.300 nb_bits=16000000 nb_errors=9932 | ||
2022-06-18 23:51:43.700041 test @ sigma[10]=0.316 sigma_db[10]=10.000 nb_bits=16000000 nb_errors=821 | ||
|
||
./run_jupyter_gpu.sh theano | ||
|
||
Access Jupyter Notebooks in a browser on | ||
### Gerando as saídas e gráficos | ||
|
||
http://[ip-adress]:8888 | ||
cd DL-ChannelDecoding/scripts | ||
python proc4paper-txt.py | ||
python proc4paper-json.py | ||
|
||
# Local environment | ||
conda create -n gruberto115 python==3.6.13 | ||
conda activate gruberto115 | ||
conda install cudatoolkit=10.0 cudnn=7.6 -c=conda-forge | ||
pip install --upgrade tensorflow-gpu==1.15.0 keras==2.3.1 matplotlib | ||
##### Saída de exemplo: | ||
|
||
# Notes | ||
## Local environment (GTX 960) | ||
Fit started at 2021-06-14 02:04:53.869813. | ||
Fit finished at 2021-06-14 02:08:56.013735 (took 242.144 [s]). | ||
## Google Colaboratory (Tesla T4) | ||
Fit started at 2021-06-14 05:05:07.490770. | ||
Fit finished at 2021-06-14 05:08:30.103033 (took 202.612 [s]). | ||
![cpu_code=random_epochs=2^18_map](./experiments/scenario-9-sbrt-timed-16M/cpu_code=random_epochs=2^18_map.png "cpu_code=random_epochs=2^18_map") |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file modified
BIN
+481 Bytes
(100%)
...cenario-9-sbrt-timed-16M/by-epoch/paper/png/cpu_code=random_epochs=2^18_map.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.