Closed braceal closed 2 years ago
Describe the bug Import fails if torch is not installed
--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) Input In [9], in <cell line: 1>() ----> 1 from mdlearn.utils import plot_scatter File env/lib/python3.9/site-packages/mdlearn/utils.py:4, in <module> 2 import json 3 import yaml ----> 4 import torch 5 import wandb 6 import argparse ModuleNotFoundError: No module named 'torch'
To Reproduce Steps to reproduce the behavior:
pip install mdlearn
from mdlearn.utils import plot_scatter
Describe the bug Import fails if torch is not installed
To Reproduce Steps to reproduce the behavior:
pip install mdlearn
from mdlearn.utils import plot_scatter