SyntaxError: Missing parentheses in call to 'print' とエラーが出ました。
import deel from deel.network import * from deel.network.googlenet import * from deel.commands import * import argparse x = deel.Deel() CNN = deel.Alexnet() CNN.Input("deel.png") CNN.classify() x.ShowLabels()
と書いたものを実行したら
Traceback (most recent call last): File "test.py", line 2, in <module> from deel.network import * File "/Users/XXX/Desktop/uai/deel/deel/network/__init__.py", line 40 print "Loading %s"%path ^ SyntaxError: Missing parentheses in call to 'print'
とエラーが出ました。
しかし、init.pyを見てみると
何も書いていなくてどうしてこのエラーが出るのだろうかと思います。
どこを直せば良いのでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。