Ich bin neu in Python & tensorFlow, und ich bin auf this MNIST tutorial auf TensorFlow Dokumentation folgen.FLAGS = Keine Bedeutung?
Im ersten Bit, ich weiß nicht, was FLAGS = None hier tut. Ich suchte in Google und kam leer zurück. Scheint, als ob das für andere zu offensichtlich ist?
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import argparse
import sys
from tensorflow.examples.tutorials.mnist import input_data
import tensorflow as tf
FLAGS = None
def main(_):
# Import data
mnist = input_data.read_data_sets(FLAGS.data_dir, one_hot=True)
Also was ist FLAGS und wie es benutzt wird? z. B. FLAGS.data_dir
Jede Hilfe wäre willkommen!