code error

i am trying to run a code (FBSNNs.py) by Maziar Raissi. it has some error (ValueError: Shape must be rank 2 but is rank 1 for ‘MatMul_53’ (op: ‘MatMul’) with input shapes: [100], [100,100,1].) 

Hi @ehtisham409,

This post was moved to a different board that fits your topic of discussion a bit better. This means you’ll get better engagement on your post, and it keeps our community organized so users can more easily find information.

As you’ll notice, your topic is now here in the Programming Help and Discussion. No action is needed on your part; you can continue the conversation as normal here.

Cheers!

1 Like

People would be more likely to help you if you provide:

  1. a link to the program

  2. more information about the error, such as the line / stack trace where the error occurs

  3. more information about how to run the program (i.e. the command line to execute with the parameters which are giving you the error).

1 Like

1)https://github.com/maziarraissi/FBSNNs/blob/master/FBSNNs.py

2) https://github.com/maziarraissi/FBSNNs/blob/master/BlackScholesBarenblatt100D.py

i am unable run these pair of codes may be due to python version incompatability. you can copy the code to your jupyter notebook from these links