-
Notifications
You must be signed in to change notification settings - Fork 14
Description
I am getting the following error when i try to execute the code
Traceback (most recent call last):
File "C:\Users......\anaconda3\envs\AI\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users......\anaconda3\envs\AI\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "c:\Users......vscode\extensions\ms-python.python-2020.8.108011\pythonFiles\lib\python\debugpy_main.py", line 45, in
cli.main()
File "c:\Users......vscode\extensions\ms-python.python-2020.8.108011\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py", line 430, in main
run()
File "c:\Users.......vscode\extensions\ms-python.python-2020.8.108011\pythonFiles\lib\python\debugpy/..\debugpy\server\cli.py", line 267, in run_file
runpy.run_path(options.target, run_name=compat.force_str("main"))
File "C:\Users.......\anaconda3\envs\AI\lib\runpy.py", line 261, in run_path
code, fname = _get_code_from_file(run_name, path_name)
File "C:\Users.......\anaconda3\envs\AI\lib\runpy.py", line 236, in _get_code_from_file
code = compile(f.read(), fname, 'exec')
File "d:\Single-Image-De-Raining-Keras-master\ID-CGAN.py", line 323
img_b = np.array([img_B])/127.5 - 1
^
SyntaxError: invalid syntax