Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I am a new user for python and I know there are a few discussions about this; however, I still cannot fix it.
I execute my homework as the following code:
How to fix the error in my code? please advise, thanks!
Your ut variable is an array,
try to change (line 69)
u = lambda t,x : ut(t)
to
u = lambda t,x : ut[t]
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 days ago.
Improve this question
I'm rinning this GitHub code
It running well but having error in this line after trained model, and while testing to get the accuracy.
a = new_model.predict_generator(test_gen)
it says "NameError: name 'new_model' is not defined"
I want to know how to define 'new_model' before?
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
What the problem with my code ?
Please help
I tried several ide but still get same problem https://i.stack.imgur.com/KPRqA.jpg
Declare a=[] outside the for loop to get all your elements added to your list
What are you trying to do? We can't help if we don't know your end goal.
you can try putting a outside of the loop and set:
for i in range(0, x):
instead of just numbers in a parenthesis.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
While passing the parameters mp_neuron.fit(), it asks for a third parameter.
Can anyone explain why self is not being recognized
You haven't new a object for MPNeuron, it should be
mp_neuron = MPNeuron()
You're not instantiating the object.
mp_neuron = MPNeuron
This should be
mp_neuron = MPNeuron()
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
screenshot
I don't know how to have the right thing, like whats descriped in the picture
thank you
You're trying to invoke the tuple pos as the function pos.
Instead, you want to index the tuples instead of calling them. So use pos[row][col] instead of pos(row,col).
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
I can't delete the file using os.remove because some problem with the path.
here is the source code: http://www.filedropper.com/install_5
or : http://pastebin.com/L0na3XPm
i would be happy if someone can help me , thank you all
love
I see the line:
rmv=dst+"\\insatll.py"
Is this supposed to be "\\install.py" ?