Conversation
|
1、当oneflow版本为0.8.1.dev20220802+cu112时,会报错: 修改oneflow版本为0.8.1+cu112.git.506cb3f1即可正常运行。 2、对beit_base_patch16_224、beit_base_patch16_384、beit_large_patch16_224、beit_large_patch16_384、beit_large_patch16_512进行测试,皆可正常运行。 对beit_base_patch16_224_in22k、beit_large_patch16_224_in22k进行测试,采用预训练时可正常运行。在不采用预训练直接调用模型时,无法直接设置num_classes参数。 报错信息: 若通过像采用预训练那样修改最后一层head层的输出,可正常运行。 3、还有一点我比较好奇的是,in22k结尾的网络最后一层head的输出为何是21841这么大,即使是预训练之后。(按理说通过imagenet预训练之后最后的输出都是1000类) |
你是用eager模式跑的吧,因为add op还没支持non-contiguous输入,所以non-contiguous输入的inplace add是不支持的,以前的版本能支持,但计算出来的结果肯定是错的。这个问题正在统一解决中。 |
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.
Add Beit model and pretrained weights