gujiuxiang / MIL.pytorch

PyTorch implementation of Multiple-instance learning
117 stars 29 forks source link

ImportError: No module named Image #2

Open MaxwellRebo opened 6 years ago

MaxwellRebo commented 6 years ago
File "test.py", line 12, in <module>
    import Image
ImportError: No module named Image

Using Python 2.7, attempting to import Image directly gives an ImportError as above. Doing

from PIL import Image

seems to work. Perhaps this should be changed in test.py?

gujiuxiang commented 6 years ago

Thanks for your suggestion, I will have a look at this issue.