I recently chatted with a friend who’s looking to hire a freelance developer for her new project. She’s excited but also a bit nervous about making the right choice. Can you share some red flags to watch out for when hiring?
SIKSHAPATH Latest Questions
What is pink skies about?
After initializing your AutoEncoder you are all set to train it. Which of the following pieces of code will you use? def autoencoder_training (X_train, Y_train, epochs): history autoencoder.fit (# YOUR CODE HERE) return history Options: i. autoencoder.fit(X_train, ...Read more
Consider the following code for a simple AutoEncoder, what is model_1 outputting ? inputs = tf.keras.layers.Input(shape=(784,)) def simple_autoencoder(): encoder = tf.keras.layers.Dense(units=32, activation=’relu’)(inputs) decoder = tf.keras.layers.Dense(units=784, activation=’sigmoid’)(encoder) return encoder, decoder output_1, output_2 = simple_autoencoder() model_1 = tf.keras.Model(inputs=inputs, outputs=output_1) model_2 = tf.keras.Model(inputs=inputs, outputs=output_2) options: Displaying the reconstruction of the original input ...Read more
Consider the values given in the image below and calculate the content loss value. Generated image: 5 2 1 7 and content image : 3 5 5 4
Consider the following code snippet. How will you include Total Loss Variation in it? Use TensorFlow as tf. (Answer in the format, x + y(z), considering python’s spacing convention) def calculate_gradients(image, content_targets, style_targets, style_weight, content_weight,with_regularization=True): total_variation_weight = 30 with tf.GradientTape() as tape: if with_regularization: loss += ...Read more
Q1.Consider the following code for Class Activation Maps. Which layer(s) of the model do we choose as outputs to draw out the class activation map ? Check all that apply. The layer which performs concatenation in the model The layer which feeds ...Read more
Q1. At the heart of image segmentation with neural networks is an encoder/decoder architecture. What functionalities do they perform ? Options: The decoder extracts features from an image and the encoder takes those extracted features, and assigns class labels to each ...Read more
1. Question 1 Lambda layer allows to execute an arbitrary function only within a Sequential API model. False True 2. Question 2 Which one of the following is the correct syntax for mapping an increment of 2 to the value of “x” using a Lambda layer? (tf ...Read more