Coder Social home page Coder Social logo

Comments (7)

zhengkw18 avatar zhengkw18 commented on July 22, 2024

Any stable version of imageio for python>=3.7 should be ok

from face-vid2vid.

805094591 avatar 805094591 commented on July 22, 2024

Could you upload a requirments.yml, which include all the installed requirments and is deduced from anaconda for this project, please? Thank you very much~

from face-vid2vid.

zhengkw18 avatar zhengkw18 commented on July 22, 2024

Sorry, currently I do not have such an environment in my hand. I think you can choose any python>=3.7, and install the following packages without specifying the version

numpy
pillow
torch
torchvision
scikit-image
scikit-learn
imageio
pandas

from face-vid2vid.

805094591 avatar 805094591 commented on July 22, 2024

(face-vid2vid) F:\github\face-vid2vid>python evaluate.py --ckp=100 --source=out/a.jpg --driving=out
Traceback (most recent call last):
File "evaluate.py", line 109, in
eval(args)
File "G:\Conda_data\envs\face-vid2vid\lib\site-packages\torch\autograd\grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "evaluate.py", line 78, in eval
video_array = [img_as_float32(io.imread(os.path.join(args.driving, frames[idx]))) for idx in range(num_frames)]
File "evaluate.py", line 78, in
video_array = [img_as_float32(io.imread(os.path.join(args.driving, frames[idx]))) for idx in range(num_frames)]
File "G:\Conda_data\envs\face-vid2vid\lib\site-packages\skimage\io_io.py", line 53, in imread
img = call_plugin('imread', fname, plugin=plugin, **plugin_args)
File "G:\Conda_data\envs\face-vid2vid\lib\site-packages\skimage\io\manage_plugins.py", line 207, in call_plugin
return func(*args, **kwargs)
File "G:\Conda_data\envs\face-vid2vid\lib\site-packages\skimage\io_plugins\imageio_plugin.py", line 10, in imread
return np.asarray(imageio_imread(*args, **kwargs))
File "G:\Conda_data\envs\face-vid2vid\lib\site-packages\imageio\core\functions.py", line 159, in imread
with imopen(uri, "ri", plugin=format) as file:
File "G:\Conda_data\envs\face-vid2vid\lib\site-packages\imageio\core\imopen.py", line 277, in imopen
raise err_type(err_msg)
ValueError: Could not find a backend to open out\a.mp4`` with iomode ri`.

from face-vid2vid.

805094591 avatar 805094591 commented on July 22, 2024

I do not know the reason of that phenomenon~

from face-vid2vid.

zhengkw18 avatar zhengkw18 commented on July 22, 2024

You should notice that driving is a folder containing frames of video, not a video.

from face-vid2vid.

805094591 avatar 805094591 commented on July 22, 2024

The project runs well due to your help~ Your explanation helped me solve the problem that bothered me for a long time ~ Thank you very much~

from face-vid2vid.

Related Issues (12)

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.