Traceback (most recent call last):


 "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "/usr/lib/python3.6/runpy.py", line 85, in _run_code

exec(code, run_globals)


 "/usr/local/lib/python3.6/dist-packages/torch2trt-0.0.0-py3.6.egg/torch2trt/test.py", line 100, in <module>

max_error, fps, fps_trt, ms, ms_trt = run(test)


 "/usr/local/lib/python3.6/dist-packages/torch2trt-0.0.0-py3.6.egg/torch2trt/test.py", line 25, in run

module_trt = torch2trt(module, inputs, **self.torch2trt_kwargs)


 "/usr/local/lib/python3.6/dist-packages/torch2trt-0.0.0-py3.6.egg/torch2trt/torch2trt.py", line 252, in torch2trt

outputs = module(*inputs)


 "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 545, in __call__

result = self.forward(*input, **kwargs)


 "/usr/local/lib/python3.6/dist-packages/torchvision/models/densenet.py", line 222, in forward

out = F.avg_pool2d(out, kernel_size=7, stride=1).view(features.size(0), -1)


 "/usr/local/lib/python3.6/dist-packages/torch2trt-0.0.0-py3.6.egg/torch2trt/torch2trt.py", line 97, in wrapper

converter(ctx)


 "/usr/local/lib/python3.6/dist-packages/torch2trt-0.0.0-py3.6.egg/torch2trt/converters/view.py", line 11, in convert_view

layer = ctx.network.add_shuffle(input._trt)
AttributeError: 'Tensor' object has no attribute '_trt'

Error: Traceback (most recent call last):


 "c:\users\john\.platformio\penv\lib\site-packages\platformio\__main__.py", line 120, in main

cli(None, None, None)


 "c:\users\john\.platformio\penv\lib\site-packages\click\core.py", line 700, in __call__

return self.main(*args, **kwargs)


 "c:\users\john\.platformio\penv\lib\site-packages\click\core.py", line 680, in main

rv = self.invoke(ctx)


 "c:\users\john\.platformio\penv\lib\site-packages\click\core.py", line 1027, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "c:\users\john\.platformio\penv\lib\site-packages\click\core.py", line 873, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "c:\users\john\.platformio\penv\lib\site-packages\click\core.py", line 508, in invoke

return callback(*args, **kwargs)


 "c:\users\john\.platformio\penv\lib\site-packages\click\decorators.py", line 16, in new_func

return f(get_current_context(), *args, **kwargs)


 "c:\users\john\.platformio\penv\lib\site-packages\platformio\commands\init.py", line 102, in cli

pg = ProjectGenerator(project_dir, ide, env_name)


 "c:\users\john\.platformio\penv\lib\site-packages\platformio\ide\projectgenerator.py", line 35, in __init__

self._gather_tplvars()


 "c:\users\john\.platformio\penv\lib\site-packages\platformio\ide\projectgenerator.py", line 152, in _gather_tplvars

self._tplvars.update(self.get_project_build_data())


 "c:\users\john\.platformio\penv\lib\site-packages\platformio\util.py", line 134, in __call__

value = self.func(*args)


 "c:\users\john\.platformio\penv\lib\site-packages\platformio\ide\projectgenerator.py", line 76, in get_project_build_data

raise result.exception
AttributeError: 'module' object has no attribute 'get_cache_dir'
