[DEPRECATED] Training and Deploying a TensorFlow Model in Vertex AI Reviews

4559 reviews

Muhammad Waleed I. · Reviewed أكثر من سنتين ago

AttributeError: module 'os' has no attribute 'errno' Under training-data-analyst/self-paced-labs/vertex-ai/vertex-ai-qwikstart/lab_exercise_long.ipynb command: tf.keras.utils.plot_model(model, show_shapes=False, rankdir="LR") trace: --------------------------------------------------------------------------- FileNotFoundError Traceback (most recent call last) File /opt/conda/lib/python3.9/site-packages/pydot.py:1856, in Dot.create(self, prog, format, encoding) 1855 try: -> 1856 p = subprocess.Popen( 1857 cmdline, 1858 env=env, 1859 cwd=tmp_dir, 1860 shell=False, 1861 stderr=subprocess.PIPE, stdout=subprocess.PIPE) 1862 except OSError as e: File /opt/conda/lib/python3.9/subprocess.py:951, in Popen.__init__(self, args, bufsize, executable, stdin, stdout, stderr, preexec_fn, close_fds, shell, cwd, env, universal_newlines, startupinfo, creationflags, restore_signals, start_new_session, pass_fds, user, group, extra_groups, encoding, errors, text, umask) 948 self.stderr = io.TextIOWrapper(self.stderr, 949 encoding=encoding, errors=errors) --> 951 self._execute_child(args, executable, preexec_fn, close_fds, 952 pass_fds, cwd, env, 953 startupinfo, creationflags, shell, 954 p2cread, p2cwrite, 955 c2pread, c2pwrite, 956 errread, errwrite, 957 restore_signals, 958 gid, gids, uid, umask, 959 start_new_session) 960 except: 961 # Cleanup if the child failed starting. File /opt/conda/lib/python3.9/subprocess.py:1837, in Popen._execute_child(self, args, executable, preexec_fn, close_fds, pass_fds, cwd, env, startupinfo, creationflags, shell, p2cread, p2cwrite, c2pread, c2pwrite, errread, errwrite, restore_signals, gid, gids, uid, umask, start_new_session) 1836 err_msg = os.strerror(errno_num) -> 1837 raise child_exception_type(errno_num, err_msg, err_filename) 1838 raise child_exception_type(err_msg) FileNotFoundError: [Errno 2] No such file or directory: 'dot' During handling of the above exception, another exception occurred: AttributeError Traceback (most recent call last) Cell In[29], line 1 ----> 1 tf.keras.utils.plot_model(model, show_shapes=False, rankdir="LR") File ~/.local/lib/python3.9/site-packages/keras/src/utils/vis_utils.py:451, in plot_model(model, to_file, show_shapes, show_dtype, show_layer_names, rankdir, expand_nested, dpi, layer_range, show_layer_activations, show_trainable) 444 if not model.built: 445 raise ValueError( 446 "This model has not yet been built. " 447 "Build the model first by calling `build()` or by calling " 448 "the model on a batch of data." 449 ) --> 451 if not check_graphviz(): 452 message = ( 453 "You must install pydot (`pip install pydot`) " 454 "and install graphviz " 455 "(see instructions at https://graphviz.gitlab.io/download/) " 456 "for plot_model to work." 457 ) 458 if "IPython.core.magics.namespace" in sys.modules: 459 # We don't raise an exception here in order to avoid crashing 460 # notebook tests where graphviz is not available. File ~/.local/lib/python3.9/site-packages/keras/src/utils/vis_utils.py:57, in check_graphviz() 53 return False 54 try: 55 # Attempt to create an image of a blank graph 56 # to check the pydot/graphviz installation. ---> 57 pydot.Dot.create(pydot.Dot()) 58 return True 59 except (OSError, pydot.InvocationException): File /opt/conda/lib/python3.9/site-packages/pydot.py:1863, in Dot.create(self, prog, format, encoding) 1856 p = subprocess.Popen( 1857 cmdline, 1858 env=env, 1859 cwd=tmp_dir, 1860 shell=False, 1861 stderr=subprocess.PIPE, stdout=subprocess.PIPE) 1862 except OSError as e: -> 1863 if e.errno == os.errno.ENOENT: 1864 args = list(e.args) 1865 args[1] = '"{prog}" not found in path.'.format( 1866 prog=prog) AttributeError: module 'os' has no attribute 'errno'

Aviv L. · Reviewed أكثر من سنتين ago

Installing the requirements.txt file already threw an error and the E2 machine that you are supposed to select was not big enough to train the model. Thus, I could not even deploy the model, that was very frustrating and I feel like I barely learned anything.

Tabea K. · Reviewed أكثر من سنتين ago

keshav m. · Reviewed أكثر من سنتين ago

good

Soumyadeep R. · Reviewed أكثر من سنتين ago

Jason P. · Reviewed أكثر من سنتين ago

Jace B. · Reviewed أكثر من سنتين ago

I couldn't complete the lab due to an error with training the model .... job = aiplatform.CustomContainerTrainingJob ... message: "The following quota metrics exceed quota limits: aiplatform.googleapis.com/custom_model_training_c2_cpus"

Cody F. · Reviewed أكثر من سنتين ago

Àlex C. · Reviewed أكثر من سنتين ago

Jens U. · Reviewed أكثر من سنتين ago

some statements (cells) threw errors

Oliver L. · Reviewed أكثر من سنتين ago

Gayathri M. · Reviewed أكثر من سنتين ago

Мадияр А. · Reviewed أكثر من سنتين ago

Steven L. · Reviewed أكثر من سنتين ago

Mohammed H. · Reviewed أكثر من سنتين ago

Cindy Z. · Reviewed أكثر من سنتين ago

lab contains python errors and take to much time for submiting container image to artifactory. The training job failed

Maxime S. · Reviewed أكثر من سنتين ago

Shubham K. · Reviewed أكثر من سنتين ago

Pedro F. · Reviewed أكثر من سنتين ago

Abdulkaiq M. · Reviewed أكثر من سنتين ago

Richard B. · Reviewed أكثر من سنتين ago

Rahul A. · Reviewed أكثر من سنتين ago

Sanaaya K. · Reviewed أكثر من سنتين ago

David S. · Reviewed أكثر من سنتين ago

LOKESH B. · Reviewed أكثر من سنتين ago

We do not ensure the published reviews originate from consumers who have purchased or used the products. Reviews are not verified by Google.