-
-
Notifications
You must be signed in to change notification settings - Fork 439
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
muti_gpu_model not supported in crf loss[BUG] #174
Comments
This comment has been minimized.
This comment has been minimized.
@CyberZHG could you help me with the issue. I don't know how to implement a multi-GPU / TPU supported layer. |
You don't need to do anything to support multi-GPU. It's because this implementation of CRF layer must be the last layer in 'join' mode. However, a concatenation layer will be created to merge the outputs (from CRF layers) from different GPUs. |
I think one way to use this CRF for multi-GPU in 'join' mode is:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
File "/root/ubuntu/software/anaconda3/lib/python3.7/site-packages/kashgari/utils/crf/crf_losses.py", line 71, in crf_loss
if crf.learn_mode == 'join':
AttributeError: 'Concatenate' object has no attribute 'learn_mode'
The text was updated successfully, but these errors were encountered: