Comments (1)
streamlit run app_web.py
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://192.168.1.70:8501
A new version of Streamlit is available.
See what's new at https://discuss.streamlit.io/c/announcements
Enter the following command to upgrade:
$ pip install streamlit --upgrade
C:_N\Anaconda3\envs\myenv\lib\site-packages\torch\functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\cb\pytorch_1000000000000\work\aten\src\ATen\native\TensorShape.cpp:3484.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
2023-04-23 02:04:04.123 Uncaught app exception
Traceback (most recent call last):
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 589, in get_or_create_cached_value
return_value = _read_from_cache(
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 349, in _read_from_cache
raise e
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 334, in _read_from_cache
return _read_from_mem_cache(
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 252, in _read_from_mem_cache
raise CacheKeyNotFoundError("Key not found in mem cache")
streamlit.runtime.legacy_caching.caching.CacheKeyNotFoundError: Key not found in mem cache
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 563, in _run_script
exec(code, module.dict)
File "C:_N\simswap-inference-pytorch-main\app_web.py", line 163, in
model = load_model(config)
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 623, in wrapped_func
return get_or_create_cached_value()
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 607, in get_or_create_cached_value
return_value = non_optional_func(*args, **kwargs)
File "C:_N\simswap-inference-pytorch-main\app_web.py", line 115, in load_model
return SimSwap(
File "C:_n\simswap-inference-pytorch-main\src\simswap.py", line 42, in init
self.set_parameters(config)
File "C:_n\simswap-inference-pytorch-main\src\simswap.py", line 118, in set_parameters
self.set_smooth_mask_kernel_size(config.smooth_mask_kernel_size)
File "C:_n\simswap-inference-pytorch-main\src\simswap.py", line 169, in set_smooth_mask_kernel_size
self.re_initialize_soft_mask()
File "C:_n\simswap-inference-pytorch-main\src\simswap.py", line 160, in re_initialize_soft_mask
self.smooth_mask = SoftErosion(kernel_size=self.smooth_mask_kernel_size,
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\torch\nn\modules\module.py", line 1145, in to
return self._apply(convert)
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\torch\nn\modules\module.py", line 844, in _apply
self.buffers[key] = fn(buf)
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\torch\nn\modules\module.py", line 1143, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\torch\cuda_init.py", line 239, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
2023-04-23 02:04:08.845 Uncaught app exception
Traceback (most recent call last):
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 589, in get_or_create_cached_value
return_value = _read_from_cache(
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 349, in _read_from_cache
raise e
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 334, in _read_from_cache
return _read_from_mem_cache(
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 252, in _read_from_mem_cache
raise CacheKeyNotFoundError("Key not found in mem cache")
streamlit.runtime.legacy_caching.caching.CacheKeyNotFoundError: Key not found in mem cache
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 563, in _run_script
exec(code, module.dict)
File "C:_N\simswap-inference-pytorch-main\app_web.py", line 163, in
model = load_model(config)
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 623, in wrapped_func
return get_or_create_cached_value()
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\streamlit\runtime\legacy_caching\caching.py", line 607, in get_or_create_cached_value
return_value = non_optional_func(*args, **kwargs)
File "C:_N\simswap-inference-pytorch-main\app_web.py", line 115, in load_model
return SimSwap(
File "C:_n\simswap-inference-pytorch-main\src\simswap.py", line 42, in init
self.set_parameters(config)
File "C:_n\simswap-inference-pytorch-main\src\simswap.py", line 118, in set_parameters
self.set_smooth_mask_kernel_size(config.smooth_mask_kernel_size)
File "C:_n\simswap-inference-pytorch-main\src\simswap.py", line 169, in set_smooth_mask_kernel_size
self.re_initialize_soft_mask()
File "C:_n\simswap-inference-pytorch-main\src\simswap.py", line 160, in re_initialize_soft_mask
self.smooth_mask = SoftErosion(kernel_size=self.smooth_mask_kernel_size,
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\torch\nn\modules\module.py", line 1145, in to
return self._apply(convert)
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\torch\nn\modules\module.py", line 844, in _apply
self.buffers[key] = fn(buf)
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\torch\nn\modules\module.py", line 1143, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
File "C:_N\Anaconda3\envs\myenv\lib\site-packages\torch\cuda_init.py", line 239, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
from simswap-inference-pytorch.
Related Issues (20)
- cloud gpu HOT 1
- ашду onnxruntime_pybind11_state.pyd addresses the certain local files:
- GPU not used in windows 11 HOT 1
- Error executing job with overrides: HOT 4
- I'm having a problem with overlapping faces. HOT 3
- I haven't been able to match the faces in the Multispecific folder. HOT 1
- GFPGAN Model and multispecific HOT 2
- For improve gpu utilization HOT 1
- Torch not compiled with CUDA enabled HOT 2
- Anyway to remove 'Deepfake' watermark? HOT 7
- Feature: GIF support
- Help HOT 4
- Only cpu! HOT 3
- How to do a batch inference?
- 如何提高推理速度?我尝试加入多线程但是不生效
- Always error when video finishing compile image, Hydra. HOT 1
- pipeline devices
- Error trying 512 simswap. loading state_dict
- does it work with the latest simswap training model ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simswap-inference-pytorch.