GithubHelp home page GithubHelp logo

wisconsinaivision / edit-one-for-all Goto Github PK

View Code? Open in Web Editor NEW
41.0 41.0 1.0 50.18 MB

✏️ Edit One for All: Interactive Batch Image Editing (CVPR 2024)

Home Page: https://thaoshibe.github.io/edit-one-for-all

HTML 3.14% CSS 0.54% JavaScript 18.43% Python 53.13% C++ 5.75% Cuda 18.71% C 0.29%
batch-image-ed batch-image-editor cvpr cvpr2024 gans image-editing image-manipulation stylegan stylegan2

edit-one-for-all's People

Contributors

thaoshibe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

liuqinglong110

edit-one-for-all's Issues

information about the url parameter about open_url()

Hello, I ran into a problem while trying to run your code.so I happen to be learning image processing and I came across this project and would like to learn more in depth, praying for your help!

Under edit-one-for-all-main\viz\renderer.py, 143, regarding open_url(), I would like to get more information about the url parameter needed for this call, is it a link to a model?

F:\anan\python.exe C:\Users\吴\PycharmProjects\edit\edit-one-for-all-main\my_gradio.py
File under cache_dir (C:\Users\吴\PycharmProjects\edit\checkpoint):
['karras2019stylegan-ffhq-1024x1024.pkl', 'stylegan2-afhqcat-512x512.pkl']
Valid checkpoint file:
{'karras2019stylegan-ffhq-1024x1024': 'C:\Users\吴\PycharmProjects\edit\checkpoint\karras2019stylegan-ffhq-1024x1024.pkl', 'stylegan2-afhqcat-512x512': 'C:\Users\吴\PycharmProjects\edit\checkpoint\stylegan2-afhqcat-512x512.pkl'}
Loading "C:\Users\吴\PycharmProjects\edit\checkpoint\stylegan2-afhqcat-512x512.pkl"... Failed!
Traceback (most recent call last):
File "C:\Users\吴\PycharmProjects\edit\edit-one-for-all-main\my_gradio.py", line 250, in
global_state = init_images(global_state)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\吴\PycharmProjects\edit\edit-one-for-all-main\my_gradio.py", line 70, in init_images
state['renderer'].init_network(
File "C:\Users\吴\PycharmProjects\edit\edit-one-for-all-main\viz\renderer.py", line 227, in init_network
G = self.get_network(pkl, 'G_ema').to(self._device)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\吴\PycharmProjects\edit\edit-one-for-all-main\viz\renderer.py", line 152, in get_network
raise data
viz.renderer.CapturedException: Traceback (most recent call last):
File "C:\Users\吴\PycharmProjects\edit\edit-one-for-all-main\viz\renderer.py", line 143, in get_network
with dnnlib.util.open_url(pkl, verbose=False) as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\吴\PycharmProjects\edit\edit-one-for-all-main\dnnlib\util.py", line 347, in open_url
assert is_url(url)
AssertionError

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.