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

你好 我遇到了一个gpu、 #52

Open
Xiaomkuaipao opened this issue Mar 20, 2022 · 0 comments
Open

你好 我遇到了一个gpu、 #52

Xiaomkuaipao opened this issue Mar 20, 2022 · 0 comments

Comments

@Xiaomkuaipao
Copy link

Some weights of the model checkpoint at E:\CODE\pythonProject\ChineseBert-main\CHINESEBERT_PATH were not used when initializing GlyceBertForSequenceClassification: ['cls.predictions.bias', 'cls.predictions.transform.dense.weight', 'cls.predictions.transform.dense.bias', 'cls.predictions.transform.LayerNorm.weight', 'cls.predictions.transform.LayerNorm.bias', 'cls.predictions.decoder.weight', 'cls.predictions.decoder.bias']

  • This IS expected if you are initializing GlyceBertForSequenceClassification from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPretraining model).
  • This IS NOT expected if you are initializing GlyceBertForSequenceClassification from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
    Some weights of GlyceBertForSequenceClassification were not initialized from the model checkpoint at E:\CODE\pythonProject\ChineseBert-main\CHINESEBERT_PATH and are newly initialized: ['classifier.weight', 'classifier.bias']
    You should probably TRAIN this model on a down-stream task to be able to use it for predictions and inference.
    GPU available: True, used: True
    TPU available: False, using: 0 TPU cores
    CUDA_VISIBLE_DEVICES: [0]
    D:\Anaconda\envs\py37torch\lib\site-packages\pytorch_lightning\utilities\distributed.py:37: UserWarning: WORLD_SIZE environment variable (2) is not equal to the computed world size (1). Ignored.
    warnings.warn(*args, **kwargs)
    initializing ddp: GLOBAL_RANK: 0, MEMBER: 1/1

请问这是怎么回事呢? 没有查到解决办法

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