nagejacob / SpatiallyAdaptiveSSID

Spatially Adaptive Self-Supervised Learning for Real-World Image Denoising (CVPR 2023)
GNU General Public License v3.0
86 stars 7 forks source link

May I ask why my computer showed me "ModuleNotFoundError: No module named 'dataset'" when I run DND_sRGB.py? #8

Open guagua-prince opened 6 months ago

guagua-prince commented 6 months ago

May I ask why my computer showed me "ModuleNotFoundError: No module named 'dataset'" when I run DND_sRGB.py?

nagejacob commented 6 months ago

When you run DND_sRGB.py, dataset is the parent directory which is not searched in PYTHONPATH. You can add import sys sys.path.append('..') in the beginning of DND_sRGB.py to avoid this error.