-
Notifications
You must be signed in to change notification settings - Fork 2
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
通过预训练权重推理图片进行超分 #5
Comments
上述问题已解决,模型输入似乎只能是4848,4倍超分输出是192192。这输入似乎是固定的? |
你好,请问有提供模型的权重参数吗?我打开huggingface链接解压出来里面只有一个data.pkl,似乎没有UC_FunSR_RDN.pth文件? |
非常感谢您的回复,我在前面README里的【5. [optional] Model Download】看到了这个链接,下载之后解压出来里面的文件结构是这样的,没有UC_FunSR_RDN.pth权重文件 |
你好,ulits模块中没有找到对rgb2ycbcr_pt函数的定义
|
|
我已参考 https://huggingface.co/spaces/KyanChen/FunSR/blob/main/App_main.py 中的sr_func函数,打算对其他遥感数据集进行超分,但是得到的结果似乎是字典形式:{'encoder_spec': {'name': 'rdn', 'args': {'no_upsampling': True}}, 'has_multiscale': True, 'neck': {'name': 'transformer_neck', 'args': {'d_dim': 256, 'downsample': True, 'has_pe': True, 'has_norm': True, 'class_token': True, 'num_encoder_layers': 3}}, 'decoder': {'name': 'sirens', 'args': {'num_inner_layers': 5, 'is_residual': True}}, 'global_decoder': {'name': 'sirens', 'is_proj': True, 'args': {'num_inner_layers': 5, 'is_residual': True}}, 'encoder_rgb': True, 'n_forward_times': 1, 'encode_hr_coord': True, 'has_bn': True, 'encode_scale_ratio': True, 'local_unfold': False, 'weight_gen_func': 'bicubic'},而我期望得到超分后的图像,我该怎么做?应该通过tools文件夹下的某个可视化脚本吗?
The text was updated successfully, but these errors were encountered: