Skip to content

Super basic method of viewing the knowledgebase csvs coming out of the Cosmos pipeline.

Notifications You must be signed in to change notification settings

UW-COSMOS/kb_visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super basic method of viewing the knowledgebase csvs coming out of the Cosmos pipeline.

Allows filtering by document, bbox type, and term of interest (currently searching target_img_path)

Usage

PG_CONN_STR="postgresql://postgres:@localhost:54321/cosmos_figs" ./setup.sh # imports the csvs in ./output
PG_CONN_STR="postgresql://postgres:@localhost:54321/cosmos_figs" python server.py # runs the app, available at localhost:8051

Current assumptions:

  • the image paths as stored in the csv/db are relative to working dir
  • the csv outputs of interest are in ./output/
  • an externally running postgres setup, with database created. Connection string is passed in at runtime:

About

Super basic method of viewing the knowledgebase csvs coming out of the Cosmos pipeline.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published