RIFE-Colab icon indicating copy to clipboard operation
RIFE-Colab copied to clipboard

Encountered a problem during the execution of Colab

Open Neycrol opened this issue 3 years ago • 1 comments

image

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-6-2c02a07ed7cc> in <module>()
      1 #@title Interpolate a single video - Run interpolator (DO SECOND)
----> 2 performAllSteps(inputFile, interpolatorConfig, encoderConfig, useAutoEncode=autoEncode,autoEncodeBlockSize=autoBlockSize)

/content/RIFEcolab/generalInterpolationProceedures.py in performAllSteps(inputFile, interpolatorConfig, encoderConfig, useAutoEncode, autoEncodeBlockSize, step1, step2, step3)
    668 
    669     # Get project folder path and make it if it doesn't exist
--> 670     projectFolder = inputFile[:inputFile.rindex(os.path.sep)]
    671     if nonLocalPNGs:
    672         projectFolder = installPath + os.path.sep + "tempFrames"

ValueError: substring not found

I want to know how to solve it

Neycrol avatar Oct 08 '21 07:10 Neycrol

I think it's because the path you entered as input isn't correct so try to right click on the video in the file explorer and select "Copy path" and paste this path in the input video path.

metaltiger775 avatar Sep 17 '23 00:09 metaltiger775