Comments (5)
Hi,
For Q1: Did you include --config.eval.save_images
flag in your comment? If so, the dataset wouldn't be loaded.
For Q2: Thanks for pointing out the issue. I've removed it in the repo. The argument data_dir
is the path to store the data. Previously I used the path on my server. Please specify the path on your server, or by default it will be saved to TFDS_DATA_DIR
.
Yilun
from poisson_flow.
Hi,
It seems that you enable config.eval.enable_loss
in the config file. In this case, please either disable config.eval.enable_loss
, or remove the --config.eval.save_images
flag.
from poisson_flow.
Yes, I include --config.eval.save_images
flag.
python3 main.py --config ./configs/poisson/bedroom_ddpmpp.py --mode eval --workdir poisson/bedroom_ddpmpp --config.eval.enable_sampling --config.eval.save_images --config.eval.batch_size 100
The error is still as following:
Traceback (most recent call last):
File "/home/xjtu/code/Poisson_flow/main.py", line 60, in <module>
app.run(main)
File "/home/xjtu/anaconda3/envs/sde/lib/python3.9/site-packages/absl/app.py", line 308, in run
_run_main(main, args)
File "/home/xjtu/anaconda3/envs/sde/lib/python3.9/site-packages/absl/app.py", line 254, in _run_main
sys.exit(main(argv))
File "/home/xjtu/code/Poisson_flow/main.py", line 54, in main
run_lib.evaluate(FLAGS.config, FLAGS.workdir, FLAGS.eval_folder)
File "/home/xjtu/code/Poisson_flow/run_lib.py", line 345, in evaluate
eval_iter = iter(eval_ds) # pytype: disable=wrong-arg-types
UnboundLocalError: local variable 'eval_ds' referenced before assignment
from poisson_flow.
I used your original config file first. As you said, I disable config.eval.enable_loss
and it goes right.
Thank u again!
from poisson_flow.
Sounds good! Thanks for pointing it out. I also set the default config.eval.enable_loss
to False
in current repo.
from poisson_flow.
Related Issues (13)
- ImportError: cannot import name 'ddpm' from 'models' HOT 3
- Error running after environment is configured on the server HOT 1
- Question with inferencing stage HOT 2
- Request for a Talk on Poisson Flow Generative Models HOT 1
- A question about predicting "z"
- CalledProcessError HOT 3
- Could not find a version that satisfies the requirement absl==0.0 HOT 1
- Steps I had to take in order to run this project on my machine locally HOT 5
- ImportError: This version of TensorFlow Probability requires TensorFlow version >= 2.10; Detected an installation of version 2.9.0. Please upgrade TensorFlow to proceed. HOT 4
- upfirdn2d_op = load( "upfirdn2d", sources=[ os.path.join(module_path, "upfirdn2d.cpp"), os.path.join(module_path, "upfirdn2d_kernel.cu"), ], ) HOT 4
- Hyper prarameters, l1 norm or l2 norm? HOT 1
- How to set hyperparameter like gamma, sigma_end etc.? HOT 2
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 poisson_flow.