You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for example last layers of SSD need to permute tensor of 4 dims, but yolov5 need to permute tensor is 5. master version must be 4 dim tensor, may occur convert error.
for example last layers of SSD need to permute tensor of 4 dims, but yolov5 need to permute tensor is 5. master version must be 4 dim tensor, may occur convert error. @bailiqun, @xxradon
hi,i want to transform the code out = x.permute(0,1,2,4,5,3).contiguous().i changed the code Follow your instructions. but it is still an error. as follow: file "./bisenetv2.py", line 58, in forward shuffle_out = input_view.permute(0, 1, 4, 2, 5, 3).contiguous() File "./pytorch_to_caffe.py", line 619, in _permute bottom=[log.blobs(input)], top=[log.blobs(x)]) File "./Caffe/layer_param.py", line 33, in __init__ self.bottom.extend(bottom) TypeError: None has type NoneType, but expected one of: bytes, unicode
could you tell how to resolve it? by the way, it doesn't seem to have been modified in the code setattr(param,key,param.Value(value)),where layer_param.py,183
looking forward to your reply!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
for example last layers of SSD need to permute tensor of 4 dims, but yolov5 need to permute tensor is 5. master version must be 4 dim tensor, may occur convert error.