Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

How to get a border on polygon? [duplicate]

This is my polygon css. Can I get a border around this polygon instead of background color? .clip-details-shape { height: 200px; position: relative; clip-path: polygon(100% 0, 100% 76%, 80% 100%,...
Ibnul's user avatar
  • 39
-1 votes
0 answers
54 views

No convergence while trying to train sampler using RL [closed]

I am trying to replicate the technique from this paper (https://arxiv.org/pdf/2305.13301) on a simpler case. I want to fit the gaussian mean using the RL technique, but the algorithm fails to converge ...
Yegor Chetkin's user avatar
0 votes
1 answer
47 views

Can I Create a Color Gradient Between Two Values in an Excel Pivot Table?

I need to conditionally format all values between 2 numbers in a pivot table using a color gradient to accentuate the scale of values between that range. I'd like to not have any color for the rest of ...
kxmoosekx's user avatar
3 votes
2 answers
55 views

Pytorch compute graph don't release as expected

import torch def analyze_your_actual_code(): """分析你的实际代码""" a = torch.randn(4, requires_grad=True) print(f"a: {a}") print(f"a.grad: {a....
chushu zhou's user avatar
0 votes
1 answer
72 views

Why is this background gradient grid not pixel perfect?

At first I thought it was some line-height problem (:root is set to 1.25 which is still divisible by the underlying 4px grid) but it's not ... Removing the <img> from example or setting it's ...
Rob's user avatar
  • 167
-1 votes
1 answer
114 views

how to do gradient borders in tailwind CSS?

how to do gradient borders in tailwind CSS? i searched on google but found only custom CSS solutions. We can do the background as gradient with Tailwind. is there any way to apply gradient on border ...
Ayaz Irshad's user avatar
1 vote
0 answers
43 views

GGridges Gradient Fill [duplicate]

I'm using this data to try to plot multiple histograms showing political polarization in Congress over the years (dwnom1). I can get the multiple histogram with ggridges, but everytime I try to apply ...
TCD's user avatar
  • 11
0 votes
1 answer
93 views

Background Gradients + Noise Combo

I’m trying to replicate the gradient + noise in the image below. Gradient + Noise: So far I think I roughly got the 2 gradients covered but really struggle with the noise here. I tried loads of ...
MB3's user avatar
  • 1
2 votes
2 answers
96 views

How to make the gap not covered by the gradient. Or maybe there are some other ways to achieve this result? [duplicate]

I'm trying to apply a single background gradient to a grid of cards (statistic blocks) in React using Tailwind CSS. The goal is to have the gradient visible only on the cards, while the gaps between ...
Vitalii Parkhomchuk's user avatar
-3 votes
1 answer
50 views

Can this curve be made from a rectangle image with CSS? [duplicate]

I have some headers on my website and I was wondering if I can make this curve from a rectangle image with CSS. This is how it looks like: Is this possible with CSS? And I also would like to get a ...
Arie's user avatar
  • 375
0 votes
2 answers
56 views

How to make a checkbox input with a gradient border?

I made a fancy custom checkbox that animates a gradient in/out when (un)checked. How can I make the checkbox border a gradient, as well? The border gradient should match the fill gradient just like ...
Leftium's user avatar
  • 18k
0 votes
0 answers
32 views

How do I combine gradients and background colors in a hero section background?

I'm trying to design the background for the hero section of a project. I've been having trouble getting the gradients and background color to work together as intended. I've tried adjusting the layer ...
Dapo Adedire's user avatar
0 votes
1 answer
59 views

Large differences comparing results of linear_sum_assignment and minimize when using jac and hess

Dear stackoverflow users, I am having some troubles with linear assignment problems using the functions linear_sum_assignment and minimize, both from the scipy library. In order to compare more ...
uselinuxlovepython's user avatar
2 votes
1 answer
70 views

More efficient way to compute elementwise gradients (Jacobian) in PyTorch while preserving create_graph

I’m currently using PyTorch’s torch.autograd.functional.jacobian to compute per-sample, elementwise gradients of a scalar-valued model output w.r.t. its inputs. I need to keep create_graph=True ...
hans's user avatar
  • 1,171
0 votes
2 answers
75 views

CSS Linear Gradient not linear [closed]

I want to use a linear-gradient background where I eventually want to control when the gradient should start. Right now I have it set to start at 50%. I do that like this: .block{ font-family: '...
Fluxian's user avatar
  • 974

15 30 50 per page
1
2 3 4 5
293