Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Redes Neurais com Keras: ValueError ValueError ocorre apenas ao excutar o código no Jupyter notebook

Código fonte: https://pastebin.com/51TZ79mj

Arquivos completos do projeto: https://files.fm/u/cr2twczp

Mensagem de Erro: https://ibb.co/huW4Sy

O programa funciona normalmente ao compilar no pycharm, mas produz o erro: https://ibb.co/huW4Sy

no Jupyer notebook. Alguma ideia do porquê?

2 respostas
solução!

Edson,

Eu fiz o teste no Ubuntu 17.04 64bits, e tudo funcionou perfeitamente:

https://ibb.co/bwPcHy

Usei o python3.6

Server Information: You are using Jupyter notebook.

The version of the notebook server is: 5.4.0 The server is running on this version of Python:

Python 3.6.3 (default, Jan 11 2018, 19:15:22) 
[GCC 4.9.4]

Current Kernel Information:

Python 3.6.3 (default, Jan 11 2018, 19:15:22) 
Type 'copyright', 'credits' or 'license' for more information
IPython 6.2.1 -- An enhanced Interactive Python. Type '?' for help.

@Welton Vaz de Souza:

O estranho é que no Pycharm funciona sem problemas. No Jupyter funcionou numa máquina mas não em outra. Vou comparar as versões e depois informo!