AttributeError: 'Tensor' object has no attribute 'tile ...
github.com › unit8co › dartsmodel_nbeats.predict(n=48, series=ts_train[1]) # ts_train[1] is a TimeSeries ~\Anaconda3\envs\darts-venv\lib\site-packages\darts\models\torch_forecasting_model.py in _sample_tiling(self, input_data_tuple, batch_sample_size) 750 for tensor in input_data_tuple: 751 if tensor is not None: --> 752 tiled_input_data.append(tensor.tile((batch_sample_size, 1, 1))) 753 else: 754 tiled_input_data.append ...
Tensorflow 2.3 - AttributeError: 'Tensor' object has no ...
www.reddit.com › r › tensorflowAttributeError: 'Tensor' object has no attribute 'numpy' Tensorflow 2.3. I write here a snippet of my model. inputs = Input (shape= (n_ch, height, width), batch_size=batchSize) conv_1 = Conv2D (16, (5, 5), kernel_initializer='he_normal', padding='same',data_format='channels_first') (inputs) conv_1 = BatchNormalization (axis=1) (conv_1) conv_1 = Activation ("relu") (conv_1) conv_2 = Conv2D (16, (5, 5), kernel_initializer='he_normal', padding='same',data_format='channels_first') (conv_1) ...