Can not convert interpolate
See original GitHub issue> python3 -m torch2trt.test --name=interpolate
Traceback (most recent call last):
File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/local/lib/python3.7/site-packages/torch2trt-0.0.0-py3.7.egg/torch2trt/test.py", line 100, in <module>
max_error, fps, fps_trt, ms, ms_trt = run(test)
File "/usr/local/lib/python3.7/site-packages/torch2trt-0.0.0-py3.7.egg/torch2trt/test.py", line 25, in run
module_trt = torch2trt(module, inputs, **self.torch2trt_kwargs)
File "/usr/local/lib/python3.7/site-packages/torch2trt-0.0.0-py3.7.egg/torch2trt/torch2trt.py", line 252, in torch2trt
outputs = module(*inputs)
File "/usr/local/lib/python3.7/site-packages/torch/nn/modules/module.py", line 539, in __call__
result = self.forward(*input, **kwargs)
File "/usr/local/lib/python3.7/site-packages/torch2trt-0.0.0-py3.7.egg/torch2trt/converters/interpolate/interpolate.py", line 49, in forward
return F.interpolate(x, self.size, mode=self.mode, align_corners=self.align_corners)
File "/usr/local/lib/python3.7/site-packages/torch2trt-0.0.0-py3.7.egg/torch2trt/torch2trt.py", line 97, in wrapper
converter(ctx)
File "/usr/local/lib/python3.7/site-packages/torch2trt-0.0.0-py3.7.egg/torch2trt/converters/interpolate/interpolate.py", line 34, in convert_interpolate
plugin = get_interpolate_plugin(size=size, mode=mode, align_corners=align_corners)
File "/usr/local/lib/python3.7/site-packages/torch2trt-0.0.0-py3.7.egg/torch2trt/converters/interpolate/interpolate.py", line 11, in get_interpolate_plugin
creator = [c for c in registry.plugin_creator_list if c.name == PLUGIN_NAME and c.plugin_namespace == 'torch2trt'][0]
IndexError: list index out of range
Issue Analytics
- State:
- Created 4 years ago
- Comments:26 (12 by maintainers)
Top Results From Across the Web
I am trying to do an interpolation with IDW and I get TypeError
I am trying to do an interpolation with IDW and I get TypeError: cannot convert the series to <class 'float'>.
Read more >How to get convert to not interpolate pixels?
Please run the file command on your output file and post the output (hopefully it will tell us the resolution). – Ned64. Mar...
Read more >The EXPAND Procedure
When a curve fitting method is used, converting to a lower frequency is no different than converting to a higher frequency–you just specify...
Read more >Explore string interpolation handlers - Microsoft Learn
This advanced tutorial shows how you can write a custom string interpolation handler that hooks into the runtime processing of an ...
Read more >ERDDAP - Convert Nearest Data
This converter efficiently interpolates values from a gridded dataset's values. ... If you don't specify an algorithm, Bilinear/4 will be used. Mean
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sonack You can email me your wechat id.
@duanwenhong Hi, I haven’t used this code for a long time. I’m sorry that I cannot provide any useful information.