Automatic silent installer scripts for setting up DeOldify on Jupyter Lab.
With this installer, you get a fully operational Jupyter Lab environment that you can also use for other projects.
Important: Do not run these commands as root.
-
Clone the repository:
git clone https://github.com/daddyparodz/AutoDeOldifyLocal.git cd AutoDeOldifyLocal
-
Make the scripts executable:
sudo chmod +x *.sh
-
Run the setup scripts:
./fix.sh ./setup.sh
Note:
fix.sh
is designed for WSL (tested on Ubuntu 20.04.3 LTS).
After completing the setup, run the following commands from a new shell:
-
Navigate to the DeOldify directory:
cd DeOldify
-
Activate the Conda environment:
conda activate deoldify
-
Generate Jupyter server configuration:
jupyter server --generate-config
-
Start Jupyter Lab:
jupyter lab
Note: If the conda
command is not recognized, use the full path to Conda:
~/miniconda3/bin/conda activate deoldify
Important: Do not execute the first two cells in the .ipynb
file, as you have already cloned the DeOldify repository and navigated to it.
If you need to restart the server and encounter an error related to Tornado version, resolve it by running:
pip3 install tornado --upgrade
Then, start Jupyter Lab again (make sure you are in the DeOldify directory) with:
conda activate deoldify
jupyter lab
If you encounter any issues, please open an issue and I'll assist you. Thanks.