Comments (6)
The loss.pt file is in the save folder of the experiment dir.
from transenet.
experimen
But there is no loss.pt in my experiment dir. How is loss.pt generated and saved in the experiment directory?
from transenet.
When you use this code to train on a scale factor of x4, the save folder 'TRANSENETx4_UCMerced' will be generated in the experiment directory:
python demo_train.py --model=TRANSENET --dataset=UCMerced --scale=4 --patch_size=192 --ext=img --save=TRANSENETx4_UCMerced
And the loss.pt will be saved in the 'TRANSENETx4_UCMerced' folder during training. The save code is at trainer.loss.save(self.dir)
This is the content in my generated folder here:
from transenet.
But when I run it as you did, it shows ImportError: DLL load failed while importing ft2font: 找不到指定的模块。Are there any other directories in the code that need to be modified?
from transenet.
Please tell me how to solve the error einops.EinopsError: Error while processing rearrange-reduction pattern "b (h w) (p1 p2 c) -> b c (h p1) (w p2)".
Input tensor shape: torch.Size([16, 1024, 1024]). Additional info: {'h': 24, 'p1': 8, 'p2': 8}.
Shape mismatch, can't divide axis of length 1024 in chunks of 24 after running halfway
from transenet.
Please tell me how to solve the error einops.EinopsError: Error while processing rearrange-reduction pattern "b (h w) (p1 p2 c) -> b c (h p1) (w p2)". Input tensor shape: torch.Size([16, 1024, 1024]). Additional info: {'h': 24, 'p1': 8, 'p2': 8}. Shape mismatch, can't divide axis of length 1024 in chunks of 24 after running halfway
It is suggested to check the shape of input when using rearrange function.
from transenet.
Related Issues (18)
- How aboyt the training coding HOT 2
- 代码中缺少需要的函数 HOT 1
- 请教文件中的步骤
- Dataset used in the paper HOT 1
- 关于LR/HR影像对 HOT 2
- AID数据集
- Number of model parameters HOT 3
- 关于train AID数据集的rgb_mean和rgb_std HOT 2
- 有关PSNR和SSIM值的问题 HOT 1
- 视觉效果对比图 HOT 6
- 视觉效果对比图的裁剪区域大小 HOT 2
- About Pretrained models HOT 1
- Ucmerd数据集 HOT 4
- why are there checkerboard artifacts in the SR image? HOT 1
- 关于分类后的数据集 HOT 5
- 使用AID数据集,设置patchsize为256,scale为4 HOT 1
- 测试图片出现严重伪影现象
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transenet.