Questions tagged [layer]

This tag is ambiguous. Consider using more specific tags to better reflect the question's content.

layer
Filter by
Sorted by
Tagged with
-2 votes
1 answer
85 views

How to add a background image? [duplicate]

In the code I tried to move "Hotelz.jpg" to the bottom of the layer, but it does not work How do I do that? I tried this code to add a background image, but it does not work I'm really new ...
0 votes
0 answers
276 views

Mapbox Vector Source / Fill Layer problem using Flutter and two different packages

I have a problem that I am not able to describe so I have taken a video of the issue. In the video I am clicking forward one 'frame' at a time and you can see the layer loads then it seems like the ...
10 votes
3 answers
7k views

Updating aws lambda layer dependencies

The situation is that I have a load of aws lambda functions (using node js 8.10) that all do something very different and they're all deployed using CloudFormation. They all share a few functions ...
0 votes
0 answers
143 views

MinMax custom Layer Tensor Flow

I am working on a deep learning model for image classification. I am trying to use Min Max scaler to scale my images, I already used layers.Rescaling() and layers.BatchNormalization() , i am just ...
2 votes
2 answers
2k views

Folium 0.11.0 : Keep markers layer in front

I would like to make the markers layer always stay in front, but I can't figure out how to do it. As soon as I start clicking and unclicking layers in the Layer Control pane, the markers layer ...
0 votes
1 answer
48 views

Can I share weights between keras layers but have other parameters differ tf2?

is there a solution to sharing the weights of convolution layers with different paramters in dilation? like here I want to train the weights of the layer with different dilations meaning that every ...
0 votes
0 answers
62 views

print layer and vertex of DXF file in python

I try to display layers (Sew Lines and Pattern Perimeter) from a dxf file. As a matter of fact, some points of these layers are exactly at the same place : so I wan't to remove some points of one of ...
1 vote
2 answers
1k views

Openlayers: How to tell if a layer is available on the map

I have a doubt. In openlayers, how should I know if a layer or map was added or not? For example, I have a layer control, to see if that layer is visible on the map. In Leaflet I use it like this ...
0 votes
1 answer
1k views

How to get all docker image layers in k8s masternode

I'm a beginner at Kubernetes and Docker. I want to receive the image layer of all the containers that are operating on the master node of k8s. (If there is any way, it may be a layer of one container.)...
-2 votes
1 answer
2k views

XMLHttpRequest cannot load - Origin 'null' is therefore not allowed access

I am doing a login to connect through a service layer to a Linux server that has sap b1, and I get the following error. XMLHttpRequest cannot load https://hanab1:50000/b1s/v1/Login. A wildcard '*' ...
0 votes
1 answer
185 views

Why does 0th layer mean for reduce_mean give wrong averages?

I have 3rd layer array here t = tf.constant([[[1., 1., 1.], [2., 2., 2.]], [[3., 3., 3.], [4., 4., 4.]]]) tf.reduce_mean(t,0) I thought the 0th layer mean would be 1.5 and 3.5. However, it is giving ...
0 votes
1 answer
182 views

How do I get a layer backed NSView to write to PDF in the clipboard

I am using a layer backed view with a CGImage and would like to use the NSView.writePDF(inside:to) API to copy the views image to the clipboard. The view has subviews that I would like included in ...
1 vote
0 answers
231 views

Cluster points by property fields

Is there any way of clustering points by field from properties object? I am using react-map-gl library. https://visgl.github.io/react-map-gl/examples/clusters Example feature object: { type: &...
3 votes
7 answers
9k views

How to disable an event listener in mapbox?

I am trying to have control over event listeners over a layer with Mapbox on React. map.off is supossed to do the trick, but it is not removing the onclick event in a layer. https://docs.mapbox.com/...
1 vote
0 answers
110 views

Multiple layer pdf export from matplotlib plot

I have a problem with graphs that has much more lines than one, but they all has to be on one graph(they are measured together). As a result i have to create multiple layer pdf so that person that ...
1 vote
1 answer
399 views

Not getting Elevation with Pydeck

I have a DataSet like following and I want to represent in a pydeck layer map the column n_cases: Table I am doing in this way, but i never get elevation in the hexagons, have tried with lot of ...
0 votes
1 answer
2k views

Use GIMP to resize image in one layer only

This is my set up. I have 2 layers with transparency (I don't know if transparency matters here). Layers are the same size, 5x7 inches. Each layer has their image (say I draw a square on it and a ...
-3 votes
2 answers
66 views

CSS layers - z-index

enter image description here I have added this check button into the card, and added position into it so I can put it in the corner on the left, but when I get the button out of the card corner I got ...
0 votes
1 answer
580 views

Mapbox GL cut off the layer when zooming

EDIT: After optimizing my GeoJson file and uploading the .mbtile created by Tippecanoe, I still have the same problem, to be more specific, depending on how much zoom I do the polygon is cut in one ...
1 vote
1 answer
922 views

Presentation layer architecture in an enterprise application

At our company we are developing an application that will consists of several modules. The architecture is pretty much defined but I have seconds thoughts about the presentationlayer and I would ...
0 votes
0 answers
26 views

Images layering over old image in Python Pygame [duplicate]

I don't understand why old image doesn't clearing and a new image layering over old image in debug import pygame from setting import WIN_HEIGHT, WIN_WIDTH from debug import debug from pygame....
2 votes
1 answer
2k views

Flutter mapbox_gl how to put polylines below symbols

I am trying to add polylines to a mapbox view in Flutter using the mapbox_gl library. The problem is that I also have markers (called symbols in the library) that need to be on top of the polylines, ...
0 votes
1 answer
2k views

"Graph Execution Error" in Machine Learning and TensorFlow Project

I am a student and cannot figure out what I am doing wrong here. I don't know why I am getting this error. Any questions or specifications about the code I am happy to answer to clarify anything. If ...
0 votes
1 answer
503 views

Can not squeeze dim[1], expected a dimension of 1, got 10 (Masking Layer)

Given the MWE below, Python=3.8.15, Tensorflow=2.11, I get the error as shown. Note that this does not occur when layers.Masking(mask_value=0.0, name='mask1') is commented out. import tensorflow as tf ...
0 votes
1 answer
109 views

Will Lambda layers automatically be deleted after a certain time?

I had read this somewhere but can't find the source. Is there any shelf life of added lambda layers so that they will be auto deleted after certain time period (like 1 year)?
0 votes
0 answers
96 views

tensorflow sparse dense layer

I want to create a custom dense layer in tf.keras, which works with sparse weight matrices. My weight matrices are zero almost everywhere, and I know the sparsity pattern. It would be a huge cost ...
4 votes
1 answer
1k views

@import some attribute not work in @layer tailwindcss

Destructing the file and all import to the tailwindcss.css file. It failed when i import from other file instead write it in tailwind.css. Use layer to apply custom font family and text-3xl (working ...
22 votes
4 answers
34k views

WinForm UI components layer order

When we add any UI or container in WinForms, the later added component comes over the earlier added components, we can say it is in a higher layer. How to change that layer order or component order ...
0 votes
0 answers
56 views

My buttons only appear when I click them or my cursor is over them

First of all, sorry for my English! I am creating a videogame as a beginner, and I have four buttons, but I dont know why I can only see them when i put my mouse over them. Maybe is because I have a ...
0 votes
2 answers
108 views

Get data(values) from RasterLayer arcgis js

I have mapserver which contains tif files (raster layer).This files contains temperature data . I want to know how to get data from this raster layer. I look a lot of arcgis js api samples ,but none ...
1 vote
1 answer
163 views

Generating Intermediate layer output of Vgg16

How can i generate intermediate layer output(third and forth MaxPool layer output) of VGG 16 in pytorch model. pretrained_model = models.vgg16(pretrained=True)
1 vote
2 answers
94 views

I am getting unwanted tuples in my dataframe, how to stop this

First post here. I'm at my wits end! Pandas is making tuples in my dataframe when I do the below piece of code. Essentially, I wanted to normalize all my columns except two. So I .pop them and then ...
0 votes
1 answer
2k views

On a Mapbox map, how to keep a layer always visible, no matter the zoom level?

I have tried to understand the underlying mechanisms of the data display processing at the tile level but I have not found any literature explicit enough for me to understand how it all works. I have ...
0 votes
1 answer
258 views

Unity : Tags to Layers

I want to make a selection script in unity 3d to select different types of objects like units buildings or other stuff i want to know how to change this type of line if(hit.transform.CompareTag("...
0 votes
1 answer
994 views

How to make a 2D collider collide only with a specific GameObject without using layers?

Suppose I have a BoxCollider2D in my player GameObject and I want it to ignore all other colliders, except another BoxCollider2D within an item. All of them are in the same layer and the layer ...
0 votes
1 answer
124 views

How to implement a numpy equation in the call of a tensorflow layer for a tensorflow model (Cannot convert a symbolic tf.Tensor to a numpy array)

I have this layer class in tensorflow where i want to implement a specific equation in numpy for the return in the call function. I have this following custom layer: class PhysicalLayer(keras.layers....
0 votes
4 answers
922 views

Alphabet Layers In Python

How to multiply layers without ankwardly repeating elif lines? Cannot get += 1 working. Or perhaps different string approach? I'm certainly new in Python. layer = int(input("Give a number between ...
0 votes
1 answer
533 views

Multiple canvases in Unity [duplicate]

I have two canvases, one with panels or the buttons the player can interact with and one that acts as its background. I separated two canvases because the aspect ratio of the background image is 16:9 ...
1 vote
1 answer
634 views

How to overlay a vector annotation image on the top of a cartopy map?

How to overlay a vector annotation image on the top of a cartopy map? import cartopy.io.img_tiles as cimgt import matplotlib.pyplot as plt import cartopy.crs as ccrs from cartopy.mpl.gridliner import ...
1 vote
1 answer
701 views

folium geojson multiple layers control

I'm trying to create a map that has multiple layers output from the key value pairs of a geojson, I can create the map and the layers but the layer filter doesn't work. data = {"type": "...
0 votes
1 answer
303 views

Lucidchart - how to delete objects between layers

I understand about the power of layers for additive operations, ie extending a diagram by showing more options/more detail etc. However what I want to understand is what is the way in which layers can ...
0 votes
1 answer
1k views

Determine batch size during `tensorflow.keras` Custom Class `call` method

I already asked this question here, but I thought StackOverflow would have more traffic/people that might know the answer. I'm building a custom keras Layer similar to an example found here. I want ...
0 votes
1 answer
1k views

Folium marker clusters not working as expected

I have a problem. I can't use the MarkerCluster and LayerControl together. I need to add the MarkerCluster to the following code but unfortunately something still does not work. Can anyone tell me how ...
0 votes
1 answer
60 views

Custom layer using tensorflow

I am trying to make customized layer which reduces channels by reduce_sum(axis=-1) For example when input shape is (32,32,128) I want to change the input shape from (32,32,128) to (None,32,32,128) ...
1 vote
1 answer
318 views

How do I make an Illustrator script that makes a specific layer invisible?

I have no experience in programming, so I apologize for being new to everything. I am trying to make a simple Illustrator script that a specifically named layer (for example, "text") in all ...
0 votes
1 answer
359 views

QGIS - Problem with optional layers in model builder

I am trying to make a model with an input layer (polygon) but I want it as optional, because I do not need it always. If not, I have to create it. I want to avoid this useless work. Is the case of the ...
0 votes
1 answer
278 views

Action manager code for selecting layer, ignores layer ID, bug?

I'm trying to make an action manager function to select layers. This can be done by using the dom, but I like to figure out why it doesn't work. Well, it works when all layers and layerSets have ...
2 votes
1 answer
194 views

Better way to do MySQL Object layer

I am not a pro in MySQL, but want to do something like Object Layer above relational MySQL tables. I want to have very many "structures" with a fields of type "bigint", "longtext", "datetime", "...
0 votes
1 answer
76 views

SVG tooltip on background element

I need to display a tooltip message (defined with tag) over a rect element that's partially overlapped by above another (transparent) rect: https://jsfiddle.net/nkeLcxga/1/ <svg width="300" ...
0 votes
2 answers
483 views

Why override bootstrap, not work for run method?

I'm learning ZIO 2.x, when configuring Runtime using bootstrap layer, it don't works. object RuntimeCustom extends ZIOAppDefault { // It's not work, And I don't know why? override val bootstrap = ...

1 2
3
4 5
43