We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I want to build a classification network with 2 or 3 head, and I don't know how to write the config file.
training a ResNet18 with two head, head1 predict object is cat or dog; and head2 predict object's color is white, black, orange or other.
the original ResNet18 network define as fellow in config, and how to modifiy it?
model = dict( type='ImageClassifier', backbone=dict( type='ResNet', depth=18, num_stages=4, out_indices=(3, ), style='pytorch'), neck=dict(type='GlobalAveragePooling'), head=dict( type='LinearClsHead', num_classes=1000, in_channels=512, loss=dict(type='CrossEntropyLoss', loss_weight=1.0), topk=(1, 5), ))
The text was updated successfully, but these errors were encountered:
This feature is currently under development, here is the PR #675
Sorry, something went wrong.
ok, tkx for your reply.
No branches or pull requests
Description
I want to build a classification network with 2 or 3 head, and I don't know how to write the config file.
Example
training a ResNet18 with two head, head1 predict object is cat or dog; and head2 predict object's color is white, black, orange or other.
the original ResNet18 network define as fellow in config, and how to modifiy it?
The text was updated successfully, but these errors were encountered: