[_get_plugin()] Lock file exists in build directory

问题:[_get_plugin()] Lock file exists in build directory: '/home/wanglin/.cache/torch_extensions/py39_cu121/nvdiffrast_plugin/lock'

如果你不是首次运行,且一直卡住,说明这个锁可能是 “僵尸锁” —— 上次编译崩溃后残留的,需要手动删除

解决:

rm /home/wanglin/.cache/torch_extensions/py39_cu121/nvdiffrast_plugin/lock

(foundationpose) root@localhost:/mnt/e/wsl/foundationpose-main# python run_demo.py /root/anaconda3/envs/foundationpose/lib/python3.9/site-packages/torch/utils/cpp_extension.py:25: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81. from pkg_resources import packaging # type: ignore[attr-defined] Warp 1.0.2 initialized: CUDA Toolkit 11.5, Driver 12.6 Devices: "cpu" : "x86_64" "cuda:0" : "NVIDIA GeForce RTX 2070 SUPER" (8 GiB, sm_75, mempool enabled) Kernel cache: /root/.cache/warp/1.0.2 [__init__()] self.cfg: lr: 0.0001 c_in: 6 zfar: 'Infinity' debug: null n_view: 1 run_id: 3wy8qqex use_BN: true exp_name: 2024-01-11-20-02-45 n_epochs: 62 save_dir: /home/bowenw/debug/2024-01-11-20-02-45/ use_mask: false loss_type: pairwise_valid optimizer: adam batch_size: 64 crop_ratio: 1.1 enable_amp: true use_normal: false max_num_key: null warmup_step: -1 input_resize: - 160 - 160 max_step_val: 1000 vis_interval: 1000 weight_decay: 0 normalize_xyz: true resume_run_id: null clip_grad_norm: 'Infinity' lr_epoch_decay: 500 render_backend: nvdiffrast train_num_pair: 5 lr_decay_epochs: - 50 n_epochs_warmup: 1 make_pair_online: false gradient_max_norm: 'Infinity' max_step_per_epoch: 10000 n_rendering_workers: 1 save_epoch_interval: 100 n_dataloader_workers: 100 split_objects_across_gpus: true ckpt_dir: /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2024-01-11-20-02-45/model_best.pth [__init__()] self.h5_file:None [__init__()] Using pretrained model from /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2024-01-11-20-02-45/model_best.pth [__init__()] init done [__init__()] welcome [__init__()] self.cfg: lr: 0.0001 c_in: 6 zfar: .inf debug: null w_rot: 0.1 n_view: 1 run_id: null use_BN: true rot_rep: axis_angle ckpt_dir: /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2023-10-28-18-33-37/model_best.pth exp_name: 2023-10-28-18-33-37 save_dir: /tmp/2023-10-28-18-33-37/ loss_type: l2 optimizer: adam trans_rep: tracknet batch_size: 64 crop_ratio: 1.2 use_normal: false BN_momentum: 0.1 max_num_key: null warmup_step: -1 input_resize: - 160 - 160 max_step_val: 1000 normal_uint8: false vis_interval: 1000 weight_decay: 0 n_max_objects: null normalize_xyz: true clip_grad_norm: 'Infinity' rot_normalizer: 0.3490658503988659 trans_normalizer: - 0.019999999552965164 - 0.019999999552965164 - 0.05000000074505806 max_step_per_epoch: 25000 val_epoch_interval: 10 n_dataloader_workers: 60 enable_amp: true use_mask: false [__init__()] self.h5_file: [__init__()] Using pretrained model from /mnt/e/wsl/foundationpose-main/learning/training/../../weights/2023-10-28-18-33-37/model_best.pth [__init__()] init done [_get_plugin()] Lock file exists in build directory: '/root/.cache/torch_extensions/py39_cu117/nvdiffrast_plugin/lock'
07-28
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值