GithubHelp home page GithubHelp logo

Comments (6)

XiZhang93 avatar XiZhang93 commented on August 20, 2024 3

@Zzzzy411 How can fix 'int' object is not iterable issue? Can you tell me it please?

I found the bug !
The follwoing line in the 'dataloader.py'
image = _pil_loader(self.framesPath[index][frameIndex], cropArea, randomFrameFlip)
should be changed to
image = _pil_loader(self.framesPath[index][frameIndex], cropArea, None, randomFrameFlip)

from super-slomo.

kimcaprio avatar kimcaprio commented on August 20, 2024 1

Hello,
Thank you for sharing you idea for us. I followed your code but I have a problem when I ran it on Linux OS.
It make an error message 'AttributeError: module 'ctypes' has no attribute 'windll'' when I ran python video_to_slomo.py.
Please let me know what's the matter with it?
Regars,

from super-slomo.

kimcaprio avatar kimcaprio commented on August 20, 2024 1

@Zzzzy411 How can fix 'int' object is not iterable issue? Can you tell me it please?

from super-slomo.

XiZhang93 avatar XiZhang93 commented on August 20, 2024 1

Hello,
Thank you for sharing you idea for us. I followed your code but I have a problem when I ran it on Linux OS.
It make an error message 'AttributeError: module 'ctypes' has no attribute 'windll'' when I ran python video_to_slomo.py.
Please let me know what's the matter with it?
Regars,

To solve the error 'AttributeError: module 'ctypes' has no attribute 'windll'' in Linux, you just need to comment out the line in the 'video_to_slomo.py':
ctypes.windll.kernel32.SetFileAttributesW(extractionDir, FILE_ATTRIBUTE_HIDDEN)
This works for me.

from super-slomo.

Bumki-Kim avatar Bumki-Kim commented on August 20, 2024

Hello,
Thank you for sharing you idea for us. I followed your code but I have a problem when I ran it on Linux OS.
It make an error message 'AttributeError: module 'ctypes' has no attribute 'windll'' when I ran python video_to_slomo.py.
Please let me know what's the matter with it?
Regars,

I also have same problem that is 'AttributeError: module 'ctypes' has no attribute 'windll' as like kimcaprio. I also ran it on Linux OS.

from super-slomo.

Bumki-Kim avatar Bumki-Kim commented on August 20, 2024

Hello,
Thank you for sharing you idea for us. I followed your code but I have a problem when I ran it on Linux OS.
It make an error message 'AttributeError: module 'ctypes' has no attribute 'windll'' when I ran python video_to_slomo.py.
Please let me know what's the matter with it?
Regars,

To solve the error 'AttributeError: module 'ctypes' has no attribute 'windll'' in Linux, you just need to comment out the line in the 'video_to_slomo.py':
ctypes.windll.kernel32.SetFileAttributesW(extractionDir, FILE_ATTRIBUTE_HIDDEN)
This works for me.

Thank you!! This also works for me!

from super-slomo.

Related Issues (20)

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.