Closed zephyr06 closed 6 years ago
It worked fine for me, It was just a warning to me. Maybe it is a version problem.
Try replacing https://github.com/gurkirt/realtime-action-detection/blob/master/ssd.py#L203
with SSD(multibox(vgg(base[str(size)], 3), add_extras(extras[str(size)], 1024), mbox[str(size)], num_classes), num_classes)
On Fri, Apr 20, 2018 at 9:15 AM, Zephyr06 notifications@github.com wrote:
Hello, I just begun to learn to use pytorch, and met this problem when trying to execute the code:
Traceback (most recent call last): File "test-ucf24.py", line 15, in from ssd import build_ssd File "/home/rfb/0RealTimeActionDetection/realtime-action-detection/ssd.py", line 205 mbox[str(size)], num_classes), num_classes) SyntaxError: only named arguments may follow *expression
So, could anyone give me a hand? Thanks a lot!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gurkirt/realtime-action-detection/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/AGv-o6fgff6t82pJbuPS55ZJDth0JJAaks5tqZk5gaJpZM4TdDEP .
Thank you a lot, it works out for me!
Hello, I just begun to learn to use pytorch, and met this problem when trying to execute the code:
Traceback (most recent call last): File "test-ucf24.py", line 15, in
from ssd import build_ssd
File "/home/rfb/0RealTimeActionDetection/realtime-action-detection/ssd.py", line 205
mbox[str(size)], num_classes), num_classes)
SyntaxError: only named arguments may follow *expression
So, could anyone give me a hand? Thanks a lot!