zhangxiaoyu11 / OmiEmbed

Multi-task deep learning framework for multi-omics data analysis
MIT License
41 stars 20 forks source link

Code Minor fixes #5

Open daniocionini opened 2 years ago

daniocionini commented 2 years ago

Modified code at 206 of _basicparams.py as usage of torch.cud.set_device(device) is discouraged in favor of torch.cuda.device(device) https://pytorch.org/docs/stable/generated/torch.cuda.set_device.html

Minor fix to the requirements.txt doc. PyTorch CUDA wont run if the graphics card isn't listed as one of those https://en.wikipedia.org/wiki/CUDA#GPUs_supported