Comments (5)
This might be a bug
from aidb.
Example:
self.blob_table_setup = BaseTablesSetup(f"{self.db['url']}/{self.db['name']}")
self.blob_table_name = "video"
self.blob_table_columns = [ # blob table: video
{"name": "video_path", "dtype": str, "is_primary_key": True}
]
self.tables = {
"frame": [ # extractor: video -> frame
{"name": "frame_path", "dtype": str, "is_primary_key": True},
{"name": "video_path", "refers_to": ("video", "video_path"), "dtype": str},
]
}
self.engines = [
{
"service": self.extractor,
"input_col": ("video.video_path",),
"output_col": ("frame.frame_path", "frame.video_path")
}
]
This cannot pass https://github.com/ddkang/aidb/blob/main/aidb/config/config.py#L241
We should allow output table's foreign keys NOT to be output table's primary keys
from aidb.
Example: one table "dataset" has columns like this
{
"dataset": [
{"name": "masked_image_path", "dtype": str, "is_primary_key": True},
{"name": "original_image_path", "refers_to": ("character", "path"), "dtype": str},
{"name": "tag_path", "dtype": str},
{"name": "tag", "dtype": str}
]
}
Inference service like this
self.engines = [
{
"service": self.segmentor,
"input_col": ("character.character_path",),
"output_col": ("dataset.masked_image_path", "dataset.original_image_path")
},
{
"service": self.tagger,
"input_col": ("dataset.masked_image_path",),
"output_col": ("dataset.tag_path", "dataset.tag")
}
]
This cannot pass https://github.com/ddkang/aidb/blob/main/aidb/config/config.py#L152
We should allow output columns that are copied from input columns to be binded to 2 inference services
from aidb.
Thanks. Can you take on resolving this @continue-revolution ?
from aidb.
Yes. I will graduately resolve all of them,
from aidb.
Related Issues (20)
- Sync sqlglot with upstream
- Allow for versioning of ML models
- Allow for clearing all ML model results
- Loosen requirements.txt HOT 1
- Separate out blob table creation and insertion in the blob table
- Support python 3.12 HOT 3
- Run 10 trials of aggregation tests on GitHub actions, 100 locally HOT 2
- Integrate control variate optimization via proxies
- Option not to truncate query result on the terminal
- Possible to change blob table? HOT 2
- Support infer batch HOT 1
- Refactor test_query_parsing file HOT 3
- Parsing error if column in SELECT clause has same name as keyword HOT 1
- Parsing error for logic operator in WHERE clause HOT 4
- Input tables may have foreign keys to another input table
- Remove the dependency of duckdb, implement it by ourselves
- Don't support User Defined Function as an intermediate filter predicate to filter blobs
- Refactor the query validity check
- For approximate join queries, duplicate column names in two tables are not allowed.
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 aidb.