Comments (11)
Thank you for sharing!
from udr-s2former_deraining.
Hi! I have found one possible solution. The problem may come from the configuration of using TensorBoardLogger
in main.py
.
The original version (L31-L32, L226) is:
from pytorch_lightning.loggers import WandbLogger,TensorBoardLogger
logger = TensorBoardLogger(r'tb_logs', name='udrs2former')
trainer_defaults = {'devices':[1,2,3],'callbacks':[checkpoint_callback,lr_monitor],'logger':logger}
The first block may be removed and the second can be altered as follows:
train_defaults = {
# configs of device and callbacks goes here...
'logger': {
'class_path': 'lightning.pytorch.loggers.TensorBoardLogger',
'init_args': {
'save_dir': 'tb_logs',
'name': 'udrs2former'
}
}
}
from udr-s2former_deraining.
This may be caused by the updated version. This is indeed a good solution. Thank you.
from udr-s2former_deraining.
Hi, we train our model by PyTorch-lightning 1.8.0 previously, but I tested my model in latest version of PyTorch-lightning (v2.x) before I release my code. I think it's ok to use this code. Could you share your problems encountered?
from udr-s2former_deraining.
Thanks for your reply! I have run the code successfully after I commented the 'logger': logger
in https://github.com/Ephemeral182/UDR-S2Former_deraining/blob/main/train.py#L226.
Before that, the problem is shown as the following screenshot:
from udr-s2former_deraining.
Hello, I have the same problem, and when I change the logger, I have another problem, can you please see it? thanks!
from udr-s2former_deraining.
你好,请问你解决了这个问题了吗?
from udr-s2former_deraining.
没有~
from udr-s2former_deraining.
没有~
我也是这个问题,我打算降一下pytorch版本了
from udr-s2former_deraining.
可以试试~
from udr-s2former_deraining.
可以试试~
Hello, I have the same problem, and when I change the logger, I have another problem, can you please see it? thanks!
感觉2.x版本的lightning的话,可以试试用jsonargparse里的lazyinstance类包裹一下TensorBoardLogger
from udr-s2former_deraining.
Related Issues (9)
- Cannot find UDR_S2Former.py file. HOT 1
- GPU and Time HOT 2
- visualizing uncertainty graphs HOT 1
- Regarding the issue with testing HOT 7
- training on .pth files HOT 4
- the spelling of the results is wrong HOT 1
- Training loop HOT 2
- Pre-trained models 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 udr-s2former_deraining.