WarpFusion
Guides made by users:
youtu.be/HkM-7wxtkGA
youtube.com/watch?v=FxRTEILPCQQ
youtube.com/watch?v=wqXy_r_9qw8
youtube.com/watch?v=VMF7L0czyIg
youtube.com/watch?v=m8xaPnaooyg
- You can skip these two steps and get a batch file here. Download it and run (doesn't matter which folder you run it from) It will download and install Git and Miniconda for you, you'll just need to accept all the incoming menus with default settings.
- Create a folder for WarpFusion. It's recommended to have a general folder for WarpFusion and subfolders for each version. Like
C:\code\WarpFusion\v5.27.5\
- Download prepare_env_relative.bat and save it into your WarpFolder,
C:\code\WarpFusion\v5.27.5\
in this example. - Run prepare_env_relative.bat. It will create a virtual python environment called "env" inside our folder and install dependencies, required to run the notebook and jupyter server for local colab.
- Download run_relative.bat and save it into your WarpFolder,
C:\code\WarpFusion\v5.27.5\
in this example.
- Execute run_relative.bat. It will activate the environment and start jupyter server.
- After the server has launched, go to https://colab.research.google.com
- Click File -> Upload Notebook and upload the *.ipynb file
- Click on the dropdown menu near "Connect" or "Reconnect" button on the topright part of the interface.
- Select "connect to a local runtime" and paste the URL that will be generated below, which looks like "http://localhost:8888/?token=somenumbers"
- Click "Connect" and CTRL+F9 to run all cells.
- Create a folder for warp, for example
d:\warp
- Download Dockerfile and docker-compose.yml to
d:\warp
- Edit docker-compose.yml so that volumes point to your model, init_images, images_out folders that are outside of the warp folder. For example,
d:\models\:/content/models
will expose d:\models as /content/models to the notebook - Download and install docker from here - https://docs.docker.com/get-docker/
- Run
docker-compose up --build
inside the warp folder. - Go to https://colab.research.google.com
- Click File -> Upload Notebook and upload the *.ipynb file
- Click on the dropdown menu near "Connect" or "Reconnect" button on the topright part of the interface.
- Select "connect to a local runtime" and paste the token that was generated in your docker container, but leave the url as localhost. Should look like "http://localhost:8888/?token=somenumbers"
- Click "Connect" and CTRL+F9 to run all cells.
- Run
docker-compose up
inside the warp folder. - Go to https://colab.research.google.com
- File -> open notebook -> open your previouslty uploaded notebook
- Click on the dropdown menu near "Connect" or "Reconnect" button on the topright part of the interface.
- Select "connect to a local runtime" and paste the token that was generated in your docker container, but leave the url as localhost. Should look like "http://localhost:8888/?token=somenumbers"
- Click "Connect" and CTRL+F9 to run all cells.