Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- venv) [qq88@qq88-pc fastai-v3]$ python app/server.py serve
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarning: source code of class 'torch.nn.modules.loss.CrossEntropyLoss' has changed. you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarning: source code of class 'torch.nn.modules.container.Sequential' has changed. you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarning: source code of class 'torch.nn.modules.conv.Conv2d' has changed. you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarning: source code of class 'torch.nn.modules.batchnorm.BatchNorm2d' has changed. you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarning: source code of class 'torch.nn.modules.activation.ReLU' has changed. you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarning: source code of class 'torch.nn.modules.pooling.MaxPool2d' has changed. you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarning: source code of class 'torchvision.models.resnet.BasicBlock' has changed. you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarning: source code of class 'fastai.layers.AdaptiveConcatPool2d' has changed. you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarning: source code of class 'torch.nn.modules.pooling.AdaptiveAvgPool2d' has changed. you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarning: source code of class 'torch.nn.modules.pooling.AdaptiveMaxPool2d' has changed. you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarning: source code of class 'fastai.layers.Flatten' has changed. you can retrieve the original source code by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the changes.
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarni by accessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to re
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarnicessing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert t
- warnings.warn(msg, SourceChangeWarning)
- /home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/torch/serialization.py:593: SourceChangeWarnissing the object's source attribute or set `torch.nn.Module.dump_patches = True` and use the patch tool to revert the
- warnings.warn(msg, SourceChangeWarning)
- Traceback (most recent call last):
- File "app/server.py", line 69, in <module>
- uvicorn.run(app=app, host='0.0.0.0', port=5000, log_level="info")
- File "/home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/uvicorn/main.py", line 278, in run
- server.run()
- File "/home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/uvicorn/main.py", line 303, in run
- self.config.setup_event_loop()
- File "/home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/uvicorn/config.py", line 214, in setu
- loop_setup()
- File "/home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/uvicorn/loops/auto.py", line 3, in au
- import uvloop
- File "/home/qq88/python-virtual-environments/venv/lib/python3.8/site-packages/uvloop/__init__.py", line 7, in <modu
- from .loop import Loop as __BaseLoop # NOQA
- File "uvloop/includes/stdlib.pxi", line 114, in init uvloop.loop
- AttributeError: module 'sys' has no attribute 'set_coroutine_wrapper'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement