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
NameError: name 'x_train' is not defined #168
Comments
@LukeDeWaal it's simply that the return values of
simply won't do. |
I am still getting the same error even when I have exactly matched the return value of the 'data' function with the input values to the 'create_model' function. |
@sanesanyo do me a favor and do the following for me:
If that doesn't work for you I'd be very surprised. Provide me with the full stack trace in that case. |
Hi Max,
First of all, thank you for your reply. This seemed to work.
What do you think could be the reason why it didn't work before?
Regards,
Sanyog
…On Sun, Sep 2, 2018, 9:30 PM Max Pumperla ***@***.***> wrote:
@sanesanyo <https://github.com/sanesanyo> do me a favor and do the
following for me:
git clone https://github.com/maxpumperla/hyperas
cd hyperas
virtualenv venv
source venv/bin/activate
pip install tensorflow
python setup.py install
python examples/mnist_readme.py
If that doesn't work for you I'd be very surprised. Provide me with the
full stack trace in that case.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#168 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVY-AUIFkszR0aUreJaZg5mxtzoJQfxPks5uXDHRgaJpZM4UDTYr>
.
|
maybe storing but not deleting the temp file? in any case, use virtual envs! |
For what it is worth I had the same error and deleting the |
good point. I can't justify to delete the pycache after each hyperas run, though. so I'm afraid this is something users have to deal with |
Deleting the cache worked for me as well. Thanks for the help once again.
Just one final question, is there any documentation somewhere which
explains the output of the best model. I understand most of the output but
am getting confused with 'add' key. I would be extremely grateful if you
could throw some light on it. I did find some links on the web but
unfortunately couldn't find the answers.
Regards
…On Thu, Sep 6, 2018, 8:36 AM Max Pumperla ***@***.***> wrote:
good point. I can't justify to delete the pycache after each hyperas run,
though. so I'm afraid this is something users have to deal with
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#168 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AVY-AW_c3WTuMRaSOaURyfR28gAOuNVUks5uYMJigaJpZM4UDTYr>
.
|
NameError Traceback (most recent call last) NameError: name 'train' is not defined |
still no help on |
I know a similar issue is posted in the known issues thread but it does not seem to help me. I keep getting this error no matter what I try, so perhaps I can get answers here. My model is supposed to distinguish between 4 categories of pictures (cats, dogs, airplanes and motorbikes).
I have the following code:
And this is the error code:
If anyone could help me out that'd be great, I've been breaking my head over this for multiple days now.
The text was updated successfully, but these errors were encountered: