Skip to content

Is there anyway I can get the intermediate outputs and nodes information? #831

Closed Answered by kunal-vaishnavi
han-minhee asked this question in Q&A
Discussion options

You must be logged in to vote

You can try exporting multiple environment variables for that.

export ORT_DEBUG_NODE_IO_DUMP_DATA_DESTINATION="files"
export ORT_DEBUG_NODE_IO_DUMPING_DATA_TO_FILES_FOR_ALL_NODES_IS_OK=1
export ORT_DEBUG_NODE_IO_OUTPUT_DIR="output_dir"

Alternatively, you can dump the input and output data

export ORT_DEBUG_NODE_IO_DUMP_INPUT_DATA=1
export ORT_DEBUG_NODE_IO_DUMP_OUTPUT_DATA=1
export ORT_DEBUG_NODE_IO_DUMP_SHAPE_DATA=1

and then redirect the dumped data to a log file. For example:

python run.py > output.log 2>&1

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@han-minhee
Comment options

@han-minhee
Comment options

@kunal-vaishnavi
Comment options

Answer selected by han-minhee
@han-minhee
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants