Skip to content

Instantly share code, notes, and snippets.

@schollz
Last active April 18, 2024 14:49
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save schollz/1741ac03a19750fadef7e5cd0add0f29 to your computer and use it in GitHub Desktop.
Save schollz/1741ac03a19750fadef7e5cd0add0f29 to your computer and use it in GitHub Desktop.
aimovie.ipynb
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fzedde
Copy link

fzedde commented Apr 17, 2024

Hello, i cant seem to run the second section. The run of the first section ends with a few warning messages:
Any suggestion?
-thanks so much for your work

Building wheels for collected packages: scipy, moviepy
error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
Building wheel for scipy (setup.py) ... error
ERROR: Failed building wheel for scipy
Running setup.py clean for scipy
error: subprocess-exited-with-error

× python setup.py clean did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed cleaning build dir for scipy
Building wheel for moviepy (setup.py) ... done
Created wheel for moviepy: filename=moviepy-1.0.3-py3-none-any.whl size=110721 sha256=0b86af3d230dfc8ad2aead606230fa1c06de5eff890714bfdc18fb0916e2f04e
Stored in directory: /root/.cache/pip/wheels/96/32/2d/e10123bd88fbfc02fed53cc18c80a171d3c87479ed845fa7c1
Successfully built moviepy
Failed to build scipy
ERROR: Could not build wheels for scipy, which is required to install pyproject.toml-based projects
[3]
0 s
import librosa
import argparse
import numpy as np
import moviepy.editor as mpy
import random
import torch
from scipy.misc import toimage
from tqdm import tqdm
from pytorch_pretrained_biggan import (BigGAN, one_hot_from_names, truncated_noise_sample,
save_as_images, display_in_terminal)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment