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

ValueError: could not broadcast input array from shape (4,675) into shape (4,201) #1

Open
tamerbio opened this issue Oct 5, 2022 · 0 comments

Comments

@tamerbio
Copy link

tamerbio commented Oct 5, 2022

Dear all,
I am trying to use this interesting tool to predict CTCF binding to my lncRNA using:
python /prediction.py -f /Users/tali/Desktop/lncRNA_seqes.fa -o prediction.output
however, the tool throws out this error message:

2022-10-05 10:08:59.419265: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2022-10-05 10:09:01.960968: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
WARNING:tensorflow:Please fix your imports. Module tensorflow.python.training.tracking.base has been moved to tensorflow.python.trackable.base. The old module will be deleted in version 2.11.
Traceback (most recent call last):
  File "/prediction.py", line 36, in <module>
    main()
  File "/prediction.py", line 33, in main
    prediction(infile,outfile)
  File "/prediction.py", line 10, in prediction
    X,geneinfo = get_pred_data(infile)
  File /utils.py", line 91, in get_pred_data
    (seqmatrix, gene, rank) = get_seq_matrix(infile,seqmatrix,rank)
  File "/utils.py", line 48, in get_seq_matrix
    seqmatrix[rank] = seqcode
ValueError: could not broadcast input array from shape (4,675) into shape (4,201)

what might be went wrong?
Im using MacOS 12.2
thanks much
Tamer

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

1 participant