HenriquesLab / HenriquesLab/ZeroCostDL4Mic
EmpedSeg: requested version for torch and torchvision not found, with different versions type error while training
@esgomezm is already working on this.
Since Jan 17, 2024.
- Dominant language
- Jupyter Notebook
- Stars
- 652
- Forks
- 144
- PR merge metrics
- No merged PRs in 30d
Description
In section 1.1. Install key dependencies the requested versions for torch (1.5.1) and torchvision (0.6.1) are not found, so I installed the packages without version requirement (ended up with torch 2.1.2 and torchvision 0.16.2).
In section 4.2. Start Training I got following error:
TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
I guess it might be related to the different torch version...
Everything else was running as expected (skipped sections 3.2 and 3.3).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.