You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First appreciate your contributions.I meet the following problems.
The pytorch-lightning version is 1.7.7
Traceback (most recent call last):
File "/media/gw/文档/NeRF/instant-NeuS/launch.py", line 123, in
main()
File "/media/gw/文档/NeRF/instant-NeuS/launch.py", line 112, in main
trainer.fit(system, datamodule=dm)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 696, in fit
self._call_and_handle_interrupt(
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 648, in _call_and_handle_interrupt
return self.strategy.launcher.launch(trainer_fn, *args, trainer=self, **kwargs)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/strategies/launchers/subprocess_script.py", line 93, in launch
return function(*args, **kwargs)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 735, in _fit_impl
results = self._run(model, ckpt_path=self.ckpt_path)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1147, in _run
self.strategy.setup(self)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/strategies/ddp.py", line 184, in setup
self.setup_optimizers(trainer)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/strategies/strategy.py", line 141, in setup_optimizers
self.optimizers, self.lr_scheduler_configs, self.optimizer_frequencies = _init_optimizers_and_lr_schedulers(
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/core/optimizer.py", line 194, in _init_optimizers_and_lr_schedulers
_validate_scheduler_api(lr_scheduler_configs, model)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/core/optimizer.py", line 351, in _validate_scheduler_api
raise MisconfigurationException(
pytorch_lightning.utilities.exceptions.MisconfigurationException: The provided lr scheduler ExponentialLR doesn't follow PyTorch's LRScheduler API. You should override the LightningModule.lr_scheduler_step hook with your own logic if you are using a custom LR scheduler.
The text was updated successfully, but these errors were encountered:
First appreciate your contributions.I meet the following problems.
The pytorch-lightning version is 1.7.7
Traceback (most recent call last):
File "/media/gw/文档/NeRF/instant-NeuS/launch.py", line 123, in
main()
File "/media/gw/文档/NeRF/instant-NeuS/launch.py", line 112, in main
trainer.fit(system, datamodule=dm)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 696, in fit
self._call_and_handle_interrupt(
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 648, in _call_and_handle_interrupt
return self.strategy.launcher.launch(trainer_fn, *args, trainer=self, **kwargs)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/strategies/launchers/subprocess_script.py", line 93, in launch
return function(*args, **kwargs)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 735, in _fit_impl
results = self._run(model, ckpt_path=self.ckpt_path)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 1147, in _run
self.strategy.setup(self)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/strategies/ddp.py", line 184, in setup
self.setup_optimizers(trainer)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/strategies/strategy.py", line 141, in setup_optimizers
self.optimizers, self.lr_scheduler_configs, self.optimizer_frequencies = _init_optimizers_and_lr_schedulers(
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/core/optimizer.py", line 194, in _init_optimizers_and_lr_schedulers
_validate_scheduler_api(lr_scheduler_configs, model)
File "/home/gw/anaconda3/envs/k-planes/lib/python3.8/site-packages/pytorch_lightning/core/optimizer.py", line 351, in _validate_scheduler_api
raise MisconfigurationException(
pytorch_lightning.utilities.exceptions.MisconfigurationException: The provided lr scheduler
ExponentialLR
doesn't follow PyTorch's LRScheduler API. You should override theLightningModule.lr_scheduler_step
hook with your own logic if you are using a custom LR scheduler.The text was updated successfully, but these errors were encountered: