-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FileNotFound? #3
Comments
I have the same issue :( |
I am currently also trying to set this up. I'm not fully finished, but I think I can answer this issue. Have a look at Now that you have these json files, you see that they are called I have not yet got it to work fully / tested it fully, but this is how I'm doing it: create_data_lists.py: from utils import create_data_lists
if __name__ == '__main__':
create_data_lists(train_folders=[
'/cluster/home/minker/mf6/train/'
],
test_folders=[
'/cluster/home/minker/mf6/eval'
],
min_size=100,
output_folder='./') eval.py (begin): from datasets import SRDataset
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
# Data
data_folder = "./"
test_data_names = ["eval"] |
from utils import create_data_lists if name == 'main': 对应的test下,不应该是包括低分辩和高分辨两组图像吗? |
File "C:\Users\The Computer\PycharmProjects\a-PyTorch-Tutorial-to-Super-Resolution-master\datasets.py", line 49, in init
with open(os.path.join(data_folder, self.test_data_name + '_test_images.json'), 'r') as j:
FileNotFoundError: [Errno 2] No such file or directory: './Set5_test_images.json'
The text was updated successfully, but these errors were encountered: