fix the concretereifier bug in dim_gen #501
Merged
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.
PR Category
Bug Fix
Description
[done] fix the concretereifier bug in dim_gen
[done] fix the dimension of data
[done at https://github.com//pull/507] fix the bug: The expanded size of the tensor doesn't match
选取原先发生“concretereifier bug”报错的模型,对他们进行维度泛化,再用run_model对上一步得到的输出进行运行测试,在315个输出模型中,存在39个报错,run_model成功率为87.6%。具体报错类型为:
RuntimeError: The size of tensor a (1024) must match the size of tensor b (512) at non-singleton dimension 1,有19个;IndexError: index out of range in self,有20个[to do] 修复这两个问题