You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting train neural network... 100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 100/100 [01:19<00:00, 1.25it/s] Training time: 79.83818292617798 Traceback (most recent call last): File "src/scFEA.py", line 370, in <module> main(args) File "src/scFEA.py", line 299, in main fluxStatuTest[i, :] = out_m_batch.detach().numpy() TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
#59
Open
seekning opened this issue
Jun 30, 2024
· 4 comments
sorry. when i running at this part :
Starting train neural network...
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 100/100 [01:19<00:00, 1.25it/s]
Training time: 79.83818292617798
Traceback (most recent call last):
File "src/scFEA.py", line 370, in
main(args)
File "src/scFEA.py", line 299, in main
fluxStatuTest[i, :] = out_m_batch.detach().numpy()
TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
how could i slove this bug ,holp for your request.
The text was updated successfully, but these errors were encountered:
Hello, I met many issues when I tried to build a conda environment for scFEA, most of them are issues related to package version. Can I see your conda environment with package version?
Hello, I met many issues when I tried to build a conda environment for scFEA, most of them are issues related to package version. Can I see your conda environment with package version?
My conda environment is composed of the following packages:
sorry. when i running at this part :
Starting train neural network...
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 100/100 [01:19<00:00, 1.25it/s]
Training time: 79.83818292617798
Traceback (most recent call last):
File "src/scFEA.py", line 370, in
main(args)
File "src/scFEA.py", line 299, in main
fluxStatuTest[i, :] = out_m_batch.detach().numpy()
TypeError: can't convert cuda:0 device type tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.
how could i slove this bug ,holp for your request.
The text was updated successfully, but these errors were encountered: