Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table runs does not exist #31

Open
thegamecat opened this issue Apr 21, 2018 · 5 comments
Open

Table runs does not exist #31

thegamecat opened this issue Apr 21, 2018 · 5 comments

Comments

@thegamecat
Copy link

thegamecat commented Apr 21, 2018

Running hypersearch.py is giving me this error:
sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) relation "runs" does not exist
LINE 1: select hypers, returns from runs where flag='conv2d'
^
[SQL: 'select hypers, returns from runs where flag=%(f)s'] [parameters: {'f': 'conv2d'}]

Which looks to me like the runs table does not exist in hyper_runs - which makes sense as there seems to be nothing trying to create it?

I've created the table but I don't know what data types to use.

Update: Bigint[] everything apart from agent and flag which are text and it works!

Update 2: I'm not seeing any of the runs being written to the table and looking at the dataset I'm seeing on the console I'm assuming I have the datatypes very wrong - any view of what the datatypes are would be great.

FYI using Ubuntu 16.04, python 3.6

@thegamecat
Copy link
Author

Update: I made all fields varchar and a serial id field and it seems to work.

@lefnire
Copy link
Owner

lefnire commented Apr 22, 2018

Did you run the last command in the data section of readme?

@thegamecat
Copy link
Author

thegamecat commented Apr 22, 2018

Nope.

I'm a moron :)

Are there any other tables that need to be created?

@lefnire
Copy link
Owner

lefnire commented Apr 22, 2018

I've gotten this a few times, I'll have to make that section more obvious / automatic

@thegamecat
Copy link
Author

Tbh your instructions are fine.

The issue is, as a bit of a linux / python noob, it took me 2 days to build an ubuntu box with all the requirements on it. This was after I tried to install it all with Winbash - only to realise that you can't install cuda etc on winbash (which is logical...). So the basic things like that step were just missed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants