Closed starboyvarun closed 3 years ago
Can you post a minimal example of the code that can reproduce the error. Your example does not work. Several imports are missing. Also, indicate if you used one of the examples scripts contained in janggu as template. Check if the example scripts are working properly and, if applicable, clearly explain what you have modified in order to obtain the error.
Hello @wkopp This code is taken from Janggu documentation PART 2 on Fit a neural network on DNA sequences. Examples 1,2,3 work fine of PART 2 of the Janggu documentation. I haven't modified anything major here just the syntax error like EOF etc and added packages. The code is a snippet of Fit a neural network on DNA sequences from janggu documentation.
Minimal example of the code :
This is the full Error which is showing:
I checked running example classify_fasta.py it is running perfectly fine. And I am not trying to run an example I am trying to implement code from the Janggu documentation as mentioned above. Now please tell me why this error is showing.
EDIT 1: I tried modify the code its runs: Can you Please tell whether is giving the Right result? For particular code? Thanks!
Thank you, @starboyvarun . Yes, there was an issue in the example. ReduceDim(LABELS)
should have been only LABELS
. This caused the issue, because LABELS was already wrapped with ReduceDim earlier in the tutorial.
Welcome, @wkopp. Please can you accept the patch1 I have created? I edited the code from where I have been doing it. Enjoy your vacation. Thank you.
Hello @rekado , This Error is related to janngu , please can you tell me what's wrong here. It would be much help. Thank you.