Coder Social home page Coder Social logo

All result scores are "nan" about semantra HOT 4 OPEN

ianni67 avatar ianni67 commented on August 17, 2024
All result scores are "nan"

from semantra.

Comments (4)

ianni67 avatar ianni67 commented on August 17, 2024

Just to add a bit of info, I get the following warning:

/home/ianni/.virtualenvs/SEMANTRA/lib/python3.10/site-packages/numpy/core/fromnumeric.py:3464: RuntimeWarning: Mean of empty slice.
  return _methods._mean(a, axis=axis, dtype=dtype,
/home/ianni/.virtualenvs/SEMANTRA/lib/python3.10/site-packages/numpy/core/_methods.py:192: RuntimeWarning: invalid value encountered in scalar divide
  ret = ret.dtype.type(ret / rcount)

from semantra.

freedmand avatar freedmand commented on August 17, 2024

Are you passing in empty text files? Anything you could share so I might be able to reproduce?

from semantra.

ianni67 avatar ianni67 commented on August 17, 2024

Yes of course,
here are the contents of some of the text files. They are only very short files with one or a couple of rows.
2021-12-16-124328.txt
2023-04-18-08-47-0001.txt
COCO_test2015_000000000014.txt
COCO_test2015_000000000016.txt
COCO_test2015_000000000019.txt
COCO_test2015_000000000128.txt
COCO_test2015_000000000155.txt
feline.txt
grand_canyon_1.txt
nirvana.txt

from semantra.

freedmand avatar freedmand commented on August 17, 2024

Thanks, I can verify the issue! Digging in to see what's going wrong/how I can fix it.

from semantra.

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.