Skip to content
New issue

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

modify configurations and use 'global_encoder' #69

Open
Henry-Bi opened this issue Sep 6, 2023 · 1 comment
Open

modify configurations and use 'global_encoder' #69

Henry-Bi opened this issue Sep 6, 2023 · 1 comment

Comments

@Henry-Bi
Copy link

Henry-Bi commented Sep 6, 2023

When attempting to utilize an additional global encoder implementation, I encountered an error despite modifying the 'use_global_encoder' parameter to 'True' in the 'conf/default.conf' file. The error message displayed is as follows:
pyhocon.exceptions.ConfigMissingException: 'No configuration setting found for key global_encoder
It appears that the aforementioned error arises due to the absence of a definition for the network architecture of the 'global_encoder'. To address this issue, I included the necessary 'global_encoder' configuration in the 'conf/default.conf' file, similar to how the 'encoder' is defined on lines 43-47, and this solution proved successful.

@Henry-Bi
Copy link
Author

Henry-Bi commented Sep 6, 2023

global_encoder {
    backbone = resnet34
    pretrained = True
    num_layers = 4
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant