Skip to content

ModuleNotFoundError: No module named 'util' #11

Description

@shreyastalole
import tensorflow as tf
import numpy as np
import util
import matplotlib.pyplot as plt 
import math
import argparse
import sys
sys.path.append('/demo/Mask_ap/models-master/research/')
import sys
sys.path.append('../')
from configuration import TRAIN_CONFIG
config=TRAIN_CONFIG

def ic15_cvt_to_tfrecords(output_file, data_path, gt_path):
    # write records to a tfrecords file
    writer = tf.python_io.TFRecordWriter(output_file)

    image_names = util.io.ls(data_path, '.jpg')  # [0:10];

image

Where is The Util file?!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions