wisconsinaivision / edit-one-for-all Goto Github PK
View Code? Open in Web Editor NEW✏️ Edit One for All: Interactive Batch Image Editing (CVPR 2024)
Home Page: https://thaoshibe.github.io/edit-one-for-all
✏️ Edit One for All: Interactive Batch Image Editing (CVPR 2024)
Home Page: https://thaoshibe.github.io/edit-one-for-all
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.