【无标题】全是错误

文章描述了一次测试过程中遇到的问题,涉及`test.py`中第104行的`test`函数,因`dataset_path`缺失和`best_proto_ped2.tar`文件非UTF-8编码导致PyTorchStreamReader在尝试读取时出错。还提及了使用`condainstallm2-base`进行可能的环境安装。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

test setup failed
file E:\研一\after10.20\boosting\VADNet-main\VADNet-main\test.py, line 104
  def test(dataset_path, k_shot, num_pred,t_idx):
E       fixture 'dataset_path' not found
>       available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory
>       use 'pytest --fixtures [testpath]' for help on them.

bash:conda install m2-base

File Load Error for best_proto_ped2.tar

/home/featurize/best_proto_ped2.tar is not UTF-8 encoded

RuntimeError: PytorchStreamReader failed reading zip archive: failed finding central directory

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值