Coder Social home page Coder Social logo

Error in trying evaluation task about e.t. HOT 6 CLOSED

jeje910 avatar jeje910 commented on August 20, 2024 1
Error in trying evaluation task

from e.t..

Comments (6)

Samuel-Fipps avatar Samuel-Fipps commented on August 20, 2024 3

create_lmdb

Do you mine sharing how you "So I divided the line 58 in create_lmdb.py into two". Thank you!

from e.t..

jeje910 avatar jeje910 commented on August 20, 2024 1

I got this error. In model.util, it closes torch if feature extraction is different. In my case, the device lead to close torch, means tensor(0.6196, deice='cuda:0') != tensor(0.6196). It worked well when i just change my device or just comment out the assertion line. Sorry for the poor question and i'll close this issue. It works well for me now!

from e.t..

jeje910 avatar jeje910 commented on August 20, 2024

The question above were solved by reinstalling all the data. (worker00 ~ worker03 directories were not created when i ran create_lmdb.py. So I divided the line 58 in create_lmdb.py into two, which generates the worker directories and feats directories)

But, evaluation task is not still working with the error named "AssertionError: feature extraction is not the same for training and evaluation".And this error lead to the FileNotFoundError again even if I trained the model in my own once again.
Does it mean feature extraction not worked well? And if so, what should I check to fix it..?

from e.t..

alexpashevich avatar alexpashevich commented on August 20, 2024

@jeje910 Hi Jaeyeon. Thank you for taking a closer look and reporting which issue you encountered. Good luck with your research!

from e.t..

Samuel-Fipps avatar Samuel-Fipps commented on August 20, 2024

Thank you I had the same problem

from e.t..

Samuel-Fipps avatar Samuel-Fipps commented on August 20, 2024

Never mind it just returns the wrong error when it should be this error that you had:

"I got this error. In model.util, it closes torch if feature extraction is different. In my case, the device lead to close torch, means tensor(0.6196, deice='cuda:0') != tensor(0.6196). It worked well when i just change my device or just comment out the assertion line. Sorry for the poor question and i'll close this issue. It works well for me now!"

from e.t..

Related Issues (17)

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.