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

运行发生错误,该怎么解决 #39

Open
ohohohh opened this issue Dec 20, 2024 · 2 comments
Open

运行发生错误,该怎么解决 #39

ohohohh opened this issue Dec 20, 2024 · 2 comments

Comments

@ohohohh
Copy link

ohohohh commented Dec 20, 2024

C:\Users\28208.conda\envs\torch\lib\site-packages\pytorch_lightning\loggers\wandb.py:395: There is a wandb run already in progress and newly created instances of WandbLogger will reuse this run. If this is not desired, call wandb.finish() before instantiating WandbLogger.
C:\Users\28208.conda\envs\torch\lib\site-packages\lightning\fabric\connector.py:571: precision=16 is supported for historical reasons but its usage is discouraged. Please set your precision to 16-mixed instead!
C:\Users\28208.conda\envs\torch\lib\site-packages\lightning\pytorch\trainer\connectors\accelerator_connector.py:512: You passed Trainer(accelerator='cpu', precision='16-mixed') but AMP with fp16 is not supported on CPU. Using precision='bf16-mixed' instead.
Using bfloat16 Automatic Mixed Precision (AMP)
GPU available: False, used: False
TPU available: False, using: 0 TPU cores
HPU available: False, using: 0 HPUs

| Name | Type | Params | Mode

0 | image_encoder | ImageEncoderViT | 87.3 M | train
1 | map_decoder | Sequential | 172 K | train
2 | bilinear_sampler | BilinearSampler | 0 | train
3 | topo_net | TopoNet | 364 K | train
4 | mask_criterion | BCEWithLogitsLoss | 0 | train
5 | topo_criterion | BCEWithLogitsLoss | 0 | train
6 | keypoint_iou | BinaryJaccardIndex | 0 | train
7 | road_iou | BinaryJaccardIndex | 0 | train
8 | topo_f1 | BinaryF1Score | 0 | train
9 | keypoint_pr_curve | BinaryPrecisionRecallCurve | 0 | train
10 | road_pr_curve | BinaryPrecisionRecallCurve | 0 | train
11 | topo_pr_curve | BinaryPrecisionRecallCurve | 0 | train

87.8 M Trainable params
0 Non-trainable params
87.8 M Total params
351.266 Total estimated model params size (MB)
C:\Users\28208.conda\envs\torch\lib\site-packages\lightning\pytorch\trainer\connectors\data_connector.py:419: Consider setting persistent_workers=True in 'val_dataloader' to speed up the dataloader worker initialization.
optim param dict 0 params num: 87278848
optim param dict 1 params num: 172770
optim param dict 2 params num: 364929
Sanity Checking: | | 0/? [00:00<?, ?it/s]C:\Users\28208.conda\envs\torch\lib\site-packages\torchvision\io\image.py:11: UserWarning: Failed to load image Python extension: [WinError 127] 找不到指定的程序。
warn(f"Failed to load image Python extension: {e}")
wandb: Network error (ProxyError), entering retry loop.
wandb: W&B API key is configured. Use wandb login --relogin to force relogin
wandb: Appending key for api.wandb.ai to your netrc file: C:\Users\28208_netrc
wandb: Network error (ProxyError), entering retry loop.
Sanity Checking DataLoader 0: 0%| | 0/2 [00:00<?, ?it/s]。这是什么问题,非常感谢。

@TCXX
Copy link

TCXX commented Jan 9, 2025

Seems resolved according to #40.

@htcr
Copy link
Owner

htcr commented Jan 17, 2025

Seems some enviroment config issue? Is this coming from wandb itself?

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

3 participants