Comments (8)
Did you solve this problem?I'm also having this issue
from esrt.
from esrt.
RuntimeError Traceback (most recent call last) e:\esrt\train.py in 244 epoch_start = datetime.datetime.now() 245 valid(args.scale) --> 246 train(epoch) 247 if epoch%10==0: 248 save_checkpoint(epoch)
e:\esrt\train.py in train(epoch) 131 utils.adjust_learning_rate(optimizer, epoch, args.step_size, args.lr, args.gamma) 132 print('epoch =', epoch, 'lr = ', optimizer.param_groups[0]['lr']) --> 133 for iteration, (lr_tensor, hr_tensor) in enumerate(training_data_loader, 1): 134 135 if args.cuda:
C:\ProgramData\Anaconda3\envs\ESRT\lib\site-packages\torch\utils\data\dataloader.py in next(self) 519 if self._sampler_iter is None: 520 self._reset() --> 521 data = self._next_data() 522 self._num_yielded += 1 523 if self._dataset_kind == _DatasetKind.Iterable and \
C:\ProgramData\Anaconda3\envs\ESRT\lib\site-packages\torch\utils\data\dataloader.py in _next_data(self) 1184 1185 assert not self._shutdown and self._tasks_outstanding > 0 -> 1186 idx, data = self._get_data() 1187 self._tasks_outstanding -= 1 1188 if self._dataset_kind == _DatasetKind.Iterable:
C:\ProgramData\Anaconda3\envs\ESRT\lib\site-packages\torch\utils\data\dataloader.py in _get_data(self) 1150 else: 1151 while True: -> 1152 success, data = self._try_get_data() 1153 if success: 1154 return data
C:\ProgramData\Anaconda3\envs\ESRT\lib\site-packages\torch\utils\data\dataloader.py in _try_get_data(self, timeout) 1001 if len(failed_workers) > 0: 1002 pids_str = ', '.join(str(w.pid) for w in failed_workers) -> 1003 raise RuntimeError('DataLoader worker (pid(s) {}) exited unexpectedly'.format(pids_str)) from e 1004 if isinstance(e, queue.Empty): 1005 return (False, None)
RuntimeError: DataLoader worker (pid(s) 9504, 11496, 19564, 12924, 14856, 1256, 20244, 7752) exited unexpectedly
kidly help to resolve this error. I am also not able to use GPU with the code
u can try to set the num_works zero,may be useful
from esrt.
from esrt.
set the num_works zero but still facing the same issue
from esrt.
RuntimeError Traceback (most recent call last) e:\esrt\train.py in 244 epoch_start = datetime.datetime.now() 245 valid(args.scale) --> 246 train(epoch) 247 if epoch%10==0: 248 save_checkpoint(epoch)
e:\esrt\train.py in train(epoch) 131 utils.adjust_learning_rate(optimizer, epoch, args.step_size, args.lr, args.gamma) 132 print('epoch =', epoch, 'lr = ', optimizer.param_groups[0]['lr']) --> 133 for iteration, (lr_tensor, hr_tensor) in enumerate(training_data_loader, 1): 134 135 if args.cuda:
C:\ProgramData\Anaconda3\envs\ESRT\lib\site-packages\torch\utils\data\dataloader.py in next(self) 519 if self._sampler_iter is None: 520 self._reset() --> 521 data = self._next_data() 522 self._num_yielded += 1 523 if self._dataset_kind == _DatasetKind.Iterable and
C:\ProgramData\Anaconda3\envs\ESRT\lib\site-packages\torch\utils\data\dataloader.py in _next_data(self) 1184 1185 assert not self._shutdown and self._tasks_outstanding > 0 -> 1186 idx, data = self._get_data() 1187 self._tasks_outstanding -= 1 1188 if self._dataset_kind == _DatasetKind.Iterable:
C:\ProgramData\Anaconda3\envs\ESRT\lib\site-packages\torch\utils\data\dataloader.py in _get_data(self) 1150 else: 1151 while True: -> 1152 success, data = self._try_get_data() 1153 if success: 1154 return data
C:\ProgramData\Anaconda3\envs\ESRT\lib\site-packages\torch\utils\data\dataloader.py in _try_get_data(self, timeout) 1001 if len(failed_workers) > 0: 1002 pids_str = ', '.join(str(w.pid) for w in failed_workers) -> 1003 raise RuntimeError('DataLoader worker (pid(s) {}) exited unexpectedly'.format(pids_str)) from e 1004 if isinstance(e, queue.Empty): 1005 return (False, None)
RuntimeError: DataLoader worker (pid(s) 9504, 11496, 19564, 12924, 14856, 1256, 20244, 7752) exited unexpectedly
kidly help to resolve this error. I am also not able to use GPU with the codeu can try to set the num_works zero,may be useful
set the num_works zero but still facing the same issue
from esrt.
set the num_works zero but still facing the same issue
parser.add_argument("--threads", type=int, default=0, #8
help="number of threads for data loading")
set this?
from esrt.
set all code into main.
you know, if name == 'main'
from esrt.
Related Issues (19)
- not find module "utils"
- Real SR ---training
- Hi
- Pretrained models HOT 3
- What is common.Scale(1) means? HOT 1
- file image.py not found HOT 1
- what is the difference between Feature Split (FS) in EMHA and window-attention? HOT 1
- Cannot reproduce the result in the paper. HOT 1
- "scale factor was wrong in my original version" problem
- error of psnr/ssim HOT 2
- where is the 'architecture' in folder model ? HOT 2
- none
- About the calculate Flops and GPU memory cost HOT 1
- Model weights used in paper
- High-frequency Filtering Module (HFM)相关代码 HOT 1
- Try adding MLABlock to my model
- ESRT in remote sensing SR HOT 5
- import issue from model import architecture, esrt 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 esrt.