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

DeepBeam dependency update for Python 3.6, CUDA 12.0, #1

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions keras_code/launch_deepbeam.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Customize this for your CUDA install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-12.0/lib64/

# The GPU id depends on the number of GPUs in your system
id_gpu=0
Expand Down Expand Up @@ -79,7 +79,7 @@ save_path+="_ne_$epochs"
save_path+="_bs_$batch_size"

# Call the main python script for training
python2 ./DeepBeam.py \
python ./DeepBeam.py \
--data_path $data_path \
--batch_size $batch_size \
--train_cnn \
Expand All @@ -105,4 +105,4 @@ python2 ./DeepBeam.py \
--id_gpu $id_gpu \
--is_2d_model $is_2d_model \
--patience $patience \
--save_path $save_path
--save_path $save_path
4 changes: 2 additions & 2 deletions keras_code/launch_deepbeam_aoa.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Customize this for your CUDA install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-12.0/lib64/

# The GPU id depends on the number of GPUs in your system
id_gpu=0
Expand Down Expand Up @@ -68,7 +68,7 @@ save_path+="_srn_$snr"
save_path+="_ne_$epochs"
save_path+="_bs_$batch_size"

python2 ./DeepBeamAoa.py \
python ./DeepBeamAoa.py \
--data_path $data_path \
--batch_size $batch_size \
--train_cnn \
Expand Down
6 changes: 3 additions & 3 deletions keras_code/launch_deepbeam_mixed.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Customize this for your CUDA install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-12.0/lib64/

# The GPU id depends on the number of GPUs in your system
id_gpu=0
Expand Down Expand Up @@ -75,7 +75,7 @@ save_path+="_2dmodel_$is_2d_model"
save_path+="_ne_$epochs"
save_path+="_bs_$batch_size"

python2 ./DeepBeamMixed.py \
python ./DeepBeamMixed.py \
--batch_size $batch_size \
--train_cnn \
--test_only $test_only \
Expand All @@ -101,4 +101,4 @@ python2 ./DeepBeamMixed.py \
--id_gpu $id_gpu \
--is_2d_model $is_2d_model \
--patience $patience \
--save_path $save_path
--save_path $save_path
4 changes: 2 additions & 2 deletions keras_code/launch_deepbeam_mixed_testing.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Customize this for your CUDA install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-12.0/lib64/

# The GPU id depends on the number of GPUs in your system
id_gpu=0
Expand Down Expand Up @@ -38,7 +38,7 @@ plot_confusion=1
score_only=0


python2 ./DeepBeamTestingMixed.py \
python ./DeepBeamTestingMixed.py \
--model_dir_path $root$model \
--batch_size $batch_size \
--file_save_accuracy $file_save_accuracy \
Expand Down
4 changes: 2 additions & 2 deletions keras_code/launch_deepbeam_testing.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# Customize this for your CUDA install
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-9.0/lib64/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-12.0/lib64/

# The GPU id depends on the number of GPUs in your system
id_gpu=0
Expand Down Expand Up @@ -37,7 +37,7 @@ file_save_accuracy=testing_results.pkl



python2 ./DeepBeamTesting.py \
python ./DeepBeamTesting.py \
--data_path $data_path \
--model_dir_path $root$model \
--batch_size $batch_size \
Expand Down
2 changes: 1 addition & 1 deletion keras_code/launch_filters.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ how_many_blocks_per_frame=5
batch_size=100
num_classes=24

python2 ./DeepBeamGetFilters.py \
python ./DeepBeamGetFilters.py \
--model_dir_path $root$model \
--layer_num $layer_num \
--id_gpu $id_gpu \
Expand Down
122 changes: 114 additions & 8 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,114 @@
numpy==1.15.4
Keras==2.2.4
matplotlib==2.2.3
pandas==0.23.4
h5py==2.8.0
tqdm==4.28.1
scikit_learn==0.24.2
tikzplotlib==0.9.8
# This file may be used to create an environment using:
# $ conda create --name <env> --file <this file>
# platform: linux-64
_libgcc_mutex=0.1=main
_openmp_mutex=5.1=1_gnu
_tflow_select=2.3.0=mkl
absl-py=0.15.0=pyhd3eb1b0_0
astor=0.8.1=py36h06a4308_0
blas=1.0=mkl
c-ares=1.18.1=h7f8727e_0
ca-certificates=2023.01.10=h06a4308_0
certifi=2020.6.20=pyhd3eb1b0_3
cycler=0.10.0=py_1
dbus=1.13.0=h3a4f0e9_0
expat=2.2.5=hfc679d8_2
fontconfig=2.13.1=h65d0f4c_0
freetype=2.9.1=h6debe1e_4
gast=0.2.2=py36_0
gettext=0.19.8.1=h5e8e0c9_1
glib=2.56.2=h464dc38_1
google-pasta=0.2.0=pyhd3eb1b0_0
grpcio=1.14.1=py36h9ba97e2_0
gst-plugins-base=1.12.5=hde13a9d_0
gstreamer=1.12.5=h5856ed1_0
h5py=2.10.0=py36hd6299e0_1
hdf5=1.10.6=h3ffc7dd_1
icu=58.2=hfc679d8_0
importlib-metadata=4.8.1=py36h06a4308_0
intel-openmp=2022.1.0=h9e868ea_3769
joblib=1.0.1=pyhd3eb1b0_0
jpeg=9c=h470a237_1
keras=2.3.1=py36_0
keras-applications=1.0.8=py_1
keras-preprocessing=1.1.2=pyhd3eb1b0_0
kiwisolver=1.0.1=py36h2d50403_2
ld_impl_linux-64=2.38=h1181459_1
libffi=3.2.1=hfc679d8_5
libgcc-ng=11.2.0=h1234567_1
libgfortran-ng=11.2.0=h00389a5_1
libgfortran5=11.2.0=h1234567_1
libgomp=11.2.0=h1234567_1
libgpuarray=0.7.6=h14c3975_1003
libiconv=1.15=h470a237_4
libpng=1.6.36=ha92aebf_0
libprotobuf=3.17.2=h4ff587b_1
libstdcxx-ng=11.2.0=h1234567_1
libtiff=4.1.0=hc3755c2_3
libuuid=2.32.1=h470a237_2
libxcb=1.13=h470a237_2
libxml2=2.9.8=h422b904_5
lz4-c=1.8.3=he1b5a44_1001
mako=1.1.0=py_0
markdown=3.3.4=py36h06a4308_0
markupsafe=1.1.1=py36h8c4c3a4_1
matplotlib=3.0.2=py36h8a2030e_1
matplotlib-base=3.0.2=py36h20b835b_1
mkl=2019.4=243
mkl-service=2.3.0=py36he8ac12f_0
mkl_fft=1.3.0=py36h54f3939_0
mkl_random=1.1.0=py36hd6b4f25_0
ncurses=6.1=hfc679d8_2
numpy=1.19.2=py36h54aff64_0
numpy-base=1.19.2=py36hfa32c7d_0
olefile=0.46=py_0
openssl=1.0.2u=h7b6447c_0
opt_einsum=3.3.0=pyhd3eb1b0_1
pandas=1.1.5=py36ha9443f7_0
pcre=8.41=hfc679d8_3
pillow=7.0.0=py36h8328e55_1
pip=21.2.2=py36h06a4308_0
protobuf=3.17.2=py36h295c915_0
pthread-stubs=0.4=h470a237_1
pygpu=0.7.6=py36hc1659b7_1000
pyparsing=2.3.0=py_0
pyqt=5.6.0=py36h8210e8a_8
python=3.6.7=h5001a0f_1
python-dateutil=2.7.5=py_0
python_abi=3.6=1_cp36m
pytz=2021.3=pyhd3eb1b0_0
pyyaml=5.3.1=py36h8c4c3a4_0
qt=5.6.2=hf70d934_9
readline=7.0=haf1bffa_1
scikit-learn=0.24.2=py36ha9443f7_0
scipy=1.5.4=pypi_0
setuptools=58.0.4=py36h06a4308_0
sip=4.18.1=py36hfc679d8_0
six=1.16.0=pyhd3eb1b0_1
sqlite=3.26.0=hb1c47c0_0
tensorboard=1.15.0=pyhb230dea_0
tensorflow=1.15.0=mkl_py36h4920b83_0
tensorflow-base=1.15.0=mkl_py36he1670d9_0
tensorflow-estimator=1.15.1=pyh2649769_0
termcolor=1.1.0=py36h06a4308_1
theano=1.0.3=py36hfc679d8_1
threadpoolctl=2.2.0=pyh0d69192_0
tikzplotlib=0.9.1=py_1
tk=8.6.12=h1ccaba5_0
toolchain=2.4.0=0
toolchain_c_linux-64=2.4.0=0
toolchain_cxx_linux-64=2.4.0=0
tornado=5.1.1=py36h470a237_0
tqdm=4.29.0=py_0
typing_extensions=4.1.1=pyh06a4308_0
webencodings=0.5.1=py36_1
werkzeug=0.16.1=py_0
wheel=0.37.1=pyhd3eb1b0_0
wrapt=1.12.1=py36h7b6447c_1
xorg-libxau=1.0.8=h470a237_6
xorg-libxdmcp=1.1.2=h470a237_7
xz=5.2.10=h5eee18b_1
yaml=0.2.2=h516909a_1
zipp=3.6.0=pyhd3eb1b0_0
zlib=1.2.13=h5eee18b_0
zstd=1.4.4=h3b9ef0a_2