Comments (4)
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.
Are you passing in empty text files? Anything you could share so I might be able to reproduce?
from semantra.
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.
Thanks, I can verify the issue! Digging in to see what's going wrong/how I can fix it.
from semantra.
Related Issues (20)
- System-wide .env HOT 3
- Default literature folder HOT 3
- Auto-detect encoding? HOT 1
- openai.error.InvalidRequestError: '$.input' is invalid. HOT 4
- ValueError: Loading openbmb/cpm-bee-10b requires you to execute the tokenizer file in that repo on your local machine. Make sure you have read the code there to avoid malicious use, then set the option `trust_remote_code=True` to remove this error. HOT 1
- PyTorch no longer supports GPU because it is too old HOT 1
- No such option: --query_token_pre HOT 1
- Re-run queries with tags on new documents HOT 1
- Set default connection to localhost
- Failed to install with pipx HOT 2
- How to migrate to different computer? HOT 1
- When will version 0.2.0 open
- Won't install on Mac(s) HOT 2
- pipx install semantra not working HOT 1
- Request to Update OpenAI Implementation to Support New API Schema HOT 4
- No module named 'pkg_resources' HOT 2
- Getting a 404: The requested URL was not found on the server. HOT 4
- RuntimeError: Numpy is not available HOT 3
- Can you add the function of parsing folders? It is more convenient to put multiple files directly in one folder.
- support markdown files
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from semantra.