logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

小白上传文件至github过程中的一通操作猛如虎

问题:为了能用colab跑一个代码,在不把数据集放在Google drive的前提下,应该怎么办?把数据集放到github上,然后在colab上下载该数据集使用。遇到的问题:右键没有出现git bash here; 解决:https://blog.csdn.net/weixin_42357048/article/details/80533571设置上面问题的时候,又出现本地没有安装git的问题,所

#git#python
Solving environment: failed with initial frozen solve. Retrying with flexible solve.错误

报错出错原因:PackagesNotFoundError: The following packages are not available from current channels:https://blog.csdn.net/The_Time_Runner/article/details/99848728虽然没有彻底解决问题,但是可以暂且用一下。但是直接用pip安装版本问题很多。能不用尽...

#tensorflow#python
pytorch:Expected input batch_size (1) to match target batch_size (2)

使用pytorch搭建网络模型时,报错 :Expected input batch_size (1) to match target batch_size (2)报错位置是在求loss时报错原因:网络的输出层结果不匹配测试过程:RuntimeError: 1only batches of spatial targets supported but got targets of size : : x

#python
pytorch如何在预训练过的模型上继续训练?

1.场景一:直接训练了模型20次,发现loss还没有收敛,想要继续在20的基础上继续训练处理方案:target_model = target_net().to(device)checkpoint = torch.load('./xxx.pth')target_model.load_state_dict(checkpoint)这样就把原来已经训练20次的xxx.pth模型重新加载了。保存模型的方法:

#pytorch
暂无文章信息