@albanD thank you for your replay, i think i figured out where is the problem! but i don’t know how to solve it…
i have uploaded the files to make it easy to refer :
link 21
error said that ‘Adam’ object is not callable and the error in is in line 128 in train_network  from suppFunctions.py file
in the train.py line 45 we create an optimizer inctance from nn_setup fucntion in suppFunctions.py
i saw that in line 103 from the suppFunctions.py this line of code:
optimizer = optim.Adam(model.classifier.parameters(), lr )

and when i read the doc of pytorch i figured that i passed a wrong parameters
could you help me writing the file in right way ?