pythontensorflowpixelrecurrent-neural-networktqdm

No module named 'tqdm'


I am running the following pixel recurrent neural network (RNN) code using Python 3.6

import os
import logging

import numpy as np
from tqdm import trange
import tensorflow as tf

from utils import *
from network import Network
from statistic import Statistic

However, there was an error:

ModuleNotFoundError: No module named 'tqdm'

Does anyone know how to solve it?


Solution

  • You need to install tqdm module, you can do it by using python pip.

    pip install tqdm
    

    for more info tqdm