你正试图初始化一个python 字典 。这是你如何做到的:
opt = { 'model': 'models/beach/iter63000_net.t7', 'batchSize': 128, 'gpu': 1, 'cudnn': 1, }