Conversation
…ine, changing update_frame_level_table to accept args as well
…c2 for testing deployment
…ontinues running despite failures
…ing properly as well
…'t refer to tracking types in the types of traffic analysers
…tion_estimation into ec2_eval_pipeline solving bugs on ec2
…tion_estimation into ec2_eval_pipeline last minute attempt to get eval stats
…un during review process
Maren-Eckhoff
left a comment
There was a problem hiding this comment.
Remove the output.txt, and readme_resources/images/example_credentials.png
|
|
||
| # ignore goturn caffe model | ||
| src/goturn.caffemodel | ||
| src/goturn.prototxt |
There was a problem hiding this comment.
why would these files and up here?
There was a problem hiding this comment.
Funmi told me that to run the goturn tracker, you need these 2 files to be in the same directory as the module you're running.
| @@ -0,0 +1,2464 @@ | |||
| { | |||
| @@ -0,0 +1,122 @@ | |||
| { | |||
requirements.txt
Outdated
| pandas==0.24.2 | ||
| psycopg2==2.6.2 | ||
| seaborn>=0.9 | ||
| sklearn |
There was a problem hiding this comment.
specify the version
src/create_dev_tables.py
Outdated
| @@ -0,0 +1,9 @@ | |||
| from traffic_analysis.d00_utils.create_primary_sql_tables import create_primary_sql_tables | |||
There was a problem hiding this comment.
I removed the module actually because it is rendered unnecessary by the setup.py
| @@ -0,0 +1,138 @@ | |||
| import numpy as np | |||
There was a problem hiding this comment.
this is too much code in the pipeline file. If you need many steps, then please move them into a function run_eval_pipeline that sits in d07_pipelines and call that function here.
src/eval_pipeline.py
Outdated
| s3_credentials = creds[paths['s3_creds']] | ||
|
|
||
| # settings | ||
| verbose = True |
There was a problem hiding this comment.
that could be in the eval_pipeline_settings
| def create_primary_sql_tables(db_frame_level_name: str, | ||
| db_video_level_name: str, | ||
| db_vehicle_types_name: str = None, | ||
| db_cameras_name: str = None, |
There was a problem hiding this comment.
remove unused inputs
src/setup.py
Outdated
|
|
||
| # create PSQL tables to insert vehicle statistics into | ||
| create_sql_tables(drop=False) | ||
| create_primary_sql_tables(drop=False) |
There was a problem hiding this comment.
I think you changed the inputs. Do you not need to pass in the table names?
There was a problem hiding this comment.
Yes you're right, I've addressed this
| dl.execute_raw_sql_query(sql=command) | ||
|
|
||
|
|
||
| def create_eval_sql_tables(creds: dict, |
There was a problem hiding this comment.
remove unused import
There was a problem hiding this comment.
Which import are you referring to? I think all of them are currently used.
Includes