Giter Site home page Giter Site logo

Step 3: Error about dfdnet HOT 11 CLOSED

csxmli2016 avatar csxmli2016 commented on September 2, 2024
Step 3: Error

from dfdnet.

Comments (11)

mrsatana666 avatar mrsatana666 commented on September 2, 2024 1

I solved problem =)I replaced line 5 "import util " the "from util import util"
It's work! :)

Tell me, is it possible to run the code using GPU (1050TI)?

from dfdnet.

csxmli2016 avatar csxmli2016 commented on September 2, 2024

Hello guys!

Tell me what could be wrong? How can I enable debugging?

Or does the code not work under Windows?

image

Hi, I add 'try' to capture the error in running the model in line 248. You can comment them to see what happened.

from dfdnet.

csxmli2016 avatar csxmli2016 commented on September 2, 2024

Hello guys!

Tell me what could be wrong? How can I enable debugging?

Or does the code not work under Windows?

image

Hi, I have updated the code in line 248 by printing the exception information. You can try it again and check what is wrong with the current one.

from dfdnet.

mrsatana666 avatar mrsatana666 commented on September 2, 2024

Hello guys!
Tell me what could be wrong? How can I enable debugging?
Or does the code not work under Windows?
image

Hi, I have updated the code in line 248 by printing the exception information. You can try it again and check what is wrong with the current one.

Thx! Memory GPU :(

RuntimeError: CUDA out of memory. Tried to allocate 758.00 MiB (GPU 0; 4.00 GiB total capacity; 2.10 GiB already allocated; 310.67 MiB free; 2.33 GiB reserved in total by PyTorch)

from dfdnet.

mrsatana666 avatar mrsatana666 commented on September 2, 2024

Cpu mode wrote error

Traceback (most recent call last):
File "test_FaceDict.py", line 251, in
save_crop(visuals,os.path.join(SaveRestorePath,ImgName))
File "C:_remini\DFDNet-whole\util\visualizer.py", line 47, in save_crop
im = util.tensor2im(im_data)
AttributeError: module 'util' has no attribute 'tensor2im'

Say, please, what do meane?

from dfdnet.

csxmli2016 avatar csxmli2016 commented on September 2, 2024

Cpu mode wrote error

Traceback (most recent call last):
File "test_FaceDict.py", line 251, in
save_crop(visuals,os.path.join(SaveRestorePath,ImgName))
File "C:_remini\DFDNet-whole\util\visualizer.py", line 47, in save_crop
im = util.tensor2im(im_data)
AttributeError: module 'util' has no attribute 'tensor2im'

Say, please, what do meane?

Hi, it runs successfully in my computer on cpu mode. I also note that in the file ./util/util.py, it has the definition of ```tensor2im`. Can you debug it to check whether it can load this function?

from dfdnet.

csxmli2016 avatar csxmli2016 commented on September 2, 2024

I solved problem =)I replaced line 5 "import util " the "from util import util"
It's work! :)

Tell me, is it possible to run the code using GPU (1050TI)?

Hi, I did not have 1050TI, thus I am not sure whether it can work.

from dfdnet.

mrsatana666 avatar mrsatana666 commented on September 2, 2024

I solved problem =)I replaced line 5 "import util " the "from util import util"
It's work! :)
Tell me, is it possible to run the code using GPU (1050TI)?

Hi, I did not have 1050TI, thus I am not sure whether it can work.

Hi, please tell me which video card do you have?

from dfdnet.

csxmli2016 avatar csxmli2016 commented on September 2, 2024

I solved problem =)I replaced line 5 "import util " the "from util import util"
It's work! :)
Tell me, is it possible to run the code using GPU (1050TI)?

Hi, I did not have 1050TI, thus I am not sure whether it can work.

Hi, please tell me which video card do you have?

Currently, I use RTX 2080 Ti.

from dfdnet.

mrsatana666 avatar mrsatana666 commented on September 2, 2024

I solved problem =)I replaced line 5 "import util " the "from util import util"
It's work! :)
Tell me, is it possible to run the code using GPU (1050TI)?

Hi, I did not have 1050TI, thus I am not sure whether it can work.

Hi, please tell me which video card do you have?

Currently, I use RTX 2080 Ti.

Thx! And thx for your work! really looking forward to the opportunity to work with multiple faces =)

from dfdnet.

csxmli2016 avatar csxmli2016 commented on September 2, 2024

I solved problem =)I replaced line 5 "import util " the "from util import util"
It's work! :)
Tell me, is it possible to run the code using GPU (1050TI)?

Hi, I did not have 1050TI, thus I am not sure whether it can work.

Hi, please tell me which video card do you have?

Currently, I use RTX 2080 Ti.

Thx! And thx for your work! really looking forward to the opportunity to work with multiple faces =)

Hi, I plan to achieve this model on multiple faces when I am free. Maybe the next several months.

from dfdnet.

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.