Giter Site home page Giter Site logo

fr_any_door's Introduction

fr_any_door

Run docker image

CUDA 12.2

bash dev.sh

Install Anaconda in docker container

Attach to docker container

xhost +
docker exec -it dev_64 /bin/bash

Install Anaconda

You must have Anaconda installer file Anaconda3-*-*-Linux-x86_64.sh in your_path and run this command

bash Anaconda3-*-Linux-x86_64.sh
Welcome to Anaconda3 2023.09-0

In order to continue the installation process, please review the license
agreement.
Please, press ENTER to continue
>>> 

Press ENTER

==================================================
End User License Agreement - Anaconda Distribution
==================================================

Copyright 2015-2023, Anaconda, Inc.

All rights reserved under the 3-clause BSD License:

This End User License Agreement (the "Agreement") is a legal agreement between you and Anaconda, Inc. 
("Anaconda") and governs your use of Anaconda Distribution (which was formerly known as Anaconda Indiv
idual Edition).

--More--

Press q to skip reading

Copyright 2015-2023, Anaconda, Inc.

All rights reserved under the 3-clause BSD License:

This End User License Agreement (the "Agreement") is a legal agreement between you and Anaconda, Inc. 
("Anaconda") and governs your use of Anaconda Distribution (which was formerly known as Anaconda Indiv
idual Edition).


Do you accept the license terms? [yes|no]
[no] >>> 

Enter yes to accept

Anaconda3 will now be installed into this location:
/root/anaconda3

  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below

[/root/anaconda3] >>> 

Press ENTER to confirm and wait for installation

Do you wish to update your shell profile to automatically initialize conda?
This will activate conda on startup and change the command prompt when activated.
If you'd prefer that conda's base environment not be activated on startup,
   run the following command when conda is activated:

conda config --set auto_activate_base false

You can undo this by running `conda init --reverse $SHELL`? [yes|no]
[no] >>>

Enter yes to accept

Do you wish to update your shell profile to automatically initialize conda?
This will activate conda on startup and change the command prompt when activated.
If you'd prefer that conda's base environment not be activated on startup,
   run the following command when conda is activated:

conda config --set auto_activate_base false

You can undo this by running `conda init --reverse $SHELL`? [yes|no]
[no] >>> 

Enter yes to accept

You need to type 'bash' again to activate conda

bash

Install Repo requirements

Go to repo directory

cd fr_any_door

Create conda environment

conda env create -f environment.yaml

Activate conda environment

conda activate anydoor

Install requirements

pip install -r requirements.txt

Prepare for inference

Download pretrained model from dino and put it in fr_any_door/srcs/AnyDoor/pretrained directory

Download pretrained model from huggingface.co/spaces/xichenhku/AnyDoor and put it in fr_any_door/srcs/AnyDoor/pretrained directory

Edit weight

fr_any_door/srcs/AnyDoor/configs/anydoor.yaml

fr_any_door's People

Contributors

xuananh000 avatar nabang1010 avatar

Watchers

 avatar

Forkers

xuananh000

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.