-
import pyupbit
import numpy as np
df = pyupbit.get_ohlcv("BTC")
df['range'] = (df['high'] - df['low']) * 0.5
df['target'] = df['open'] + df['range'].shift(1)
fee = 0.0032
df['ror'] = np.wher…
-
Hi, the figure 2 in paper shows that the object is cropped by bbox, while the released code (scaling_factor=1.0) crops object by x3 bbox. Is there any gap between paper and code?
![image](https://us…
-
**TypeError: 'ABCMeta' object is not subscriptable**
torch 1.10.0+cu113
cuda 11.2
python 3.8.10
nesvor reconstruct --input-slices ../nesvor/casenii \
--output-slices ../nesvor/outnii \
--out…
-
Im running on SEPOLIA TEST NETWORK, and my script is working for the most part but i get an error stating "Error opening trades 'NoneType' object is not subscriptable"
This must be an issue with a …
-
When I calculate window matrix via
wm = PowerSpectrumSmoothWindowMatrix(kout, projsin=projsin, projsout=ellsout, window=window, sep=sep, kin_rebin=kin_rebin, kin_lim=kin_lim),
it outputs the error:
…
-
This mod causes a hard crash by patching shaders to pass too many parameters from the vertex shader to the fragment shader.
```
[20:14:17] [Render thread/WARN]: Error encountered when linking prog…
-
this:
`let y = ({ a, b, ...rest }) => a + b + rest.length;`
becomes:
`let y=({a:n,b:t,...i})=>n+t+i.length`
It didn't need to rename `a` and `b`, this made it worse
-
In JS we can do:
```js
containerForValues.replaceChildren(...values.map((value) => {
const element = document.createElement('div');
element.innerHTML = value;
return element;
}));
```
In…
-
Problem with sorted Items
-
I used Tiled to create a tiled map.
So that I can add static visual assets offgrid, I added an Object Layer and used the "T"-shortcut with on selected tiles.
You can see the result here:
![ima…