wandb: Currently logged in as: 470749941. Use `wandb login --relogin` to force relogin wandb: - Waiting for wandb.init()... wandb: \ Waiting for wandb.init()... wandb: Tracking run with wandb version 0.15.5 wandb: Run data is saved locally in /home/zhangmengjie/PID/Python/ERL-Re2-main/wandb/run-20230721_165849-rrlut7sk wandb: Run `wandb offline` to turn off syncing. wandb: Syncing run Steps_200_theta_0.5_eval_1_rs_prob_0.05_frac_p_0.7_our_M_1_0.2_10_5_1.0_64_noise_0.2_Pavn_detach_False_1.0_actorloss_MI_sa_s_0.0_random_K_1_Ant-v4_0.005 wandb: ⭐️ View project at https://wandb.ai/470749941/TSR wandb: 🚀 View run at https://wandb.ai/470749941/TSR/runs/rrlut7sk Error compiling Cython file: ------------------------------------------------------------ ... See c_warning_callback, which is the C wrapper to the user defined function ''' global py_warning_callback global mju_user_warning py_warning_callback = warn mju_user_warning = c_warning_callback ^ ------------------------------------------------------------ /home/zhangmengjie/anaconda3/envs/torch1/lib/python3.7/site-packages/mujoco_py/cymj.pyx:92:23: Cannot assign type 'void (const char *) except * nogil' to 'void (*)(const char *) noexcept nogil' Error compiling Cython file: ------------------------------------------------------------ ... See c_warning_callback, which is the C wrapper to the user defined function ''' global py_error_callback global mju_user_error py_error_callback = err_callback mju_user_error = c_error_callback ^ ------------------------------------------------------------ /home/zhangmengjie/anaconda3/envs/torch1/lib/python3.7/site-packages/mujoco_py/cymj.pyx:127:21: Cannot assign type 'void (const char *) except * nogil' to 'void (*)(const char *) noexcept nogil' Compiling /home/zhangmengjie/anaconda3/envs/torch1/lib/python3.7/site-packages/mujoco_py/cymj.pyx because it changed. [1/1] Cythonizing /home/zhangmengjie/anaconda3/envs/torch1/lib/python3.7/site-packages/mujoco_py/cymj.pyx wandb: Waiting for W&B process to finish... (failed 1). Press Control-C to abort syncing. wandb: Network error (TransientError), entering retry loop. wandb: - 0.000 MB of 0.003 MB uploaded (0.000 MB deduped) wandb: \ 0.000 MB of 0.011 MB uploaded (0.000 MB deduped) wandb: Network error (TransientError), entering retry loop. wandb: | 0.000 MB of 0.011 MB uploaded (0.000 MB deduped) wandb: / 0.000 MB of 0.011 MB uploaded (0.000 MB deduped) wandb: - 0.000 MB of 0.011 MB uploaded (0.000 MB deduped) wandb: \ 0.000 MB of 0.011 MB uploaded (0.000 MB deduped
时间: 2023-08-15 10:09:56 浏览: 472
根据错误信息,您在使用Wandb库时遇到了网络错误。这可能是由于网络连接不稳定或Wandb服务器暂时不可用引起的。
您可以尝试以下几种方法来解决此问题:
1. 检查您的网络连接是否正常,并确保能够访问互联网。如果您的网络连接存在问题,请尝试重新连接或更换网络环境。
2. 等待一段时间后重试。有时候Wandb服务器可能会出现暂时的问题,等待一段时间后再次运行代码可能会解决问题。
3. 如果问题仍然存在,您可以尝试使用 `wandb offline` 命令将同步模式设置为离线模式,以避免与Wandb服务器进行实时同步。这样可以确保您的运行数据被保存在本地,并稍后再进行同步。
如果问题仍然持续存在,请参考Wandb官方文档或联系Wandb的支持团队以获取更多帮助和支持。
希望这些信息对您有所帮助!如果您还有其他问题,请随时提问。
相关问题
wandb: Currently logged in as: anony-mouse-584351. Use `wandb login --relogin` to force relogin wandb: wandb version 0.15.3 is available! To upgrade, please run: wandb: $ pip install wandb --upgrade wandb: Tracking run with wandb version 0.12.21 wandb: Run data is saved locally in /kaggle/working/yolov7/wandb/run-20230601_125414-1jenk8d0 wandb: Run `wandb offline` to turn off syncing. wandb: Syncing run run12 wandb: ⭐️ View project at https://wandb.ai/anony-mouse-584351/yolov7-tiny?apiKey=323c78e6a061c91ed778f8bd6fc310953f397638 wandb: 🚀 View run at https://wandb.ai/anony-mouse-584351/yolov7-tiny/runs/1jenk8d0?apiKey=323c78e6a061c91ed778f8bd6fc310953f397638 wandb: WARNING Do NOT share these links with anyone. They can be used to claim your runs. /opt/conda/lib/python3.7/site-packages/torch/functional.py:568: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at /usr/local/src/pytorch/aten/src/ATen/native/TensorShape.cpp:2227.) return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined] WARNING: Dataset not found, nonexistent paths: ['/kaggle/working/yolov7/noduleyolov1iyolov7pytorch/valid/images'] Traceback (most recent call last): File "yolov7/train.py", line 616, in <module> train(hyp, opt, device, tb_writer) File "yolov7/train.py", line 97, in train check_dataset(data_dict) # check File "/kaggle/working/yolov7/yolov7/utils/general.py", line 173, in check_dataset raise Exception('Dataset not found.') Exception: Dataset not found. wandb: Waiting for W&B process to finish... (failed 1). Press Control-C to abort syncing. wandb: wandb: Synced run12: https://wandb.ai/anony-mouse-584351/yolov7-tiny/runs/1jenk8d0?apiKey=323c78e6a061c91ed778f8bd6fc310953f397638 wandb: Synced 5 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s) wandb: Find logs at: ./wandb/run-20230601_125414-1jenk8d0/logs
这段信息看起来像是由Wandb库生成的训练日志。首先,它提示你当前登录的帐户是“anony-mouse-584351”,并提供了升级Wandb库的信息。然后它显示了正在追踪的运行信息,包括运行的本地保存路径和Wandb项目和运行的URL链接。它还提供了警告,防止别人使用这些链接来访问或声明您的运行。最后,它显示了一个异常,指出找不到数据集。可能需要检查数据集路径或确保数据集已正确加载。
wandb: Currently logged in as: 470749941. Use `wandb login --relogin` to force relogin wandb: Tracking run with wandb version 0.15.5 wandb: Run data is saved locally in /home/zhangmengjie/PID/Python/ERL-Re2-main/wandb/run-20230721_165552-b5nwvm2m wandb: Run `wandb offline` to turn off syncing. wandb: Syncing run Steps_200_theta_0.5_eval_1_rs_prob_0.05_frac_p_0.7_our_M_1_0.2_1_5_1.0_64_noise_0.2_Pavn_detach_False_1.0_actorloss_MI_sa_s_0.0_random_K_1_Ant-v2_0.005 wandb: ⭐️ View project at https://wandb.ai/470749941/TSR wandb: 🚀 View run at https://wandb.ai/470749941/TSR/runs/b5nwvm2m /home/zhangmengjie/anaconda3/envs/torch1/lib/python3.7/site-packages/gym/envs/registration.py:556: UserWarning: [33mWARN: The environment Ant-v2 is out of date. You should consider upgrading to version `v4`.[0m f"The environment {id} is out of date. You should consider " Error compiling Cython file: ------------------------------------------------------------ ... See c_warning_callback, which is the C wrapper to the user defined function ''' global py_warning_callback global mju_user_warning py_warning_callback = warn mju_user_warning = c_warning_callback ^ ------------------------------------------------------------ /home/zhangmengjie/anaconda3/envs/torch1/lib/python3.7/site-packages/mujoco_py/cymj.pyx:92:23: Cannot assign type 'void (const char *) except * nogil' to 'void (*)(const char *) noexcept nogil' Error compiling Cython file: ------------------------------------------------------------ ... See c_warning_callback, which is the C wrapper to the user defined function ''' global py_error_callback global mju_user_error py_error_callback = err_callback mju_user_error = c_error_callback ^ ------------------------------------------------------------ /home/zhangmengjie/anaconda3/envs/torch1/lib/python3.7/site-packages/mujoco_py/cymj.pyx:127:21: Cannot assign type 'void (const char *) except * nogil' to 'void (*)(const char *) noexcept nogil' Compiling /home/zhangmengjie/anaconda3/envs/torch1/lib/python3.7/site-packages/mujoco_py/cymj.pyx because it changed. [1/1] Cythonizing /home/zhangmengjie/anaconda3/envs/torch1/lib/python3.7/site-packages/mujoco_py/cymj.pyx wandb: Waiting for W&B process to finish... (failed 1). Press Control-C to abort syncing. wandb: Network error (TransientError), entering retry loop. wandb: Network error (TransientError), entering retry loop.
根据错误信息,您在使用Wandb库时遇到了网络错误。这可能是由于网络连接不稳定或Wandb服务器暂时不可用引起的。
您可以尝试以下几种方法来解决此问题:
1. 检查您的网络连接是否正常,并确保能够访问互联网。如果您的网络连接存在问题,请尝试重新连接或更换网络环境。
2. 等待一段时间后重试。有时候Wandb服务器可能会出现暂时的问题,等待一段时间后再次运行代码可能会解决问题。
3. 如果问题仍然存在,您可以尝试使用 `wandb offline` 命令将同步模式设置为离线模式,以避免与Wandb服务器进行实时同步。这样可以确保您的运行数据被保存在本地,并稍后再进行同步。
如果问题仍然持续存在,请参考Wandb官方文档或联系Wandb的支持团队以获取更多帮助和支持。
希望这些信息对您有所帮助!如果您还有其他问题,请随时提问。
阅读全文