Find Jobs
Hire Freelancers

*** numba.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)

$30-250 CAD

Zaprt
Objavljeno pred več kot 5 leti

$30-250 CAD

Plačilo ob dostavi
I am having a problem with `UMAP(...).transform()`. I loaded the model with `trans = [login to view URL]()`. ipdb> trans UMAP(a=None, angular_rp_forest=False, b=None, init='spectral', learning_rate=1.0, local_connectivity=1.0, metric='correlation', metric_kwds=None, min_dist=0.5, n_components=3, n_epochs=None, n_neighbors=3, negative_sample_rate=5, random_state=None, repulsion_strength=1.0, set_op_mix_ratio=1.0, spread=1.0, target_metric='categorical', target_metric_kwds=None, target_n_neighbors=-1, target_weight=0.5, transform_queue_size=4.0, transform_seed=42, verbose=False) As UMAP uses `numba` package, I got a problem with resolving types. Here is the error shown. ipdb> [login to view URL]([login to view URL]([login to view URL][0], -1)) *** [login to view URL]: Failed in nopython mode pipeline (step: nopython frontend) Invalid use of type(CPUDispatcher(<function rdist at 0x7f36c7ce4e18>)) with parameters (array(float32, 1d, C), array(float64, 1d, C)) Known signatures: * (array(float32, 1d, A), array(float32, 1d, A)) -> float32 * parameterized [1] During: resolving callee type: type(CPUDispatcher(<function rdist at 0x7f36c7ce4e18>)) [2] During: typing of call at /home/infinity/anaconda3/envs/HFT/lib/python3.6/site-packages/umap/[login to view URL] (776) File "../../../anaconda3/envs/HFT/lib/python3.6/site-packages/umap/[login to view URL]", line 776: def optimize_layout( <source elided> dist_squared = rdist(current, other) ^ This is not usually a problem with Numba itself but instead often caused by the use of unsupported features or an issue in resolving types. To see Python/NumPy features supported by the latest release of Numba visit: [login to view URL] and [login to view URL] For more information about typing errors and how to debug them visit: [login to view URL] Here is a `X_test` sample : array([[[-7.84867750e-05, -3.92410776e-05, -1.17713994e-04, ..., 0.00000000e+00, 0.00000000e+00, -5.88910810e-05], [ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ..., 3.22361913e+01, 3.36224857e+01, 0.00000000e+00], [-1.17741714e-04, -1.56979711e-04, 0.00000000e+00, ..., -3.22361913e+01, -3.36224857e+01, -2.35599012e-04], ..., [ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ..., 0.00000000e+00, 0.00000000e+00, 3.92395378e-05], [ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ..., 0.00000000e+00, 0.00000000e+00, 0.00000000e+00], [ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ..., 0.00000000e+00, 0.00000000e+00, 0.00000000e+00]], [[ 0.00000000e+00, 0.00000000e+00, 7.98615775e-04, ..., 0.00000000e+00, 0.00000000e+00, -2.66778461e-04], [ 0.00000000e+00, 0.00000000e+00, 0.00000000e+00, ..., 0.00000000e+00, 0.00000000e+00, 0.00000000e+00], [ 1.10377388e-03, 1.86421709e-03, 3.04066897e-04, ..., 0.00000000e+00, 0.00000000e+00, 5.52533571e-04], ..., [-3.80814562e-05, -1.10373187e-03, -3.80380000e-05, ..., 0.00000000e+00, 0.00000000e+00, -1.90615976e-05]]]) [login to view URL] is `(5839, 45, 41)` How can I fix that type error?
ID projekta: 18332492

Več o projektu

5 ponudb
Projekt na daljavo
Aktivno pred 5 leti

Želite zaslužiti?

Prednosti oddajanja ponudb na Freelancerju

Nastavite svoj proračun in časovni okvir
Prejmite plačilo za svoje delo
Povzetek predloga
Registracija in oddajanje ponudb sta brezplačna
5 freelancerjev je oddalo ponudbo s povprečno vrednostjo $165 CAD za to delo
Avatar uporabnika
Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the project. Thanks . .
$155 CAD v 3 dneh
5,0 (11 ocen)
6,0
6,0
Avatar uporabnika
Hi there, I have read your project description and i'm confident i can do this project for you perfectly.I still have a few questions. please leave a message on my chat so we can discuss the budget and deadline of the project. Thanks . .
$155 CAD v 3 dneh
4,8 (20 ocen)
6,2
6,2
Avatar uporabnika
Hello, dear! I am interested in your project. I have extensive experience in Python. As a developer with rich experience, I am confident about your project. I will provide perfect results in a short time. If you want to work with me, please feel free to contact me. Thanks.
$150 CAD v 3 dneh
5,0 (15 ocen)
5,4
5,4
Avatar uporabnika
Hello! I am a python developer. I looked at your project and it seems interesting. I have all necessary skills required for this project. Ping me to discuss in detail.
$140 CAD v 2 dneh
4,7 (34 ocen)
5,6
5,6

O stranki

Zastava CANADA
Ste-Julie, Canada
5,0
74
Plačilna metoda je verificirana
Član(ica) od avg. 1, 2017

Verifikacija stranke

Hvala! Po e-pošti smo vam poslali povezavo za prevzem brezplačnega dobropisa.
Pri pošiljanju vašega e-sporočila je šlo nekaj narobe. Poskusite znova.
Registrirani uporabniki Skupaj objavljenih del
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Nalaganje predogleda
Geolociranje je bilo dovoljeno.
Vaša prijavna seja je potekla, zato ste bili odjavljeni. Prosimo, da se znova prijavite.