ADGym icon indicating copy to clipboard operation
ADGym copied to clipboard

Installation and User guide

Open shunliu01 opened this issue 2 years ago • 2 comments

Hey @Minqi824 , I'd inquery for a user guidance and full tutorial to install ADGym, is it available? Thanks!

shunliu01 avatar Sep 29 '23 03:09 shunliu01

+1 The readme file is in urgent need of updating.

Xixo99 avatar Sep 13 '24 09:09 Xixo99

The Docker file settings that works for me has TensorFlow enabled for GPU acceleration.

Use TensorFlow base image with GPU support

FROM tensorflow/tensorflow:2.10.0-gpu

Install Python 3.9 and other basic dependencies

RUN apt-get update && apt-get install -y
python3.9
python3.9-distutils
python3-pip
build-essential
libatlas-base-dev
gfortran
libffi-dev
liblapack-dev
curl
gnupg
lsb-release
tzdata
&& rm -rf /var/lib/apt/lists/*

Set Python 3.9 as default

RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 1
&& update-alternatives --install /usr/bin/python python /usr/bin/python3.9 1

Upgrade pip and install Python packages

RUN pip install --upgrade pip
&& pip install
iteration_utilities==0.11.0
metaod
tf-keras
combo
scikit-learn==0.24.2
imbalanced-learn==0.7.0
torch==1.9.0
tabgan
lightgbm==3.3.0
rtdl==0.0.13
protobuf
numpy

Set the working directory

WORKDIR /app

Optional: Copy your application code into the container

COPY . /app

Optional: Run your application

CMD ["python", "your_application.py"]

nenosoft131 avatar Sep 23 '24 10:09 nenosoft131