Skip to content

Instantly share code, notes, and snippets.

View Seleucia's full-sized avatar
🎯
Focusing

Seleucia

🎯
Focusing
View GitHub Profile
# ------------------------------------------------------------------------------
# Adapted from https://github.com/activitynet/ActivityNet/
# Original licence: Copyright (c) Microsoft, under the MIT License.
# ------------------------------------------------------------------------------
import argparse
import glob
import json
import os
import shutil
import ssl
@Seleucia
Seleucia / erd.py
Last active May 23, 2022 14:10
Recurrent Network Models for Human Dynamics
import tensorflow as tf
from tensorflow.python.ops import clip_ops
from tensorflow.python.ops import logging_ops
#I modifid the tensorflow lstm implementation that returns the internal values also.
import model_runner.common.rnn_cellv3 as rnncell
class Model():
def __init__(self,params, is_training=True):