I suppose you can simple rename the variable in the checkpoint.
Check if this script is still working correctly:
  

      gist.github.com
  

  
    https://gist.github.com/fvisin/578089ae098424590d3f25567b6ee255 3

  tensorflow_rename_variables.py
  # Adapted from https://gist.github.com/batzner/7c24802dd9c5e15870b4b56e22135c96
import getopt
import sys

import tensorflow as tf

usage_str = ('python tensorflow_rename_variables.py '
             '--checkpoint_dir=path/to/dir/ --replace_from=substr '
             '--replace_to=substr --add_prefix=abc --dry_run')
find_usage_str = ('python tensorflow_rename_variables.py '
    This file has been truncated. show original