ljh0v0 / d3pm-pytorch Goto Github PK
View Code? Open in Web Editor NEWUnofficial PyTorch implementation of Discrete Denoising Diffusion Probabilistic Model(D3PM)
Unofficial PyTorch implementation of Discrete Denoising Diffusion Probabilistic Model(D3PM)
/usr/lib/python3/dist-packages/requests/init.py:89: RequestsDependencyWarning: urllib3 (2.0.3) or chardet (3.0.4) doesn't match a supported version!
warnings.warn("urllib3 ({}) or chardet ({}) doesn't match a supported "
2023-06-15 11:20:10.232 | INFO | diffusion_categorical:init:105 - [compute transition matrix]: gaussian
2023-06-15 11:20:25.947 | INFO | diffusion_categorical:init:125 - [trainsition matrix]: torch.Size([1000, 256, 256])
2023-06-15 11:20:25.947 | INFO | diffusion_categorical:init:128 - [Construct transition matrices for q(x_t|x_start)]
2023-06-15 11:20:26.259 | INFO | diffusion_categorical:init:140 - [tilde(Q)t]: torch.Size([1000, 256, 256])
CometLogger will be initialized in offline mode
GPU available: True (cuda), used: True
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
Traceback (most recent call last):
File "main.py", line 256, in
trainer.fit(d3pm, ckpt_path=args.resume)
File "/home/zhz/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 531, in fit
call._call_and_handle_interrupt(
File "/home/zhz/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/call.py", line 41, in _call_and_handle_interrupt
return trainer.strategy.launcher.launch(trainer_fn, *args, trainer=trainer, **kwargs)
File "/home/zhz/.local/lib/python3.8/site-packages/pytorch_lightning/strategies/launchers/subprocess_script.py", line 91, in launch
return function(*args, **kwargs)
File "/home/zhz/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 570, in _fit_impl
self._run(model, ckpt_path=ckpt_path)
File "/home/zhz/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/trainer.py", line 923, in _run
_verify_loop_configurations(self)
File "/home/zhz/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/configuration_validator.py", line 36, in _verify_loop_configurations
__verify_train_val_loop_configuration(trainer, model)
File "/home/zhz/.local/lib/python3.8/site-packages/pytorch_lightning/trainer/configuration_validator.py", line 84, in __verify_train_val_loop_configuration
raise NotImplementedError(
NotImplementedError: Support for validation_epoch_end
has been removed in v2.0.0. DiffusionModel
implements this method. You can use the on_validation_epoch_end
hook instead. To access outputs, save them in-memory as instance attributes. You can find migration examples in Lightning-AI/pytorch-lightning#16520.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.