Giter Site home page Giter Site logo

Comments (10)

mamunctg avatar mamunctg commented on July 28, 2024 1

The problem is solved. python3.6 is OK.

I follow all of your configurations but I am getting errors about the apex package. Could you please help?

####################ERROR########
class GradScaler(torch.cuda.amp.GradScaler):
AttributeError: module 'torch.cuda' has no attribute 'amp'

########################

from few-shot-vid2vid.

zhhezhhe avatar zhhezhhe commented on July 28, 2024

Same problem.

from few-shot-vid2vid.

k4rth33k avatar k4rth33k commented on July 28, 2024

You need to compile the flownet module. I believe it's mentioned in the readme.md

from few-shot-vid2vid.

zhhezhhe avatar zhhezhhe commented on July 28, 2024

You need to compile the flownet module. I believe it's mentioned in the readme.md

Thank you for your quick reply! I have run bash install.sh to install flownet successfully. But I still got

ImportError: /ssd3/zhaoruiqi/anaconda3/envs/python3/lib/python3.7/site-packages/resample2d_cuda-0.0.0-py3.7-linux-x86_64.egg/resample2d_cuda.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZN3c105ErrorC1ENS_14SourceLocationERKSs

I use python3.7, pytorch 1.2.0, torchvision 0.4.0, cuda 10.0, gcc4.9
do you think there is a problem with my setup?

from few-shot-vid2vid.

k4rth33k avatar k4rth33k commented on July 28, 2024

If you have installed flownet successfully, I don't think the problem is with the setup. I ran it on almost the same setup but with python 3.6 and pip

from few-shot-vid2vid.

zhhezhhe avatar zhhezhhe commented on July 28, 2024

If you have installed flownet successfully, I don't think the problem is with the setup. I ran it on almost the same setup but with python 3.6 and pip

There are no errors when I run bash install.sh for flownet2-pytorch. But when I import resample2d_cuda an error came out

undefined symbol: _ZN2at19NonVariableTypeMode10is_enabledEv

Is it a pytorch-version problem? I used pytorch1.2.0 cuda-10.0/cuda-9.2.

from few-shot-vid2vid.

zhhezhhe avatar zhhezhhe commented on July 28, 2024

The problem is solved. python3.6 is OK.

from few-shot-vid2vid.

Hamed-Aghapanah avatar Hamed-Aghapanah commented on July 28, 2024

Go to the folder:
vid2vid/models/flownet2_pytorch/networks/resample2d_package/

and run the commands:
python3 setup.py build
and
python3 setup.py install

in that order, fixed it for me.

from few-shot-vid2vid.

songyn95 avatar songyn95 commented on July 28, 2024

@mamunctg I also encountered this problem. How did you solve it?

from few-shot-vid2vid.

digvijayad avatar digvijayad commented on July 28, 2024

@songyn95 @mamunctg install the apex package.

from few-shot-vid2vid.

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.