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
Error after generating ant 1 #3
Comments
I was able to fix this issue (so far) by having free_gpu() simply return without doing K.clear_session(). |
Hmm that's interesting I just ran the test with newest version in Google Colab and it works without any errors. Could you please provide following details:
|
the yaml
|
Thank you, I located the issue and will update you once it has been fixed. |
Sure. Also, if you update all your open(WindowPath) calls to open(str(WindowPath)) you should be python 3.5 compatible. open() and Pathlib are only seamless in 3.6. |
Issue is now fixed in version 0.0.7. Regarding the Python version, thank you for the suggestion, but when developing the library decision was made to aim for Python 3.6, without any backward compatibility (as this allows easier development). At the moment I don't really see any problem with using 3.6 as the default version. |
I get the following error everytime after generating ant 1
builtins.ValueError: Tensor("Adam/iterations:0", shape=(), dtype=resource) must be from the same graph as Tensor("training/Adam/Const:0", shape=(), dtype=int64).
Prior output is:
=======
Ant: 0x5f7a92e8
Loss: 0.531042
Accuracy: 0.750683
Path: InputNode(shape:(256, 256, 1)) -> Conv2DNode(kernel_size:1, filter_count:64, activation:ReLU) -> FlattenNode() -> OutputNode(output_size:1, activation:Sigmoid)
Hash: 2510cfe0ba8648855dc73f4c2cb8e7ff75878eeee906c211c51f470bc6ff0547
---------------------------Current search depth is 1----------------------------
--------------------------------GENERATING ANT 1--------------------------------
Train on 5270 samples, validate on 586 samples
The text was updated successfully, but these errors were encountered: