Git Product home page Git Product logo

autodeoldifylocal's Introduction

AutoDeOldifyLocal

Automatic silent installer scripts for DeOldify on Jupyter Lab

[BTW with this automatic installer, you get a fully working jupyter lab you can use freely with your other projects aswell]

COMMANDS: [DON'T RUN AS ROOT]

git clone https://github.com/daddyparodz/AutoDeOldifyLocal.git
cd AutoDeOldifyLocal
sudo chmod +x *.sh
./fix.sh
./setup.sh

fix.sh is for WSL, I used Ubuntu 20.04.3 LTS for testing.

WHEN SETUP IS COMPLETED, YOU MUST RUN THESE COMMANDS MANUALLY FROM A NEW SHELL

cd DeOldify
conda activate deoldify
jupyter server --generate-config
jupyter server password
jupyter lab

P.S.

Sometimes the "conda" command alone does not work even if it's in PATH. In this case, use ~/miniconda3/bin/conda activate deoldify

P.P.S.

DON'T RUN THE FIRST 2 CELLS IN THE .ipnyb file because you already have the Deoldify directory downloaded. ("git clone ..." and "cd DeOldify")

SECOND TIME

After you shut down the server and then decide to restart it, it COULD give an error saying that tornado isn't in the right version.

To fix this, you just need to run: pip3 install tornado --upgrade

And then you can start your jupyter lab normally (obviously in the DeOldify directory) with

conda activate deoldify
jupyter lab

Hope it works, if it doesn't, please open an issue and I'll try to fix it. THX.

autodeoldifylocal's People

Contributors

daddyparodz avatar hephaisto-dev avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.