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

Interpretation error in TensorFlow #176

Open
pdeperio opened this issue Dec 12, 2017 · 4 comments
Open

Interpretation error in TensorFlow #176

pdeperio opened this issue Dec 12, 2017 · 4 comments
Assignees

Comments

@pdeperio
Copy link
Contributor

When testing new PositionReconstruction treemaker in newpatternlikelihood branch:

git clone https://github.com/XENON1T/hax.git
cd hax
git checkout newpatternlikelihood
source activate pax_head
python setup.py develop --user
export PATH=~/.local/bin:$PATH

haxer --main_data_paths /project2/lgrandi/xenon1t/processed/pax_v6.8.0 --input 171205_0400 --pax_version_policy v6.8.0 --treemakers PositionReconstruction --force_reload

get the following error:

  File "/project/lgrandi/anaconda3/envs/pax_head/lib/python3.4/site-packages/tensorflow/python/client/session.py", line 1067, in _run
    + e.args[0])
dask.async.TypeError: Cannot interpret feed_dict key as Tensor: Tensor Tensor("Placeholder_2:0", shape=(112, 100), dtype=float32) is not an element of this graph.
@tunnell
Copy link
Member

tunnell commented Dec 12, 2017

This is really implementation specific. Different TensorFlow versions?

@feigaodm
Copy link
Member

feigaodm commented Dec 12, 2017

Tensorflow versions are different, I can try to use same version.

@pdeperio
Copy link
Contributor Author

Just realized it works fine if we don't use --force_reload, which seems to want to generate the minitree twice, and fails on the second time. So hints towards an issue in initialization, rather than TF itself.

@feigaodm
Copy link
Member

force_reload also introduces erros in notebook, without it, I generated the minitrees for 100 background files and it's fine. Sometimes minitrees failed to be generated, but can be regenerated if rerun. This is probably related to the mysterious problem in hax we saw long time ago, but it could be another one.

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

4 participants