HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
18.42k stars 2.31k forks source link

unable to add an ML backend #565

Closed JINHXu closed 3 years ago

JINHXu commented 3 years ago

Hey there,

When I try to initialize an ML backend with label-studio-ml init spacy_backend --script /path/to/model.py, I constantly get the error message:

    raise FileExistsError('Model directory already exists. Please remove it or use --force option.')
FileExistsError: Model directory already exists. Please remove it or use --force option.

and I tried the --force option, it seemed to work but no ML backend was actually added when I go to http://localhost:8080/model

Does anyone have an idea what could have possibly gone wrong here? Any help would be so appreciated!

Best, Xu

makseq commented 3 years ago

Yes, you need to use --force if you have already created the backend before.

What's going on when I add ML backend in LS via input field below? image

Are there any errors?

JINHXu commented 3 years ago

Hi Max,

What's going on when I add ML backend in LS via input field below? image

Are there any errors?

it pops a window that says "ml backend with url: "http://localhost:9090" is not connected."

makseq commented 3 years ago

@JINHXu And have you started an ML server? label-studio-ml start spacy_backend

JINHXu commented 3 years ago

@JINHXu And have you start an ML server? label-studio-ml start spacy_backend

yes, I did. Though I opened another terminal window to run this, it seemed impossible to run this command in the same terminal window. Could this be the problem? btw I was just wondering if the problem was with model.py, I only added one pattern for drug names recognition with a SpaCy model.

makseq commented 3 years ago

Could this be the problem?

I think, no.

What is in your ML model logs?

JINHXu commented 3 years ago
(spc) jos-MacBook-Pro:~ xujinghua$ label-studio-ml init spacy_backend --force /Users/xujinghua/model.py
You don't specify script path: by default, "./model.py" is used
Congratulations! ML Backend has been successfully initialized in ./spacy_backend
Now start it by using:
label-studio-ml start ./spacy_backend
(spc) jos-MacBook-Pro:~ xujinghua$ label-studio-ml start ./spacy_backend
 * Serving Flask app "label_studio.ml.api" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
[2021-01-22 08:37:56,240] [INFO] [werkzeug::_log::122]  * Running on http://0.0.0.0:9090/ (Press CTRL+C to quit)
makseq commented 3 years ago

@JINHXu right after you add ML backend to LS it must be /setup called in your ML logs. Is /setup there?

JINHXu commented 3 years ago

Nah, no /setup there, these are everything I got so far...

JINHXu commented 3 years ago

Should this imply the problem is with model.py?

makseq commented 3 years ago

No, it's not a problem with model.py. it seems to be a problem with connection. Maybe your firewall restricted it?

JINHXu commented 3 years ago

Unlikely, my computer's firewall is turned off :(

makseq commented 3 years ago

try to 1 label-studio-ml start spacy_backend --log-level DEBUG 2 add this ML backend to LS via GUI 3 send me logs from label-studio-ml backend

JINHXu commented 3 years ago

After adding this backend via GUI, these are still all I got in the terminal:

(spc) jos-MacBook-Pro:~ xujinghua$ label-studio-ml start spacy_backend --log-level DEBUG
 * Serving Flask app "label_studio.ml.api" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
[2021-01-23 09:12:52,994] [INFO] [werkzeug::_log::122]  * Running on http://0.0.0.0:9090/ (Press CTRL+C to quit)

there was also, again, the pop-up window that says "ML backend with URL: "http://localhost:9090" is not connected."

makseq commented 3 years ago

Ok. I'm still thinking that the problem is because something blocks the connection. Let's try to do the same with label studio server: add --log-debug with start command and show me your logs please.

JINHXu commented 3 years ago

It appears --log-debug is not a recognizable argument? I ran label-studio-ml start spacy_backend --log-debug, and

^C(spc) jos-MacBook-Pro:~ xujinghua$ label-studio-ml start spacy_backend --log-debug
usage: _wsgi.py [-h] [-p PORT] [--host HOST] [--kwargs KEY=VAL [KEY=VAL ...]]
                [-d] [--log-level {DEBUG,INFO,WARNING,ERROR}]
                [--model-dir MODEL_DIR] [--check]
_wsgi.py: error: unrecognized arguments: --log-debug

or

(spc) jos-MacBook-Pro:~ xujinghua$ label-studio-ml start spacy_backend --log-debug DEBUG 
usage: _wsgi.py [-h] [-p PORT] [--host HOST] [--kwargs KEY=VAL [KEY=VAL ...]]
                [-d] [--log-level {DEBUG,INFO,WARNING,ERROR}]
                [--model-dir MODEL_DIR] [--check]
_wsgi.py: error: unrecognized arguments: --log-debug DEBUG
JINHXu commented 3 years ago

though might this warning suggest something about connection to the server?

 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
makseq commented 3 years ago

Sorry, it was a misspell, I meant --log-level DEBUG.

This warning is ok.

JINHXu commented 3 years ago

Sure, but I think we might have tried it already? But I just tried it again:

(spc) jos-MacBook-Pro:~ xujinghua$ label-studio-ml start spacy_backend --log-level DEBUG
 * Serving Flask app "label_studio.ml.api" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
[2021-01-24 16:56:02,375] [INFO] [werkzeug::_log::122]  * Running on http://0.0.0.0:9090/ (Press CTRL+C to quit)

still only one line in logs and then nothing...

and by manually adding the backend, I got "ValueError: ML backend with URL: "http://localhost:9090" is not connected." again.

makseq commented 3 years ago

No, you should to add it to label-studio start your_project --log-level DEBUG

JINHXu commented 3 years ago

Ah sorry, here are the logs:

(spc) jos-MacBook-Pro:~ xujinghua$ label-studio start ner_project --log-level DEBUG
Start browser at URL: http://localhost:8080/welcome
 * Serving Flask app "label_studio" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
[2021-01-24 17:05:18,004] [INFO] [werkzeug::_log::122]  * Running on http://0.0.0.0:8080/ (Press CTRL+C to quit)
Traceback (most recent call last):
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/utils/misc.py", line 93, in exception_f
    return f(*args, **kwargs)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/blueprint.py", line 96, in prepare_globals
    g.project = project_get_or_create()
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/blueprint.py", line 187, in project_get_or_create
    input_args, context={'multi_session': False})
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/project.py", line 996, in get_or_create
    project = cls.get(project_name, args, context)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/project.py", line 979, in get
    project = cls._load_from_dir(project_dir, project_name, args, context)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/project.py", line 967, in _load_from_dir
    return cls(config, project_name, context=context, root_dir=args.root_dir)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/project.py", line 80, in __init__
    self.create_storages()
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/project.py", line 165, in create_storages
    **source.get('params', {}))
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/storage/base.py", line 37, in create_storage
    return _storage[storage_type](name=name, path=path, project_path=project_path, project=project, **kwargs)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/storage/filesystem.py", line 215, in __init__
    **kwargs
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/storage/base.py", line 201, in __init__
    self._load_ids()
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/storage/base.py", line 242, in _load_ids
    self._ids_keys_map = json_load(self._ids_file, int_keys=True)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/utils/io.py", line 119, in json_load
    data = json.load(f)
ValueError: Expected object or value

[2021-01-24 17:05:21,022] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /welcome HTTP/1.1" 200 -
[2021-01-24 17:05:21,046] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/css/reset.css HTTP/1.1" 304 -
[2021-01-24 17:05:21,068] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/css/main.css?v2 HTTP/1.1" 304 -
[2021-01-24 17:05:21,070] [DEBUG] [label_studio.project::update_derived_input_schema::319] Derived input schema: {'reddit'}
[2021-01-24 17:05:21,070] [DEBUG] [label_studio.project::update_derived_input_schema::320] Derived all input schema: {'reddit'}
[2021-01-24 17:05:21,086] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/css/fontall.min.css HTTP/1.1" 304 -
[2021-01-24 17:05:21,109] [DEBUG] [label_studio.project::update_derived_input_schema::319] Derived input schema: {'reddit'}
[2021-01-24 17:05:21,109] [DEBUG] [label_studio.project::update_derived_input_schema::320] Derived all input schema: {'reddit'}
[2021-01-24 17:05:21,122] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/fonts/dosis/dosis.css HTTP/1.1" 304 -
[2021-01-24 17:05:21,145] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/js/jquery.min.js HTTP/1.1" 304 -
[2021-01-24 17:05:21,149] [DEBUG] [label_studio.project::update_derived_input_schema::319] Derived input schema: {'reddit'}
[2021-01-24 17:05:21,149] [DEBUG] [label_studio.project::update_derived_input_schema::320] Derived all input schema: {'reddit'}
[2021-01-24 17:05:21,166] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/js/popper.min.js HTTP/1.1" 304 -
[2021-01-24 17:05:21,190] [DEBUG] [label_studio.project::update_derived_input_schema::319] Derived input schema: {'reddit'}
[2021-01-24 17:05:21,190] [DEBUG] [label_studio.project::update_derived_input_schema::320] Derived all input schema: {'reddit'}
[2021-01-24 17:05:21,215] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/semantic/semantic.min.js HTTP/1.1" 304 -
[2021-01-24 17:05:21,232] [DEBUG] [label_studio.project::update_derived_input_schema::319] Derived input schema: {'reddit'}
[2021-01-24 17:05:21,232] [DEBUG] [label_studio.project::update_derived_input_schema::320] Derived all input schema: {'reddit'}
[2021-01-24 17:05:21,235] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/js/tippy-bundle.umd.min.js HTTP/1.1" 304 -
[2021-01-24 17:05:21,237] [DEBUG] [label_studio.project::update_derived_output_schema::332] Derived output schema: {'from_name_to_name_type': set(), 'labels': defaultdict(<class 'set'>, {})}
[2021-01-24 17:05:21,237] [INFO] [label_studio.project::get_or_create::997] Get project "ner_project".
[2021-01-24 17:05:21,238] [DEBUG] [label_studio.project::update_derived_output_schema::332] Derived output schema: {'from_name_to_name_type': set(), 'labels': defaultdict(<class 'set'>, {})}
[2021-01-24 17:05:21,238] [INFO] [label_studio.project::get_or_create::997] Get project "ner_project".
[2021-01-24 17:05:21,239] [DEBUG] [label_studio.project::update_derived_output_schema::332] Derived output schema: {'from_name_to_name_type': set(), 'labels': defaultdict(<class 'set'>, {})}
[2021-01-24 17:05:21,239] [DEBUG] [label_studio.project::update_derived_output_schema::332] Derived output schema: {'from_name_to_name_type': set(), 'labels': defaultdict(<class 'set'>, {})}
[2021-01-24 17:05:21,241] [INFO] [label_studio.project::get_or_create::997] Get project "ner_project".
[2021-01-24 17:05:21,242] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /api/project/actions HTTP/1.1" 200 -
[2021-01-24 17:05:21,242] [INFO] [label_studio.project::get_or_create::997] Get project "ner_project".
[2021-01-24 17:05:21,245] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/js/js.cookie.js HTTP/1.1" 304 -
[2021-01-24 17:05:21,257] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/semantic/semantic.min.css HTTP/1.1" 304 -
[2021-01-24 17:05:21,262] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /api/project/columns HTTP/1.1" 200 -
[2021-01-24 17:05:21,264] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/js/helpers.js?v3 HTTP/1.1" 304 -
[2021-01-24 17:05:21,290] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /api/project/tabs HTTP/1.1" 200 -
[2021-01-24 17:05:21,292] [DEBUG] [label_studio.project::update_derived_output_schema::332] Derived output schema: {'from_name_to_name_type': set(), 'labels': defaultdict(<class 'set'>, {})}
[2021-01-24 17:05:21,301] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/editor/css/main.css HTTP/1.1" 304 -
[2021-01-24 17:05:21,302] [INFO] [label_studio.project::get_or_create::997] Get project "ner_project".
[2021-01-24 17:05:21,308] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/editor/js/main.js HTTP/1.1" 304 -
[2021-01-24 17:05:21,309] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/js/build/index.js?version= HTTP/1.1" 304 -
[2021-01-24 17:05:21,311] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/fonts/dosis/dosis.css HTTP/1.1" 304 -
[2021-01-24 17:05:21,312] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/css/main.css?v2 HTTP/1.1" 304 -
[2021-01-24 17:05:21,333] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/css/fontall.min.css HTTP/1.1" 304 -
[2021-01-24 17:05:21,336] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/css/reset.css HTTP/1.1" 304 -
[2021-01-24 17:05:21,337] [DEBUG] [label_studio.project::get_completions_ids::562] 8 completions found in completions
[2021-01-24 17:05:21,341] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /api/project HTTP/1.1" 200 -
[2021-01-24 17:05:21,342] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/js/jquery.min.js HTTP/1.1" 304 -
[2021-01-24 17:05:21,351] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/semantic/semantic.min.js HTTP/1.1" 304 -
[2021-01-24 17:05:21,356] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/js/js.cookie.js HTTP/1.1" 304 -
[2021-01-24 17:05:21,359] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/js/popper.min.js HTTP/1.1" 304 -
[2021-01-24 17:05:21,360] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/js/tippy-bundle.umd.min.js HTTP/1.1" 304 -
[2021-01-24 17:05:21,362] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/semantic/semantic.min.css HTTP/1.1" 304 -
[2021-01-24 17:05:21,365] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/js/helpers.js?v3 HTTP/1.1" 304 -
[2021-01-24 17:05:21,368] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/images/ls_logo.png HTTP/1.1" 304 -
[2021-01-24 17:05:21,369] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/images/ls_logo.png HTTP/1.1" 304 -
[2021-01-24 17:05:21,371] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/images/slack.png HTTP/1.1" 304 -
[2021-01-24 17:05:21,373] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /static/images/slack.png HTTP/1.1" 304 -
[2021-01-24 17:05:21,430] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Again and again and it never ends .. I was at home relaxing and receive a text  ( can you get me cocaine ) im like yes bus my dealer would only let me inside so for a friend they come pick me up and I go get it .. of course they tell me thank take a bump so I’m like okay yes just a bump then i’m on it .. after it’s like yo come chill with us im like damn free coke so I go and we start doing it and you know the rest.. end up fucked up back to the dealers crib now I buy for them and for me and we chase the damn dragon .. spent money for none cuz im back home its late I cant sleep and lost money -.- same damn thing every time !!!! I love it but I hate it !!!!!! does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,430] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] I’ve known many drug addicts in my time. Also known many alcoholics.  By far, the majority of the alcoholics were so much worse off than even the worst dope, benzo fiends, meth and crackheads I’ve met.

I’m not saying drug addicts can’t be bad too, but let me put it into perspective. For example, my best friend is an alcoholic and I am addicted to cocaine, Xanax and fentanyl analogs. When my best friend gets drunk he either becomes extremely hostile and angry over the most trivial things, or turns into a blubbering sob story mess constantly moping about how much his life sucks and everyone else has it easier than him.  When I get high I just focus on enjoying myself and feeling good. 

He also becomes a compulsive liar when he drinks, usually making up stories of things that didn’t actually happen to him to try and make you feel sorry for him and will start crying for the added dramatic effect. Or he’ll start going on and on about how his brother and my friend (also a drug addict) has started using again and is ruining his life despite the fact my friend has been clean for quite a while now. 

I’ve known many alcoholics like this who seem to drink just so they can feel sorry for themselves and gain attention from others and be selfish without thinking about it. I have never met an addict with this sort of problem and I know just as many addicts, if not more than I know alcoholics. 

Why does alcohol turn people into such pieces of shit? Not even Xanax does it and it’s got a pretty similar MOA in the brain.... does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,431] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] I have always been an upper, snow, e's, mdma and amphetamines mostly times while drinking.
Weed was a young thing but can't enjoy or even handle it now

Hard drugs are a stight no!

Am thinking of trying hallucinogenic I know MD and e can be classed, but I never got that side, just the stim side

Which sort would people recommend? does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,431] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Took 100mg followed by 40mg 45mins after the first dose. 

This was the most beautiful MDMA I’ve ever seen. It was literal crystal clear rocks, not shards or anything, which I identified preliminarily as mdma just from the crystal structure. I tested it of course with marquis and mandelin, which gave a very good reaction (straight to black) on both. Also, many friends who have taken it agree that it’s the best molly they’ve ever had.

I went into this experience expecting at least a good experience, and hoping for an amazing one. Unfortunately all I got were the negative effects. Jaw clenching, eye shaking, anxiety, nausea, etc. and I never had any kind of euphoria or openness or any of the characteristics of MDMA. However, I also didn’t have a comedown (although i don’t typically because I space out doses by 3 months).

The only thing I could think of that could affect it would be my 50mg trazodone prescription for insomnia and my 7.5mg adderall prescription for ADHD. I know trazodone interacts with molly, so I stopped it for a week before dosing (based on half life this should have been sufficient, and I also have an incredibly fast metabolism and virtually no body fat). I did take a single 7.5mg adderall the day before dosing, but not the day of.

Also, my girlfriend had a similar experience on the mdma, and she had also taken a 7.5mg adderall the day before. Everybody else who has tried it has had a great time and a perfectly typical response.

I know for sure that this was MDMA, and very pure MDMA at that. I don’t think the trazodone should have affected it, so I’m wondering if it was the adderall.

Does anybody have any knowledge or experience about whether or not the adderall could have dulled my roll so intensely? does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,431] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Would your eyes still constrict and seem normal if your in the sunlight after using any form of cocaine? Even though your pupils are dilated while inside. does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,431] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Is there any way to avoid the mdma hangover? I've read a few things like vitamin d helps but has anyone really had any success with is? 

Last time I had a mdma hangover I did mushrooms and I felt like it helped a ton, but... yeah I probably shouldn't work on shrooms so...

Any suggestions? does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,431] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] This is my first subreddit post so bear with me. About 12 hours ago I took 60mg of Vyvanse (capsule). I take it occasionally to get massive amounts of school work done, it really does help me stay focused on my work. Normally without it I can never get anything done and/or produce something shitty. I'm not saying that I have ADHD, rather I'm saying that it has improved the quality of my academic life. However, I normally get the common side effects like insomnia and decreased appetite, I also get numbness of the toes which I can remedy by keeping my feet in warm water for a little bit, but now I am getting those same symptoms (except numbness of toes) plus dizziness, heart palpitations (which I do get sometimes but rarely). I will also say that I am coming off of some sort of cold in which I had symptoms like dizziness, sore throat, and a massive headache, they mostly went away today so I felt like it would be okay to take.  I will say that I do not have a prescription for it,  don't take it often, and imo am not addicted to it. Am I freaking out over nothing? Have I overdosed and should I call 911? Or has the drug amplified the symptoms of my cold?

P.S.: I have taken an OTC sleep aide as well as as taken OTC Acetaminophen, Guaifenesin, and Phenylephrine which are all in the same pills. I have also followed the correct dosage for the OTC stuff.

Information: 22 yr male, 6'0", 240 lbs, (slightly overweight). No history of family illnesses/diseases such as: 

* kidney disease;
* [coronary artery disease](https://www.rxlist.com/script/main/art.asp?articlekey=10267) (clogged arteries);
* blood circulation problems in the hands or feet; or
* drug or alcohol addiction.
* depression, mental illness, bipolar disorder, psychosis, or suicidal thoughts or actions;

Got all of that from a website on Vyvanse

Source:[https://www.rxlist.com/vyvanse-drug/patient-images-side-effects.htm#nottake](https://www.rxlist.com/vyvanse-drug/patient-images-side-effects.htm#nottake)

Sorry again if I messed up at all, this is my first post! does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,432] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] I've been looking forward to trying Soma for weeks and it finally arrived the other day. There isn't much talk about it but I'd been reading people on here saying it's their favourite drug, that it was a really dramatic intense experience, so I waited until 8pm and took a 350mg pill on an empty stomach.

And... nothing. Well, a little sleepy but not much at all, certainly nothing like opiates or pregabalin or benzos. Just eyes watering and yawning a bit. So I took another half then ate something. Still nothing, so took another half, 700mg in total, which was more than I'd seen most people recommend for a first try. 

I got to sleep early but that was about it. Though I did feel shit the next day, like how I feel after a Xanax or valium sleep, all cotton mouth and like I hadn't really had any deep sleep, all irritable and easily depressed and and anxious. This was really annoying, to get a bad comedown despite barely feeling the drug. 

Now, it often takes me a while to work out a drug. It took me like half a dozen times before I started to really appreciate pregabalin, and now it's my favourite drug. Should I persist with Soma a few more times? I know its supposed to be great when combined with opiates or/and benzos but I don't really like mixing drugs. 

Could it be because I took pregabalin a few days prior? I take 300mg of it once a week, rarely touch benzos, and do about 180mg codeine once a week. Are these interactions going to affect my soma experience?

Interestingly, I had a similar thing with ghb last week. Took 2.5ml then another 2.5ml a couple of hours later. Didn't get much from it, bit wobbly and tired, crappy headache. Is this related to the lack of effect of soma on my system, like I've depleted my gaba b receptors or whatever? If anyone has any advice let me know. Thanks! does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,432] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Y'all is there nicotine in a wax weed pen? I got no clue. I got one for my birthday and I dont know if its addictive. HELP does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,432] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] She was slightly sluring like she was drunk but still functional and had decent motor skills. She was completely uninhibited and saying stupid shit though but I didn't smell alcohol or anything. This morning, she has no memory of our conversation at all. 

She claims to have drank a few beers but I don't believe her. does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,432] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] I know, I know I should be testing my pills but I was with two friends and I impulsively bought one. I’ve never tried ecstasy before but always wanted to. Now I’m not oblivious to how sketchy these supposedly xtc pills are on the streets so I kinda knew what I was getting into. 

Last night I took a shitty pressed playboy bunny pill with friends and popped it, swallowed right away. 30 minutes later I start getting shaky and feel more awake and alert. But I got no euphoria at all. I felt no emotion so immediately I knew this wasn’t mdma. My heart was 126 bpm when it kicked in (I have a heart rate app on my phone) and I smoked weed and started getting anxiety. During high school I took 60 mg adderall er with no prior experience and felt like shit. Was up all night and desperately wanted to sleep. Downers are much more my thing rather than stimulants because of my anxiety. But anyway, the pill felt almost identical to addys. 

We popped them at 630 pm and was up awake asf until 10 am the next day. I was chillin in my bed while my friend was talking to my other friend extremely fast and barely taking breathers. They seemed so happy and euphoric but I seemed to feel more depressed which kinda sucked. At 9 in the morning I took half a Xanax so I could sleep and we all slept for two hours. Does this sound like meth to y’all? The pills were $5 each too which I know is insanely cheap but to be fair he was advertising them as beans and not ecstasy. does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,432] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Hey guys, I have been using cocaine for about 2 years, and for some time of this I was a very heavy user (addict) doing it about 3-4 times a week. But I don't think it's that crazy. Anyway over the past year or so my memory has really gone to shit. I should probably ask an actual doctor but I don't know if its drug related? Or alcohol related.

I just don't remember things well. It's embarrassing meeting people for the first time only for them to say we've met before. Remembering nights out is a write off, this happens a lot. I went out a few days ago and apparently I was with a girl the whole night, I had no memory of this.

People will ask me to like recount something that happened and I don't really remember it.

I can't really remember much of being at school (only a few years ago). My short term &amp; long term memory is both really bad, it didn't use to be. My family &amp; friends have picked up on it and tell me my memory is shit.

Anyone else have this from cocaine or maybe alcohol? Might be completely unrelated, apologies for wasting your time if so. does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,432] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Washed down a vyvanse in the morning approximately 12 hours ago. Few hours after that drank an espresso. No problem. Few hours later I have some kratom. I have a heavy dab tolerance to I’ve been dabbing along side. No issues with heart rate or anything of the sort but I was interested in if this is bad for my blood pressure? To have all these in the same day? does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,432] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] (Clenbuterol*)

Small dose of amphetamine optional too.

I know its not going to be good for my cardiovascular health, but the effects of Clenbuterol (which I was losing to lost weight) were surprisingly enjoyable. For me, it raised my heart rate and resting metabolic rate (which is why it is used to lose weight) but also made me quite talkative, gave me a mood boost and excitable. Slightly more anxious, but at the same time excitable.

A small dose of amphetamine (20mg or less) enhanced this effect more, as did nicotine. does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,433] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] My most intense green out so far was a few months ago. I had a bunch of friends round, and we sat in the porch and passed a blunt. (I am and extreme lightweight, and at the time had no tolerance). I hit a bong twice and it hit the instant I exhaled - it was some dummy strong shit - then stupid me hit the blunt twice after. I then started to feel really sick, so I got up to walk outside and I went blind for 30 seconds, everything went black and there was a bunch of static lines going in all directions. According to my friends, my face literally went white, and then green and I threw up out on the grass. I had been drinking alcohol a bit and I was running on an empty stomach so it was the worst type of throw up, it was extremely acidic. After that I sat down and I felt great, I was high asf. does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,433] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Hi so I’m a lifeguard, 17(f) and currently at work super super anxious and sweating bullets. I took one 20mg XR adderall around 7:30 this morning before coming in at 8. 

Yesterday morning around 9am I took one 20mg XR vyvanse and felt perfectly fine, just more inspired than usual and more productive. That was my first time trying it. I ended up staying up until 5am so I’m running on two hours of sleep. Today is also my first time ever taking adderall. 

So far I’ve done every single chore on the cleaning list and even went as far as to cleaning and organizing the entire lifeguard office in under 30 minutes. If I sit still I feel really anxious and shaky. I’m assuming it’s because of sleep deprivation. What can I do to just chill out? does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,433] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] So I didn’t smoke at all for a little over a year. I’m on vacation so I took like two hits from a bowl 3 days ago. Then last night while I was drunk I guess I took quite a few hits (10-15) from my friends vape pen (thc of course) and was just curious if anyone could give me some heads up. I know the tips of drinking a lot of water/juice and exercising.

But I found out this morning from a phone call I’ll have a drug test early September.

I weight about 190 or so.

I know I feel like an idiot for smoking now but I was so drunk last night I really can’t remember doing it.

But obviously I’m done smoking for the duration I’m on the west coast here at home.

So yeah any guesses would be wonderful and I’m sorry this probably gets asked a fair bit but I found it hard to find answers on google that weren’t the extreme ones of like 30-45 days which is obviously more towards people that smoke often but I’ve abstained a long time from everything besides alcohol.

My friends were telling me a week maybe two tops. What do y’all think?

Edit: also I’ll be picking up a home drug test in a couple weeks to see for myself if I should be good. Honestly just anxious cause I’ve never been in this situation for the last 6 months I’ve been working I never had any problem with the drug tests but I’m on vacation for another like 10 days. Sorry again to be a bother with this question just freaking out a bit cause it’s a decent job and I know I screwed the pooch a bit on this one. I honestly don’t even drink very often and that’s the first time in a long time I’ve been blackout drunk. does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,434] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Hey guys just looking for a solution to this little dilemma. Whenever I loosen the cracker so that nitrous can fill the balloon I notice that a fair bit is escaping through the middle section of the cracker. I end up only filling the balloon maybe 50% at most at then end of the process. The balloon is definitely sealed on properly and I'm fairly sure I'm not loosening the cracker too much (although I cant be certain about that cause I'm new at doing this). I also watched a couple tutorials and they didn't really help too much. 

As previously mentioned I'm new as fuck to this and the reason I'm doing it is because I wanted to combo it with weed and mdma because apparently it's one hell of a combo. 

Any help is appreciated, thanks in advance. does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,434] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] I've popped 4 bars(8 mg of alprazolamum) of xanax and 300mg of Vyvanse over the last 24 hours, the questions is if I will be safe to drink about 400 ml of 10% ish alcohol, if not what amount(out of the mentioned 400ml) should I drink to get a nice buzz and not reach a danger zone. 

edit: I should clarify I took 0.5mg xanax first then 60mg of the Vyvanse then did so a few hours later and so on, I took a complete bar an hour ago and a 30mg pill.
I also got Quetiapine lying around if that somehow helps does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,434] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] So I just came across a smoke shop that has salvia for sale 5x-all the way up to 120. I’m a first time user but not to psychs at all. I’ve dabbled with lsd and shrooms, dmt in the past but never made it to salvia. I’m already set on 10 or 20x. Who can recommend a good dose or X amount. I’ve heard 5 is t really worth the buy. If any fellow users have any feed back much would be appreciated �� does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,434] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Stupid ass question but what drugs can I take other than ket if I can’t do serotonin drugs (risk of serotonin syndrome) and intense psychodelics  like acid (emotionally unstable)? Xans, ket and tbh idk, what else is there???? Don’t suggest heroin pls xx does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,434] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Hi. I went over a lot of reddit posts and websites, but most posts are about if it is safe when the dosage is low or is like years old. But what will happen when someone drinks alcohol and 6 months of prescribed benzodiazepine? That is about 180 pills, I'm not sure about the total mg, but it is 6 months worth... also to add in the bunch, to drink anti-nausea pills with the above? Will that lead to death?

And what can I do to help someone who is planning on it? does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,434] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] The other night, about 4 nights ago now I suppose I was in the market for some cocaine, me and a buddy were going to the casino and we wanted a little pick me up. Nobody had any blow, my friend D hit up his old boss as a last resort.  His boss, B, told us to come over real quick.  So we arrive and walk into his garage and he is TWEAKED. On the table was about a half oz of some primo glass, a couple lines ready to go, and a giant pookie. I decided to say fuck it, I needed a lil somethin to keep me going so we started smoking first. Mind you, this was the first time smoking glass for me. It was epic, the first toke gave me an immediate rush and we were all Jaw jackin and grabbing like crazy, before I knew it, us 3 had smoked 1.5 grams and we were feelin it. We put down the pipe and started doing lines for shits and giggles. Long story short we never made it to the casino, B had given me a couple points to sustain when we departed after 3 hours of heavy use.  I ended up back at Ds house smoking more and watching big booty bitches twerk in 4K for 6 hours before I left to go to work. I got out of work that afternoon and immediately started doing lines again.  Killed the bag that night and i haven’t slept or ate in 4 days does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,435] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] When I do amphetamines (usually snorting powder but sometimes drinking liquid) i tend to get quite a few ups and downs.

My amphetamine high usually last for about 7-9 hours (sometimes more). During this period of time I tend to experience 6-9ish times that I feel kinda ‘down’. I still have the adrenaline and sometimes also the ability to have deep conversations with someone, but I lack the ability to have this somewhat warm feeling. 

That warm feeling gets converted to a little but of nervousness and uncomfortableness. My thought pattern also kinda gets more pessimistic instead of optimistic and the range of activities that are interesting seem to decrease during my ‘down’ moments

During the first ~2 hours I dont really experience a ‘down’, but after the 2 hour mark I experience my first ‘down’ moment. That is about a few minutes long. After an hour and a half I experience a little bit of a longer ‘down’. The ‘down’ feeling is coming back faster and lasting a little longer each time, untill I no longer feel the effects of speed and have a little ‘dopamine hangover’ (aka some kind of mild depression)

Why do these downs happen? Do you guys experience them in the same way as me? does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,435] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] I’m going to a festival this weekend and will be taking mdma. I’m not a regular drug user but I’ve tried mdma, coke and k before. I haven’t done it in 2 years so I’m really anxious about my tolerance being really low. I’d usually take 1 or 1 and a half pill at a rave / festival however I throw up every time I take pills so I might try crystal mdma this time. Is it safer than pills? I like to do coke on special occasions when I’m drinking because I hate being sloppy drunk and coke makes me feel in control. I know my friends will be doing coke as well and I’ll find it hard to say no. 

Has anyone done both mdma and coke at the same time? Or mdma and ket? does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,435] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] This happened about 2 months ago. Me and my buddy were hanging out and somehow we ended up talking about cocaine. I knew he had hookups but I had never tried it. Cut to later that night, we split the cost of a gram. I did about a quarter of that in one line. 

Now keep in mind we got this from a guy who only sells in bulk and is known for having perfect pure stuff. My friend knows him super well though and is able to buy in small quantites.

So anyways, it felt really good. The thing was though it felt almost exactly the same as when I'm doing something I love like rock climbing or playing guitar. The same exact rush when you forget everything around you and have just pure focus.

I did enjoy that feeling, but I enjoy it a lot more when I know I'm doing something worthwhile. I haven't done it since. does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,435] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] Hello Reddit. I'm new here and I hope someone understands me or even help me. BTW my English is not the best ;). So, let's go:

It's the worst time of my life. The first time I smoked weed was 13. But I started doing it daily with 14/15. I also had experiences with other drugs in my young age. I never had an problem with it (except my addiction to weed, but I took it easy). I fell totally in love with drugs. I tried everything I got. But weed (and mdma) were my big love. When the psychedelics came... I had a lot of dmt experiences when I was 15 and even experienced something like a ego death, I was just completely gone. Ok. One day (when I was still 15) my friend and I tried lsd (maybe it was nbome, not sure. It tasted bitter, but maybe that was just the print/drawing on the blotter(which was gone when I checked in mirror)). First time I took 0,75 of a blotter. My friend took 1,25 and was completely gone. I didn't feel much, didn't even trip. The second time I took 1,5 blotters and my friend 0,5. He was tripping hard. But I didn't feel much until I smoked weed. I was tripping more or less (really weird feelings). After like 4 hours it stopped. Some weeks (or months?) later I wanted to do xtc again. I took xtc, coke, speed (which was maybe laced with meth, stupid dealer) and weed. When it got bright outside I started tripping. Also I didn't feel the xtc, my friend did (before I was feeling it always, not that time). It was like I took lsd, but I didn't. I tripped the whole day. It was a really weird trip. I didn't see that coming. When it was already dark again, I smoked a bowl and told my friend I'm glad I'm going to wake up tomorrow and the trip would be over. HAHAHA, nopee. I was still tripping. It lessened within the next day. (Self)Diagnosis: hppd. Also experiencing non stop dissociation (dp,dr). I thought I'm going crazy. But this wasn't a reason to stop smoking weed and snorting speed. Yeah, every weed trip since then was a cruel horror anxiety trip. Speed was ok, sometimes. Within time I experienced a feeling, like my head were split or something. Like I wasn't alone in my head. I stopped speed immediately. The feeling lessened, but I believed I was crazy. I believed I was psychotic. But the split head feeling was gone. I always told myself that I'm now psychotic and was getting panic attacks every day. I was non stop stressed and panicking. I totally believed that I'm crazy/psychotic now. I still believe. Every day since months. And somehow that manifested. I was getting symptoms that I never had before, I see them as psychotic as well. I'm non stop unsure, I believe I'm psychotic but I'm still not sure. I'm so tired. Theres also Spiritual stuff that I see as psychotic. It feels like even existing is psychotic. I see everything as psychotic. Like everything is made of psychosis. IDK how to describe that. I just want it to stop. I want my old life back. I loved weed so much and I miss it so much. It's almost a year now I have hppd/dissociation. I'm still not over it. I don't want to be over it. Weed was something like my best friend. I would rather kill myself than not being able to smoke anymore in my life. It's like I lost my self, or the biggest part of myself. Drugs where the biggest part of myself. I was drugs. I didnt have any other Hobbys, not really. Drugs are as important as family and friends to me. I know it sounds crazy. I miss it so much that I want to die. Is there anyone out there who feels same? If that sounds cold hearted (because of weed is important as family and stuff) I'm sorry. I'm actually an empath. I also love people. I'm also scared of healing my inner child, maybe I just love drugs because of any trauma or whatever. I would somehow not do anything that makes me not want to take drugs. My dream is it to be able to smoke again, I would really want to smoke with friends and listen to vaporwave. I feel so done, also because I feel hurt by other humans (so it's not only because of drugs, but mainly). I see no end. Ok it's getting little weird now because I'm tired af and dissociated af. Im so dissociated, I want reality back :((( hope it all doesn't sound too weird or crazy. And sorry, when I start writing I cant stop, I must explain every detail (which I didn't even do here lol). Hope you all are fine... Enjoy and respect what you have, I should really have estimate it more... So, guess that's it for now. does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,435] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] I took lsd for the first time a few months ago, and i got the worst fking trip.

I got like a weird phobia, i would get light headed, start to sweat and become extremly scared when anyone talked about happiness, being comfortable or being horny. I seriously felt like i would faint. I dont even know why that scared me like that.

I just feelt like emtions was all an illusion (like they pretty much are) and that they doesnt mean shit. I just wanted to get rid of them all because they scared me. 

This lasted for like 2-4 weeks only tho.

Its hard to explain how i feelt but i hope you understand what i meant. does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,435] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49] How important is it to get test kits? I have the one for lsd but that’s it. Is it necessary to grab the other kinds? Which ones are, I don’t want to say worth it because you should test your shit but, which ones are necessary? Also what about purity tests for cocaine or mdma? does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,436] [WARNING] [label_studio.utils.uri_resolver::_get_uri_via_regex::49]  Hi, some questions to those of you who have a clue about the chemistry around amphetamines.  

I have tried to read up on it a little, and after all I understand, a relatively pure amphetamine should only smell petty chemical (ideally) and be white + dissolve easily in water. It does not guarantee against buffing, but surely the worst of the bees from washing + synthesis should be reduced a good deal? I probably have a naive interpretation, but here comes the point, is it extra harmful to take this amphetamine that smells like acetone / flowers? I tasted a tiny amount, \~ 10mg and immediately got an itchy discomfort in my throat and headaches that I haven't received from amphes that smell less. Of course, there may be concern about the smell that gave a kind of nocebo effect.  

Appreciate well informed answers, not speculation, please! does not match uri regex [\s\'\"]?(?P<uri>(?P<storage>s3|gs)://([^/\s]+)/(.*?[^/\s]+/?[^\s\'\">]+))[\s\'\"]?
[2021-01-24 17:05:21,437] [INFO] [werkzeug::_log::122] 127.0.0.1 - - [24/Jan/2021 17:05:21] "GET /api/project/tabs/1/tasks?page=1&page_size=30 HTTP/1.1" 200 -
JINHXu commented 3 years ago

And in GUI:

Project loading error
Expected object or value
Traceback
Traceback (most recent call last):
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/utils/misc.py", line 93, in exception_f
    return f(*args, **kwargs)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/blueprint.py", line 96, in prepare_globals
    g.project = project_get_or_create()
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/blueprint.py", line 187, in project_get_or_create
    input_args, context={'multi_session': False})
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/project.py", line 996, in get_or_create
    project = cls.get(project_name, args, context)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/project.py", line 979, in get
    project = cls._load_from_dir(project_dir, project_name, args, context)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/project.py", line 967, in _load_from_dir
    return cls(config, project_name, context=context, root_dir=args.root_dir)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/project.py", line 80, in __init__
    self.create_storages()
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/project.py", line 165, in create_storages
    **source.get('params', {}))
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/storage/base.py", line 37, in create_storage
    return _storage[storage_type](name=name, path=path, project_path=project_path, project=project, **kwargs)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/storage/filesystem.py", line 215, in __init__
    **kwargs
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/storage/base.py", line 201, in __init__
    self._load_ids()
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/storage/base.py", line 242, in _load_ids
    self._ids_keys_map = json_load(self._ids_file, int_keys=True)
  File "/Users/xujinghua/spc/lib/python3.7/site-packages/label_studio/utils/io.py", line 119, in json_load
    data = json.load(f)
ValueError: Expected object or value
makseq commented 3 years ago

I think you need to recreate the project from scratch and try again. There is some strange error, it seems you modified some project files by hands..

JINHXu commented 3 years ago

I tried recreating about three times, still does not work :( I have not touched any of those project files.

JINHXu commented 3 years ago

these are the files btw Screenshot 2021-01-24 at 18 06 14

JINHXu commented 3 years ago

or should I maybe wait longer for the backend to get started?

makseq commented 3 years ago

Could you send me your project folder and your ml backend folder, I'll check it? As zip archive

JINHXu commented 3 years ago

Sure! It is just sent to you by email. Thanks so much for your help!

makseq commented 3 years ago

Okay I'll be waiting for you.

On Sun, Jan 24, 2021, 14:39 xujinghua notifications@github.com wrote:

Sure! It is just sent to you by email. Thanks so much for your help!

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/heartexlabs/label-studio/issues/565#issuecomment-766333647, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAD2QFC2B4S6RA2CXR4RU4DS3QBGHANCNFSM4WMSRNKA .

JINHXu commented 3 years ago

I just sent it to you, the mail subject goes by "Label Studio issue #565, project folders".

makseq commented 3 years ago

Hm.. did you use makseq@gmail.com? Can't see any emails from you..

JINHXu commented 3 years ago

Sent for sure, maybe it is in your spam? But anyway, let me send it again :D Screenshot 2021-01-24 at 20 48 53

makseq commented 3 years ago

@JINHXu I've checked your project, everything with model connection works fine. Watch video:

https://user-images.githubusercontent.com/501780/105767334-00d50800-5f6c-11eb-9c7b-fd7e5e8b560e.mp4

JINHXu commented 3 years ago

Hi Max,

Many thanks for this video! But the en_cor_web model did not cause the issue, I have this model downloaded in my local machine. Yesterday I gave it a couple of more tries on other networks, and it worked... As a turns our you are right, it was indeed a connection issue. When you first mentioned this might have been a connection problem last week, I actually tried on two different networks but neither worked, but it was really odd when I last tried yesterday morning on a third network, it just worked... Really sorry for having dragged you into this mess for a week and it turns out the problem was just the network connection! I super appreciate all your help!

Many many thanks again! Jinghua

makseq commented 3 years ago

@JINHXu Don't worry about it. Everyone has been in such situation :smile: