costapt / adversarial_retinal_synthesis

22 stars 10 forks source link

SystemExit error .. pleasei need help with this error #10

Closed AliSaeed86 closed 2 years ago

AliSaeed86 commented 2 years ago

Hi there, First of all thank you very much for sharing your code with us.

Kindly, i am trying to execute your code on Colab as it helps specify the versions of Keras and python to be used, so I can initiate exact environment as yours. using Tensorflow 2.8.0 , Keras 1.2.2 and Python 3.7.12

and after i uploaded DRIVE dataset and specify the path.

i got the following error when i execute the script used to train the model.


An exception has occurred, use %tb to see the full traceback.

SystemExit
/usr/local/lib/python3.7/dist-packages/IPython/core/interactiveshell.py:2890: UserWarning: To exit: use 'exit', 'quit', or Ctrl-D.
  warn("To exit: use 'exit', 'quit', or Ctrl-D.", stacklevel=1)
AliSaeed86 commented 2 years ago

for those who experienced the same issue mentioned in this post, you should change this line of code : opts, args = getopt.getopt(a, '',param_names) to be like this : opts, args = getopt.getopt(param_names, '',a )