Open RoyiAvital opened 1 year ago
Thanks for the report!
It turns out model gives another error when using input_data API. The problem for this is because torchvision uses Imagelist
object when return tensor from modules. As of now, torchview
covers iterable, mappable objects, which ImageList is not.
Relevant piece of code: https://github.com/pytorch/vision/blob/6ca9c76adb6daf2695d603ad623a9cf1c4f4806f/torchvision/models/detection/generalized_rcnn.py#L83
My first attempt at solving this would be to iterate of attributes of output and input objects in order to cover all the objects, not just iterable and mappable ones.
I will try a few solutions and inform you when a relevant update is complete
Great!
By the way, wrote about your package at StackExchange - Data Science - How Do You Visualize Neural Network Architectures.
Thanks for spreading the word :)
Describe the bug FastRCNN based models input is a list (The batch is a list of tensors).
Hence it can not be described using the current API which only let the user set the tensor dimensions.
To Reproduce
Expected behavior Being able to set the input using a specific example.