更新对于 yolov4 的 indice_merge() 函数#83
Open
chumingqian wants to merge 2 commits intoSpursLipu:masterfrom
chumingqian:master
Open
更新对于 yolov4 的 indice_merge() 函数#83chumingqian wants to merge 2 commits intoSpursLipu:masterfrom chumingqian:master
chumingqian wants to merge 2 commits intoSpursLipu:masterfrom
chumingqian:master
Conversation
1:b_temp = (torch.ones(int(2 ** (5 - j) / scale - 1)) * b[i]).long().cuda() 增加了. cuda() 参数, 避免了 find .cpu , .gpu 报错; 2: 不使用了 indice_merge() 函数, 因为原始了 indice[0] 中 有四个变量 , indices[0]: [ [0,0,3] , [1,2,2], [2,2,6] [16,16,24] ] 经过indices_merge() 函数, (2**( 5- j) 之后, 出现[16,16, 832] 会出现 index 832 out of 608 .的错误; 3: 暂时 没有读懂, indices_merge() 函数 为什么 将temp[2] , temp[3] 乘上 (2 ** (5-j) ) 的功能, 这样做的目的是什么。
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
由于v3 和 V4 的 cfg 文件中, yolo 层出现的顺序正好相反。