Traceback (most recent call last):


 "crawler.py", line 77, in <module>

args.debug


 "crawler.py", line 25, in get_posts_by_user

return ins_crawler.get_user_posts(username, number, detail)


 "/Users/philipperemy/PycharmProjects/instagram-crawler/inscrawler/crawler.py", line 100, in get_user_posts

user_profile = self.get_user_profile(username)


 "/Users/philipperemy/PycharmProjects/instagram-crawler/inscrawler/crawler.py", line 89, in get_user_profile

post_num, follower_num, following_num = statistics
ValueError: not enough values to unpack (expected 3, got 0)

Traceback (most recent call last):


 "test.py", line 37, in <module>

sopt.minimize(NLL, jnp.zeros((3, 2)), Y, method="BFGS")


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/_src/scipy/optimize/minimize.py", line 96, in minimize

results = minimize_bfgs(fun_with_args, x0, **options)


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/_src/scipy/optimize/bfgs.py", line 99, in minimize_bfgs

f_0, g_0 = jax.value_and_grad(fun)(x0)


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/_src/traceback_util.py", line 139, in reraise_with_filtered_traceback

return fun(*args, **kwargs)


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/api.py", line 808, in value_and_grad_f

ans, vjp_py = _vjp(f_partial, *dyn_args)


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/api.py", line 1914, in _vjp

out_primal, out_vjp = ad.vjp(flat_fun, primals_flat)


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/interpreters/ad.py", line 114, in vjp

out_primals, pvals, jaxpr, consts = linearize(traceable, *primals)


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/interpreters/ad.py", line 101, in linearize

jaxpr, out_pvals, consts = pe.trace_to_jaxpr(jvpfun_flat, in_pvals)


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/interpreters/partial_eval.py", line 506, in trace_to_jaxpr

jaxpr, (out_pvals, consts, env) = fun.call_wrapped(pvals)


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/linear_util.py", line 166, in call_wrapped

ans = self.f(*args, **dict(self.params, **kwargs))


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/_src/scipy/optimize/minimize.py", line 93, in <lambda>

fun_with_args = lambda x: fun(x, *args)


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/_src/traceback_util.py", line 139, in reraise_with_filtered_traceback

return fun(*args, **kwargs)


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/api.py", line 1220, in batched_fun

in_axes_flat = flatten_axes("vmap in_axes", in_tree, (in_axes, 0), kws=True)


 "/Users/nicholas/opt/miniconda3/lib/python3.8/site-packages/jax/api_util.py", line 188, in flatten_axes

raise ValueError(f"{name} specification must be a tree prefix of the "
ValueError: vmap in_axes specification must be a tree prefix of the corresponding value, got specification (1, 1) for value tree PyTreeDef(tuple, [*,*,*,*,*,*,*,*,*,*,*]).
