Comments (4)
Hi, what's your output of the node list specifically?
from dh3d.
The link to the text file containing the node list is here (not posting directly as it's quite long)
This is the code I'm running to generate the node list:
with tf.Session(graph=tf.Graph()) as sess:
# Restore local model
loader = tf.compat.v1.train.import_meta_graph(
trained_checkpoint_prefix + ".meta"
)
loader.restore(sess, trained_checkpoint_prefix)
graph_def = tf.get_default_graph().as_graph_def()
# All nodes to list
node_list = [n.name for n in graph_def.node]
from dh3d.
Then "pointcloud" exists as a tensor instead of a node in the graph. That's why it does not appear in your node list.
It is not obvious to me what you are going to do with tf.Session
, but it's not a proper way to run inference with a model restored from the metagraph as said in this link.
In our evaluation scripts, we use OfflinePreditor
from tensorpack to do offline inference:
You can refer to its docs for details on how it builds a graph and creates a session, etc .
from dh3d.
I have read through the tensorpack docs and figured out how to export to SavedModel format, thank you for your help!
Here's the skeleton code if anyone reading this in the future would like to perform the same task.
pred_config = PredictConfig(
model=DH3D(config),
session_init=SmartInit(trained_checkpoint_prefix),
input_names=[
"pointclouds",
],
output_names=["xyz_feat", "xyz_feat_att"],
)
ModelExporter(pred_config).export_serving(export_dir)
from dh3d.
Related Issues (12)
- Monocular Relocalization HOT 1
- hello, I meet a problem.I use RTX4080,with docker and cuda10.1, tf1.9.0,and I meet the flowing issue: HOT 1
- Hello,It's a nice work,can the process of training be resumed?I meet the warning" If you want to resume old training, either use `AutoResumeTrainConfig` or correctly set the new starting_epoch yourself to avoid inconsistency.",But I don't know how to change the world
- local feature detector HOT 1
- what kind of graphics driver do you use? HOT 2
- Evaluation results are different from the paper HOT 2
- Change the number of input points HOT 2
- Question about model runtime and relocalization process HOT 1
- Why are there two separate models for local/global descriptor? HOT 5
- Error running code HOT 1
- Point Cloud Retrieval for DSO HOT 1
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 dh3d.