Skip to content
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

Something about your projects #1

Open
emiald opened this issue Jun 14, 2023 · 0 comments
Open

Something about your projects #1

emiald opened this issue Jun 14, 2023 · 0 comments

Comments

@emiald
Copy link

emiald commented Jun 14, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant