Open pengyanhui opened 4 months ago
I tried the command, but it did not reproduce in a new venv environment with pip install -r requirements.txt
. Is it sure that import models
imports models/__init__.py
? If there is a name conflict with it, the gwae model will not be registered.
The model 'gwae' is registered here: https://github.com/ganmodokix/gwae/blob/ee1abfaaa3dadb7fd8a2cf6ccdcec598aa75809e/models/__init__.py#L4
train.py
imports the module in question models/__init__.py
here:
https://github.com/ganmodokix/gwae/blob/ee1abfaaa3dadb7fd8a2cf6ccdcec598aa75809e/train.py#L6
When I input the command: python train.py setting/gwae.yaml I got an error: ValueError: Model 'gwae has not been registered' Could you tell me how to register the model 'gwae'?