Skip to main content

Utilities to help train models with tensorflow2 and keras

Project description

tfjeeves

poetry run python train.py --config=configs/cifar10.py --data=/home/soumendra/data-zoo/classification/cifar10

https://flynn.gg/blog/software-best-practices-python-2019/

poetry run python train.py --config=configs/cifar10.py --data=~/data-zoo/classification/cifar10

Getting triplet list (df)

DATABASE_URL=postgresql://vista_api_live:4jzjS3USGnjLvXZrHrR4cyNh@vista-postgres.coaffiez9jim.ap-southeast-1.rds.amazonaws.com:5432/vista_api_live
ETL_DATABASE_URL=postgresql://etl_user:eCwTqY6h9DJeFwFyuyX4LcSF@etl-server-postgres.coaffiez9jim.ap-southeast-1.rds.amazonaws.com:5432/etldb

psql -h etl-server-postgres.coaffiez9jim.ap-southeast-1.rds.amazonaws.com -p 5432 -U etl_user -d etldb

\copy (SELECT tot.catalog_id, tot.product_id, tot.master_name, tot.subcategory_name, tot.category_name, tot.image_id, sync.s3_path, sync.is_sizechart, sync.is_discarded  FROM (SELECT fc.catalog_id, fc.product_id, fc.master_name, fc.subcategory_name, fc.category_name, fvi.image_id FROM (SELECT catalog_id, UNNEST(product_ids) as product_id, master_name, subcategory_name, category_name FROM fact_catalogs AS fc WHERE catalog_product_count > 3) AS fc JOIN fact_visible_images AS fvi ON fvi.product_id = fc.product_id) AS tot JOIN synced_images AS sync ON sync.image_id = tot.image_id ORDER BY tot.catalog_id) to 'temp.csv' delimiter ',' csv header;

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tfjeeves-0.2.6.tar.gz (3.6 MB view details)

Uploaded Source

Built Distribution

tfjeeves-0.2.6-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file tfjeeves-0.2.6.tar.gz.

File metadata

  • Download URL: tfjeeves-0.2.6.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Linux/5.3.0-46-generic

File hashes

Hashes for tfjeeves-0.2.6.tar.gz
Algorithm Hash digest
SHA256 dd79bf82d30d998a8d948fdf7366bb802d53996180b1199c8cef5df5f22f3609
MD5 fbea62b32567bde3b6cd854daf3ca4e2
BLAKE2b-256 a878079afc9bd761fcbad619199edb989dd387f4bfe0d705329182b4ba9d1c2e

See more details on using hashes here.

File details

Details for the file tfjeeves-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: tfjeeves-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.7.6 Linux/5.3.0-46-generic

File hashes

Hashes for tfjeeves-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b75b3b554cfe5a73b1aaa66963fd911b2ba96d0d25321ee55eb1a3d5a1c34d54
MD5 1e6e3ecde0a7f30a690c979d1a18ffff
BLAKE2b-256 bee09e90af8b75dc150f474d0361b181274492eceb1287257b619549e5c00c17

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page