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

Installation and User guide #2

Open
shunliu01 opened this issue Sep 29, 2023 · 2 comments
Open

Installation and User guide #2

shunliu01 opened this issue Sep 29, 2023 · 2 comments

Comments

@shunliu01
Copy link

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

@Xixo99
Copy link

Xixo99 commented Sep 13, 2024

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

@nenosoft131
Copy link

nenosoft131 commented Sep 23, 2024

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"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants